| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/ |
| H A D | Object.cpp | 38 function_ref<Expected<bool>(const Symbol &)> ToRemove) { in removeSymbols() argument 40 llvm::erase_if(Symbols, [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols() 41 Expected<bool> ShouldRemove = ToRemove(Sym); in removeSymbols() 89 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() argument 96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections() 97 bool Remove = ToRemove(Sec); in removeSections() 114 ToRemove = RemoveAssociated; in removeSections()
|
| H A D | COFFObjcopy.cpp | 149 if (Config.ToRemove.matches(Sec.Name)) in handleArgs() 182 auto ToRemove = [&](const Symbol &Sym) -> Expected<bool> { in handleArgs() local 222 if (Error Err = Obj.removeSymbols(ToRemove)) in handleArgs()
|
| H A D | Object.h | 119 Error removeSymbols(function_ref<Expected<bool>(const Symbol &)> ToRemove); 135 void removeSections(function_ref<bool(const Section &)> ToRemove);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| H A D | Object.cpp | 28 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols() argument 29 llvm::erase_if(Symbols, ToRemove); in removeSymbols() 58 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands() argument 61 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() 69 function_ref<bool(const std::unique_ptr<Section> &)> ToRemove) { in removeSections() argument 75 [&](const std::unique_ptr<Section> &Sec) { return !ToRemove(Sec); }); in removeSections()
|
| H A 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);
|
| H A D | MachOObjcopy.cpp | 57 if (!Config.ToRemove.empty()) { in removeSections() 59 return Config.ToRemove.matches(Sec->CanonicalName); in removeSections()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 139 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVVMReflect.cpp | 88 SmallVector<Instruction *, 4> ToRemove; in runNVVMReflect() local 175 ToRemove.push_back(Call); in runNVVMReflect() 178 for (Instruction *I : ToRemove) in runNVVMReflect() 181 return ToRemove.size() > 0; in runNVVMReflect()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DbgEntityHistoryCalculator.cpp | 134 SmallVector<EntryIndex, 4> ToRemove; in trimLocationRanges() local 173 ToRemove.clear(); in trimLocationRanges() 212 ToRemove.push_back(StartIndex); in trimLocationRanges() 221 if (ToRemove.empty()) in trimLocationRanges() 227 ToRemove.push_back(i); in trimLocationRanges() 229 llvm::sort(ToRemove); in trimLocationRanges() 236 auto ToRemoveItr = ToRemove.begin(); in trimLocationRanges() 240 if (ToRemoveItr != ToRemove.end() && *ToRemoveItr == EntryIdx) { in trimLocationRanges() 255 for (auto Itr = ToRemove.rbegin(), End = ToRemove.rend(); Itr != End; ++Itr) in trimLocationRanges()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A 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()
|
| H A D | ARMLowOverheadLoops.cpp | 376 SmallPtrSet<MachineInstr*, 4> ToRemove; member 540 InstSet &ToRemove, InstSet &Ignore) { in INITIALIZE_PASS() 588 ToRemove.insert(Uses.begin(), Uses.end()); in INITIALIZE_PASS() 597 ToRemove.insert(Killed.begin(), Killed.end()); in INITIALIZE_PASS() 777 ToRemove.insert(ElementChain.begin(), ElementChain.end()); in ValidateTailPredicate() 790 TryRemove(Def, RDA, ToRemove, Ignore); in ValidateTailPredicate() 1403 if (!TryRemove(Def, *RDA, LoLoop.ToRemove, Killed)) in IterationCountDCE() 1437 LoLoop.ToRemove.insert(Start); in ExpandLoopStart() 1472 LoLoop.ToRemove.insert(TheVCMP); in ConvertVPTBlocks() 1534 LoLoop.ToRemove.insert(VPST); in ConvertVPTBlocks() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| H A 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | SIPreEmitPeephole.cpp | 179 SmallVector<MachineInstr *, 4> ToRemove; in optimizeVccBranch() local 184 ToRemove.push_back(&Term); in optimizeVccBranch() 190 for (auto BranchMI : ToRemove) { in optimizeVccBranch() 229 SmallVector<MachineInstr *, 4> ToRemove; in optimizeSetGPR() local 246 ToRemove.push_back(&*I); in optimizeSetGPR() 270 for (MachineInstr *RI : ToRemove) in optimizeSetGPR()
|
| H A 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()
|
| H A D | AMDGPULowerModuleLDSPass.cpp | 54 SmallPtrSetImpl<Constant *> &ToRemove) { in removeFromUsedList() argument 56 if (!GV || ToRemove.empty()) { in removeFromUsedList() 65 if (!ToRemove.contains(C->stripPointerCasts())) { in removeFromUsedList()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/ |
| H A D | Object.cpp | 27 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() argument 29 llvm::erase_if(Sections, ToRemove); in removeSections()
|
| H A D | Object.h | 37 void removeSections(function_ref<bool(const Section &)> ToRemove);
|
| H A D | WasmObjcopy.cpp | 53 if (Config.ToRemove.matches(Sec.Name)) in handleArgs()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | ReachingDefAnalysis.cpp | 601 InstSet &ToRemove) const { in isSafeToRemove() 604 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove() 608 ReachingDefAnalysis::isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, in isSafeToRemove() argument 611 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove() 616 InstSet &ToRemove, InstSet &Ignore) const { in isSafeToRemove() argument 634 if (Ignore.count(I) || ToRemove.count(I)) in isSafeToRemove() 636 if (!isSafeToRemove(I, Visited, ToRemove, Ignore)) in isSafeToRemove() 640 ToRemove.insert(MI); in isSafeToRemove()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 755 bool AllowBrokenLinks, function_ref<bool(const SectionBase *)> ToRemove) { in removeSectionReferences() argument 756 if (ToRemove(SectionIndexTable)) in removeSectionReferences() 758 if (ToRemove(SymbolNames)) { in removeSectionReferences() 768 [ToRemove](const Symbol &Sym) { return ToRemove(Sym.DefinedIn); }); in removeSectionReferences() 781 function_ref<bool(const Symbol &)> ToRemove) { in removeSymbols() argument 784 [ToRemove](const SymPtr &Sym) { return ToRemove(*Sym); }), in removeSymbols() 899 bool AllowBrokenLinks, function_ref<bool(const SectionBase *)> ToRemove) { in removeSectionReferences() argument 900 if (ToRemove(Symbols)) { in removeSectionReferences() 912 !ToRemove(R.RelocSymbol->DefinedIn)) in removeSectionReferences() 1001 function_ref<bool(const Symbol &)> ToRemove) { in removeSymbols() argument [all …]
|
| H A D | Object.h | 425 function_ref<bool(const SectionBase *)> ToRemove); 426 virtual Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove); 493 function_ref<bool(const SectionBase *)> ToRemove) override; 710 function_ref<bool(const SectionBase *)> ToRemove) override; 715 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 781 function_ref<bool(const SectionBase *)> ToRemove) override; 782 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 821 function_ref<bool(const SectionBase *)> ToRemove) override; 822 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 865 function_ref<bool(const SectionBase *)> ToRemove) override; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | ReachingDefAnalysis.h | 224 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove) const; 229 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, 267 InstSet &ToRemove, InstSet &Ignore) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | GICombinerEmitter.cpp | 254 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ |
| H A D | CommonConfig.h | 180 NameMatcher ToRemove; member
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/ |
| H A D | CrashDebugger.cpp | 269 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()
|