/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 140 SetOfInstructions &ToRemove); 255 SetOfInstructions ToRemove; in propagateSignExtension() local 264 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension() 292 ToRemove.insert(Inst); in propagateSignExtension() 349 ToRemove.insert(SExt); in propagateSignExtension() 357 if (!ToRemove.count(SExt) && in propagateSignExtension() 362 ToRemove.insert(SExt); in propagateSignExtension() 368 mergeSExts(ValToSExtendedUses, ToRemove); in propagateSignExtension() 371 for (Instruction *I: ToRemove) in propagateSignExtension() 377 SetOfInstructions &ToRemove) { in mergeSExts() argument [all …]
|
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | Object.cpp | 41 function_ref<Expected<bool>(const Symbol &)> ToRemove) { in removeSymbols() argument 44 [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols() 45 Expected<bool> ShouldRemove = ToRemove(Sym); in removeSymbols() 98 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() argument 107 [ToRemove, &RemovedSections](const Section &Sec) { in removeSections() 108 bool Remove = ToRemove(Sec); in removeSections() 130 ToRemove = RemoveAssociated; in removeSections()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 87 SmallVector<Instruction *, 4> ToRemove; in runOnFunction() local 174 ToRemove.push_back(Call); in runOnFunction() 177 for (Instruction *I : ToRemove) in runOnFunction() 180 return ToRemove.size() > 0; in runOnFunction()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 87 SmallVector<Instruction *, 4> ToRemove; in runOnFunction() local 174 ToRemove.push_back(Call); in runOnFunction() 177 for (Instruction *I : ToRemove) in runOnFunction() 180 return ToRemove.size() > 0; in runOnFunction()
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DbgEntityHistoryCalculator.cpp | 150 SmallVector<EntryIndex, 4> ToRemove; in trimLocationRanges() local 189 ToRemove.clear(); in trimLocationRanges() 228 ToRemove.push_back(StartIndex); in trimLocationRanges() 237 if (ToRemove.empty()) in trimLocationRanges() 243 ToRemove.push_back(i); in trimLocationRanges() 245 std::sort(ToRemove.begin(), ToRemove.end()); in trimLocationRanges() 252 auto ToRemoveItr = ToRemove.begin(); in trimLocationRanges() 256 if (ToRemoveItr != ToRemove.end() && *ToRemoveItr == EntryIdx) { in trimLocationRanges() 271 for (auto Itr = ToRemove.rbegin(), End = ToRemove.rend(); Itr != End; ++Itr) in trimLocationRanges()
|
/external/llvm/lib/Target/ARM/ |
D | ARMOptimizeBarriersPass.cpp | 58 std::vector<MachineInstr *> ToRemove; in runOnMachineFunction() local 75 ToRemove.push_back(&MI); in runOnMachineFunction() 94 for (auto MI : ToRemove) { in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMOptimizeBarriersPass.cpp | 55 std::vector<MachineInstr *> ToRemove; in runOnMachineFunction() local 72 ToRemove.push_back(&MI); in runOnMachineFunction() 92 for (auto MI : ToRemove) { in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMOptimizeBarriersPass.cpp | 55 std::vector<MachineInstr *> ToRemove; in runOnMachineFunction() local 72 ToRemove.push_back(&MI); in runOnMachineFunction() 92 for (auto MI : ToRemove) { in runOnMachineFunction()
|
D | ARMLowOverheadLoops.cpp | 369 SmallPtrSet<MachineInstr*, 4> ToRemove; member 531 InstSet &ToRemove, InstSet &Ignore) { in INITIALIZE_PASS() 579 ToRemove.insert(Uses.begin(), Uses.end()); in INITIALIZE_PASS() 588 ToRemove.insert(Killed.begin(), Killed.end()); in INITIALIZE_PASS() 787 ToRemove.insert(ElementChain.begin(), ElementChain.end()); in ValidateTailPredicate() 1060 InstSet &ToRemove) { in Validate() argument 1080 ToRemove)) { in Validate() 1396 if (!TryRemove(Def, *RDA, LoLoop.ToRemove, Killed)) in IterationCountDCE() 1420 LoLoop.ToRemove.insert(Start); in ExpandLoopStart() 1455 LoLoop.ToRemove.insert(TheVCMP); in ConvertVPTBlocks() [all …]
|
/external/llvm-project/llvm/tools/llvm-reduce/deltas/ |
D | ReduceGlobalVars.cpp | 32 std::vector<GlobalVariable *> ToRemove; in extractGVsFromModule() local 41 ToRemove.push_back(&GV); in extractGVsFromModule() 53 for (auto *GV : ToRemove) in extractGVsFromModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 137 SmallVector<const PHINode *, 8> ToRemove; in getPromotablePHINodes() local 152 ToRemove.push_back(P); in getPromotablePHINodes() 160 while (!ToRemove.empty()) { in getPromotablePHINodes() 161 for (auto &User : ToRemove) in getPromotablePHINodes() 163 ToRemove.clear(); in getPromotablePHINodes() 171 ToRemove.push_back(P); in getPromotablePHINodes()
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | Object.cpp | 28 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols() argument 30 std::remove_if(std::begin(Symbols), std::end(Symbols), ToRemove), in removeSymbols() 60 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands() argument 63 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() 71 function_ref<bool(const std::unique_ptr<Section> &)> ToRemove) { in removeSections() argument 77 [&](const std::unique_ptr<Section> &Sec) { return !ToRemove(Sec); }); in removeSections()
|
D | Object.h | 151 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove); 337 removeSections(function_ref<bool(const std::unique_ptr<Section> &)> ToRemove); 339 Error removeLoadCommands(function_ref<bool(const LoadCommand &)> ToRemove);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 121 SmallVector<const PHINode *, 8> ToRemove; in getPromotablePHINodes() local 136 ToRemove.push_back(P); in getPromotablePHINodes() 144 while (!ToRemove.empty()) { in getPromotablePHINodes() 145 for (auto &User : ToRemove) in getPromotablePHINodes() 147 ToRemove.clear(); in getPromotablePHINodes() 155 ToRemove.push_back(P); in getPromotablePHINodes()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 140 SmallVector<const PHINode *, 8> ToRemove; in getPromotablePHINodes() local 155 ToRemove.push_back(P); in getPromotablePHINodes() 163 while (!ToRemove.empty()) { in getPromotablePHINodes() 164 for (auto &User : ToRemove) in getPromotablePHINodes() 166 ToRemove.clear(); in getPromotablePHINodes() 174 ToRemove.push_back(P); in getPromotablePHINodes()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 127 SmallVector<Instruction *, 4> ToRemove; in runOnFunction() local 213 ToRemove.push_back(Call); in runOnFunction() 216 for (Instruction *I : ToRemove) in runOnFunction() 219 return ToRemove.size() > 0; in runOnFunction()
|
/external/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
D | Object.cpp | 27 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() argument 30 std::remove_if(std::begin(Sections), std::end(Sections), ToRemove), in removeSections()
|
D | Object.h | 37 void removeSections(function_ref<bool(const Section &)> ToRemove);
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIPreEmitPeephole.cpp | 167 SmallVector<MachineInstr *, 4> ToRemove; in optimizeVccBranch() local 172 ToRemove.push_back(&Term); in optimizeVccBranch() 178 for (auto BranchMI : ToRemove) { in optimizeVccBranch() 217 SmallVector<MachineInstr *, 4> ToRemove; in optimizeSetGPR() local 231 ToRemove.push_back(&*I); in optimizeSetGPR() 255 for (MachineInstr *RI : ToRemove) in optimizeSetGPR()
|
D | AMDGPUExportClustering.cpp | 83 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies() local 88 ToRemove.push_back(Pred); in removeExportDependencies() 102 for (SDep Pred : ToRemove) in removeExportDependencies()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ReachingDefAnalysis.h | 224 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove) const; 229 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, 267 InstSet &ToRemove, InstSet &Ignore) const;
|
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | Object.cpp | 753 bool AllowBrokenLinks, function_ref<bool(const SectionBase *)> ToRemove) { in removeSectionReferences() argument 754 if (ToRemove(SectionIndexTable)) in removeSectionReferences() 756 if (ToRemove(SymbolNames)) { in removeSectionReferences() 766 [ToRemove](const Symbol &Sym) { return ToRemove(Sym.DefinedIn); }); in removeSectionReferences() 779 function_ref<bool(const Symbol &)> ToRemove) { in removeSymbols() argument 782 [ToRemove](const SymPtr &Sym) { return ToRemove(*Sym); }), in removeSymbols() 897 bool AllowBrokenLinks, function_ref<bool(const SectionBase *)> ToRemove) { in removeSectionReferences() argument 898 if (ToRemove(Symbols)) { in removeSectionReferences() 910 !ToRemove(R.RelocSymbol->DefinedIn)) in removeSectionReferences() 999 function_ref<bool(const Symbol &)> ToRemove) { in removeSymbols() argument [all …]
|
D | Object.h | 422 function_ref<bool(const SectionBase *)> ToRemove); 423 virtual Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove); 490 function_ref<bool(const SectionBase *)> ToRemove) override; 707 function_ref<bool(const SectionBase *)> ToRemove) override; 712 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 778 function_ref<bool(const SectionBase *)> ToRemove) override; 779 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 818 function_ref<bool(const SectionBase *)> ToRemove) override; 819 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 862 function_ref<bool(const SectionBase *)> ToRemove) override; [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ReachingDefAnalysis.cpp | 603 InstSet &ToRemove) const { in isSafeToRemove() 606 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove() 610 ReachingDefAnalysis::isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, in isSafeToRemove() argument 613 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove() 618 InstSet &ToRemove, InstSet &Ignore) const { in isSafeToRemove() argument 636 if (Ignore.count(I) || ToRemove.count(I)) in isSafeToRemove() 638 if (!isSafeToRemove(I, Visited, ToRemove, Ignore)) in isSafeToRemove() 642 ToRemove.insert(MI); in isSafeToRemove()
|
/external/llvm/test/Analysis/BasicAA/ |
D | store-promote.ll | 17 %ToRemove = load i32, i32* @A ; <i32> [#uses=1] 22 %X = sub i32 %ToRemove, %Atmp ; <i32> [#uses=1]
|