Home
last modified time | relevance | path

Searched refs:ToRemove (Results 1 – 22 of 22) sorted by relevance

/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceGlobalVars.cpp42 DenseSet<Constant *> ToRemove; in extractGVsFromModule() local
45 ToRemove.insert(&GV); in extractGVsFromModule()
49 [&ToRemove](Constant *C) { return ToRemove.count(C); }); in extractGVsFromModule()
51 for (auto *GV : ToRemove) { in extractGVsFromModule()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMOptimizeBarriersPass.cpp55 std::vector<MachineInstr *> ToRemove; in runOnMachineFunction() local
72 ToRemove.push_back(&MI); in runOnMachineFunction()
92 for (auto *MI : ToRemove) { in runOnMachineFunction()
DARMLowOverheadLoops.cpp381 SmallPtrSet<MachineInstr *, 4> ToRemove; member
547 InstSet &ToRemove, InstSet &Ignore) { in INITIALIZE_PASS()
595 ToRemove.insert(Uses.begin(), Uses.end()); in INITIALIZE_PASS()
604 ToRemove.insert(Killed.begin(), Killed.end()); in INITIALIZE_PASS()
799 ToRemove.insert(ElementChain.begin(), ElementChain.end()); in ValidateTailPredicate()
814 TryRemove(Def, RDA, ToRemove, Ignore); in ValidateTailPredicate()
1545 if (!TryRemove(Def, *RDA, LoLoop.ToRemove, Killed)) in IterationCountDCE()
1580 LoLoop.ToRemove.insert(Start); in ExpandLoopStart()
1615 LoLoop.ToRemove.insert(TheVCMP); in ConvertVPTBlocks()
1677 LoLoop.ToRemove.insert(VPST); in ConvertVPTBlocks()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp90 SmallVector<Instruction *, 4> ToRemove; in runNVVMReflect() local
176 ToRemove.push_back(Call); in runNVVMReflect()
179 for (Instruction *I : ToRemove) in runNVVMReflect()
182 return ToRemove.size() > 0; in runNVVMReflect()
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp139 SmallVector<const PHINode *, 8> ToRemove; in getPromotablePHINodes() local
154 ToRemove.push_back(P); in getPromotablePHINodes()
162 while (!ToRemove.empty()) { in getPromotablePHINodes()
163 for (auto &User : ToRemove) in getPromotablePHINodes()
165 ToRemove.clear(); in getPromotablePHINodes()
173 ToRemove.push_back(P); in getPromotablePHINodes()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
DDbgEntityHistoryCalculator.cpp133 SmallVector<EntryIndex, 4> ToRemove; in trimLocationRanges() local
172 ToRemove.clear(); in trimLocationRanges()
211 ToRemove.push_back(StartIndex); in trimLocationRanges()
220 if (ToRemove.empty()) in trimLocationRanges()
226 ToRemove.push_back(i); in trimLocationRanges()
228 llvm::sort(ToRemove); in trimLocationRanges()
235 auto ToRemoveItr = ToRemove.begin(); in trimLocationRanges()
239 if (ToRemoveItr != ToRemove.end() && *ToRemoveItr == EntryIdx) { in trimLocationRanges()
254 for (EntryIndex Idx : llvm::reverse(ToRemove)) in trimLocationRanges()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DSIPreEmitPeephole.cpp201 SmallVector<MachineInstr *, 4> ToRemove; in optimizeVccBranch() local
206 ToRemove.push_back(&Term); in optimizeVccBranch()
212 for (auto *BranchMI : ToRemove) { in optimizeVccBranch()
251 SmallVector<MachineInstr *, 4> ToRemove; in optimizeSetGPR() local
268 ToRemove.push_back(&*I); in optimizeSetGPR()
290 for (MachineInstr *RI : ToRemove) in optimizeSetGPR()
DAMDGPUExportClustering.cpp83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies() local
88 ToRemove.push_back(Pred); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DReachingDefAnalysis.h224 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove) const;
229 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove,
267 InstSet &ToRemove, InstSet &Ignore) const;
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DReachingDefAnalysis.cpp606 InstSet &ToRemove) const { in isSafeToRemove()
609 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove()
613 ReachingDefAnalysis::isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, in isSafeToRemove() argument
616 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove()
621 InstSet &ToRemove, InstSet &Ignore) const { in isSafeToRemove() argument
639 if (Ignore.count(I) || ToRemove.count(I)) in isSafeToRemove()
641 if (!isSafeToRemove(I, Visited, ToRemove, Ignore)) in isSafeToRemove()
645 ToRemove.insert(MI); in isSafeToRemove()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DConstraintElimination.cpp865 SmallVectorImpl<Instruction *> &ToRemove) { in replaceSubOverflowUses() argument
883 ToRemove.push_back(I); in replaceSubOverflowUses()
898 SmallVectorImpl<Instruction *> &ToRemove) { in tryToSimplifyOverflowMath() argument
919 Changed = replaceSubOverflowUses(II, A, B, ToRemove); in tryToSimplifyOverflowMath()
969 SmallVector<Instruction *> ToRemove; in eliminateConstraints() local
1013 Changed |= tryToSimplifyOverflowMath(II, Info, ToRemove); in eliminateConstraints()
1050 for (Instruction *I : ToRemove) in eliminateConstraints()
DRewriteStatepointsForGC.cpp992 SmallVector<Value *> ToRemove; in findBasePointer() local
994 ToRemove.clear(); in findBasePointer()
1015 ToRemove.push_back(BDV); in findBasePointer()
1017 for (Value *V : ToRemove) { in findBasePointer()
1022 } while (!ToRemove.empty()); in findBasePointer()
DLowerMatrixIntrinsics.cpp443 SmallVector<Instruction *, 16> ToRemove; member in __anon70420db30111::LowerMatrixIntrinsics
1024 for (auto *Inst : reverse(ToRemove)) { in Visit()
1303 ToRemove.push_back(Inst); in finalizeLowering()
1708 ToRemove.push_back(cast<Instruction>(Transpose)); in LowerMatrixMultiplyFused()
DJumpThreading.cpp3095 SmallVector<Instruction *, 4> ToRemove; in threadGuard() local
3098 ToRemove.push_back(&*BI); in threadGuard()
3103 for (auto *Inst : reverse(ToRemove)) { in threadGuard()
/openbsd/src/gnu/llvm/llvm/utils/TableGen/
DGICombinerEmitter.cpp254 for (GIMatchDagEdge *ToRemove : EdgesToRemove) in reorientToRoots()
255 EdgesRemaining.erase(ToRemove); in reorientToRoots()
266 for (GIMatchDagEdge *ToRemove : EdgesToRemove) in reorientToRoots()
267 EdgesRemaining.erase(ToRemove); in reorientToRoots()
/openbsd/src/gnu/llvm/llvm/tools/llvm-objcopy/
DObjcopyOptions.cpp842 if (Error E = Config.ToRemove.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
1211 cantFail(Config.ToRemove.addMatcher(NameOrPattern::create( in parseBitcodeStripOptions()
1213 cantFail(Config.ToRemove.addMatcher(NameOrPattern::create( in parseBitcodeStripOptions()
1215 cantFail(Config.ToRemove.addMatcher(NameOrPattern::create( in parseBitcodeStripOptions()
1217 cantFail(Config.ToRemove.addMatcher(NameOrPattern::create( in parseBitcodeStripOptions()
1219 cantFail(Config.ToRemove.addMatcher(NameOrPattern::create( in parseBitcodeStripOptions()
1313 if (Error E = Config.ToRemove.addMatcher(NameOrPattern::create( in parseStripOptions()
/openbsd/src/gnu/llvm/llvm/tools/bugpoint/
DCrashDebugger.cpp269 std::vector<GlobalValue *> ToRemove; in TestFuncs() local
289 ToRemove.push_back(&Alias); in TestFuncs()
297 ToRemove.push_back(&I); in TestFuncs()
301 for (auto *F : ToRemove) { in TestFuncs()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DVPlanTransforms.cpp425 SmallVector<VPRecipeBase *> ToRemove; in optimizeInductions() local
DLoopVectorize.cpp6012 for (Instruction *ToRemove : List) in calculateRegisterUsage()
6013 OpenIntervals.erase(ToRemove); in calculateRegisterUsage()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DIROutliner.cpp2034 SmallVector<Value *, 4> ToRemove; in analyzeAndPruneOutputBlocks() local
2044 ToRemove.push_back(RetValueForBB); in analyzeAndPruneOutputBlocks()
2054 for (Value *V : ToRemove) in analyzeAndPruneOutputBlocks()
DAttributorAttributes.cpp924 AAPointerInfo::RangeList ToRemove; in addAccess() local
925 AAPointerInfo::RangeList::set_difference(ExistingRanges, NewRanges, ToRemove); in addAccess()
927 if (ToRemove.size()) in addAccess()
931 for (auto Key : ToRemove) { in addAccess()
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonConstPropagation.cpp1026 SmallVector<MachineBasicBlock*,2> ToRemove; in rewrite() local
1029 ToRemove.push_back(const_cast<MachineBasicBlock*>(SB)); in rewrite()
1032 for (MachineBasicBlock *MBB : ToRemove) in rewrite()