| /freebsd-13.1/contrib/llvm-project/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);
|
| /freebsd-13.1/contrib/llvm-project/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 | 372 SmallPtrSet<MachineInstr*, 4> ToRemove; member 584 ToRemove.insert(Uses.begin(), Uses.end()); in INITIALIZE_PASS() 789 TryRemove(Def, RDA, ToRemove, Ignore); in ValidateTailPredicate() 1514 LoLoop.ToRemove.insert(Start); in ExpandLoopStart() 1549 LoLoop.ToRemove.insert(TheVCMP); in ConvertVPTBlocks() 1611 LoLoop.ToRemove.insert(VPST); in ConvertVPTBlocks() 1619 LoLoop.ToRemove.insert(VPST); in ConvertVPTBlocks() 1646 LoLoop.ToRemove.insert(VPST); in ConvertVPTBlocks() 1670 LoLoop.ToRemove.insert(LoLoop.Dec); in Expand() 1671 LoLoop.ToRemove.insert(End); in Expand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| H A D | Object.cpp | 27 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols() argument 28 llvm::erase_if(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()
|
| H A D | Object.h | 151 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove); 343 removeSections(function_ref<bool(const std::unique_ptr<Section> &)> ToRemove); 345 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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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 | WasmObjcopy.cpp | 64 if (!Config.ToRemove.empty()) { in removeSections() 66 return Config.ToRemove.matches(Sec.Name); in removeSections() 87 return Config.ToRemove.matches(Sec.Name) || !isDebugSection(Sec); in removeSections()
|
| H A D | Object.h | 37 void removeSections(function_ref<bool(const Section &)> ToRemove);
|
| /freebsd-13.1/contrib/llvm-project/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 | 67 SmallPtrSetImpl<Constant *> &ToRemove) { in removeFromUsedList() argument 69 if (!GV || ToRemove.empty()) { in removeFromUsedList() 78 if (!ToRemove.contains(C->stripPointerCasts())) { in removeFromUsedList() 89 for (Constant *C : ToRemove) { in removeFromUsedList()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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;
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 754 if (ToRemove(SectionIndexTable)) in removeSectionReferences() 756 if (ToRemove(SymbolNames)) { in removeSectionReferences() 766 [ToRemove](const Symbol &Sym) { return ToRemove(Sym.DefinedIn); }); in removeSectionReferences() 782 [ToRemove](const SymPtr &Sym) { return ToRemove(*Sym); }), in removeSymbols() 898 if (ToRemove(Symbols)) { in removeSectionReferences() 1037 if (ToRemove(Symbols)) { in removeSectionReferences() 1058 if (ToRemove(LinkSection)) { in removeSectionReferences() 1082 if (ToRemove(SymTab)) { in removeSectionReferences() 1097 if (ToRemove(*Sym)) in removeSymbols() 2118 if (ToRemove(*Sec)) in removeSections() [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; 865 function_ref<bool(const SectionBase *)> ToRemove) override; 1080 std::function<bool(const SectionBase &)> ToRemove); [all …]
|
| H A D | ELFObjcopy.cpp | 346 if (!Config.ToRemove.empty()) { in replaceAndRemoveSections() 348 return Config.ToRemove.matches(Sec.Name); in replaceAndRemoveSections()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | CommonConfig.h | 225 NameMatcher ToRemove; member
|
| /freebsd-13.1/contrib/llvm-project/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()
|