| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILLegalizePass.cpp | 28 SmallVectorImpl<Instruction *> &ToRemove, in legalizeFreeze() argument 35 ToRemove.push_back(FI); in legalizeFreeze() 39 SmallVectorImpl<Instruction *> &ToRemove, in fixI8UseChain() argument 76 ToRemove.push_back(Trunc); in fixI8UseChain() 88 ToRemove.push_back(Store); in fixI8UseChain() 106 ToRemove.push_back(Load); in fixI8UseChain() 145 ToRemove.push_back(Load); in fixI8UseChain() 164 ToRemove.push_back(BO); in fixI8UseChain() 176 ToRemove.push_back(Sel); in fixI8UseChain() 189 ToRemove.push_back(Cmp); in fixI8UseChain() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.cpp | 39 function_ref<Expected<bool>(const Symbol &)> ToRemove) { in removeSymbols() argument 41 llvm::erase_if(Symbols, [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols() 42 Expected<bool> ShouldRemove = ToRemove(Sym); in removeSymbols() 90 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() argument 97 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections() 98 bool Remove = ToRemove(Sec); in removeSections() 115 ToRemove = RemoveAssociated; in removeSections()
|
| H A D | COFFObjcopy.cpp | 179 if (Config.ToRemove.matches(Sec.Name)) in handleArgs() 220 auto ToRemove = [&](const Symbol &Sym) -> Expected<bool> { in handleArgs() local 260 if (Error Err = Obj.removeSymbols(ToRemove)) in handleArgs()
|
| H A D | COFFObject.h | 120 Error removeSymbols(function_ref<Expected<bool>(const Symbol &)> ToRemove); 136 void removeSections(function_ref<bool(const Section &)> ToRemove);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVStripConvergentIntrinsics.cpp | 33 DenseSet<Instruction *> ToRemove; in runOnFunction() local 44 ToRemove.insert(II); in runOnFunction() 59 ToRemove.insert(CI); in runOnFunction() 73 for (Instruction *I : ToRemove) in runOnFunction() 76 return ToRemove.size() != 0; in runOnFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObject.cpp | 24 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() argument 31 if (ToRemove(Sec)) { in removeSections() 39 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 | WasmObject.h | 39 void removeSections(function_ref<bool(const Section &)> ToRemove);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMOptimizeBarriersPass.cpp | 53 std::vector<MachineInstr *> ToRemove; in runOnMachineFunction() local 70 ToRemove.push_back(&MI); in runOnMachineFunction() 90 for (auto *MI : ToRemove) { in runOnMachineFunction()
|
| H A D | ARMLowOverheadLoops.cpp | 377 SmallPtrSet<MachineInstr *, 4> ToRemove; member 529 InstSet &ToRemove, InstSet &Ignore) { in INITIALIZE_PASS() 578 ToRemove.insert_range(Uses); in INITIALIZE_PASS() 587 ToRemove.insert_range(Killed); in INITIALIZE_PASS() 782 ToRemove.insert_range(ElementChain); in ValidateTailPredicate() 796 TryRemove(Def, RDA, ToRemove, Ignore); in ValidateTailPredicate() 1520 if (!TryRemove(Def, *RDA, LoLoop.ToRemove, Killed)) in IterationCountDCE() 1555 LoLoop.ToRemove.insert(Start); in ExpandLoopStart() 1590 LoLoop.ToRemove.insert(TheVCMP); in ConvertVPTBlocks() 1652 LoLoop.ToRemove.insert(VPST); in ConvertVPTBlocks() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 134 SmallVector<const PHINode *, 8> ToRemove; in getPromotablePHINodes() local 148 ToRemove.push_back(P); in getPromotablePHINodes() 156 while (!ToRemove.empty()) { in getPromotablePHINodes() 157 for (auto &User : ToRemove) in getPromotablePHINodes() 159 ToRemove.clear(); in getPromotablePHINodes() 167 ToRemove.push_back(P); in getPromotablePHINodes()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObject.cpp | 50 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols() argument 51 llvm::erase_if(Symbols, ToRemove); in removeSymbols() 106 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands() argument 109 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() 117 function_ref<bool(const std::unique_ptr<Section> &)> ToRemove) { in removeSections() argument 123 [&](const std::unique_ptr<Section> &Sec) { return !ToRemove(Sec); }); in removeSections()
|
| H A D | MachOObject.h | 147 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove); 351 removeSections(function_ref<bool(const std::unique_ptr<Section> &)> ToRemove); 353 Error removeLoadCommands(function_ref<bool(const LoadCommand &)> ToRemove);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | LowerAllowCheckPass.cpp | 127 bool ToRemove = ShouldRemove(II); in removeUbsanTraps() local 131 ToRemove, in removeUbsanTraps() 133 if (ToRemove) in removeUbsanTraps() 135 emitRemark(II, ORE, ToRemove); in removeUbsanTraps()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DbgEntityHistoryCalculator.cpp | 133 SmallVector<EntryIndex, 4> ToRemove; in trimLocationRanges() local 175 ToRemove.clear(); in trimLocationRanges() 214 ToRemove.push_back(StartIndex); in trimLocationRanges() 225 if (ToRemove.empty()) in trimLocationRanges() 231 ToRemove.push_back(i); in trimLocationRanges() 233 llvm::sort(ToRemove); in trimLocationRanges() 240 auto ToRemoveItr = ToRemove.begin(); in trimLocationRanges() 244 if (ToRemoveItr != ToRemove.end() && *ToRemoveItr == EntryIdx) { in trimLocationRanges() 259 for (EntryIndex Idx : llvm::reverse(ToRemove)) in trimLocationRanges()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUExportClustering.cpp | 82 SmallVector<SDep, 2> ToAdd, ToRemove; in removeExportDependencies() local 87 ToRemove.push_back(Pred); in removeExportDependencies() 101 for (SDep Pred : ToRemove) in removeExportDependencies()
|
| H A D | SIPreEmitPeephole.cpp | 203 SmallVector<MachineInstr *, 4> ToRemove; in optimizeVccBranch() local 208 ToRemove.push_back(&Term); in optimizeVccBranch() 214 for (auto *BranchMI : ToRemove) { in optimizeVccBranch() 253 SmallVector<MachineInstr *, 4> ToRemove; in optimizeSetGPR() local 270 ToRemove.push_back(&*I); in optimizeSetGPR() 292 for (MachineInstr *RI : ToRemove) in optimizeSetGPR()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 740 bool AllowBrokenLinks, function_ref<bool(const SectionBase *)> ToRemove) { in removeSectionReferences() argument 741 if (ToRemove(SectionIndexTable)) in removeSectionReferences() 743 if (ToRemove(SymbolNames)) { in removeSectionReferences() 753 [ToRemove](const Symbol &Sym) { return ToRemove(Sym.DefinedIn); }); in removeSectionReferences() 766 function_ref<bool(const Symbol &)> ToRemove) { in removeSymbols() argument 769 [ToRemove](const SymPtr &Sym) { return ToRemove(*Sym); }), in removeSymbols() 900 bool AllowBrokenLinks, function_ref<bool(const SectionBase *)> ToRemove) { in removeSectionReferences() argument 901 if (ToRemove(Symbols)) { in removeSectionReferences() 913 !ToRemove(R.RelocSymbol->DefinedIn)) in removeSectionReferences() 1008 function_ref<bool(const Symbol &)> ToRemove) { in removeSymbols() argument [all …]
|
| H A D | ELFObjcopy.cpp | 417 if (!Config.ToRemove.empty()) { in replaceAndRemoveSections() 419 return Config.ToRemove.matches(Sec.Name); in replaceAndRemoveSections() 625 ArrayRef<DeletedRange> ToRemove); 635 std::vector<DeletedRange> ToRemove; in findNotesToRemove() local 649 ToRemove.push_back({CurPos, CurPos + FullSize}); in findNotesToRemove() 652 return ToRemove; in findNotesToRemove() 657 ArrayRef<DeletedRange> ToRemove) { in updateData() argument 661 for (const DeletedRange &RemRange : ToRemove) { in updateData() 706 auto ToRemove = (Endianness == endianness::little) in removeNotes() local 711 if (!ToRemove.empty()) { in removeNotes() [all …]
|
| H A D | ELFObject.h | 544 function_ref<bool(const SectionBase *)> ToRemove); 545 virtual Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove); 617 function_ref<bool(const SectionBase *)> ToRemove) override; 847 function_ref<bool(const SectionBase *)> ToRemove) override; 852 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 923 function_ref<bool(const SectionBase *)> ToRemove) override; 924 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 967 function_ref<bool(const SectionBase *)> ToRemove) override; 968 Error removeSymbols(function_ref<bool(const Symbol &)> ToRemove) override; 1015 function_ref<bool(const SectionBase *)> ToRemove) override; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstraintElimination.cpp | 1462 SmallVectorImpl<Instruction *> &ToRemove) { in checkAndReplaceCondition() argument 1507 ToRemove.push_back(Cmp); in checkAndReplaceCondition() 1529 SmallVectorImpl<Instruction *> &ToRemove) { in checkAndReplaceMinMax() argument 1533 ToRemove.push_back(MinMax); in checkAndReplaceMinMax() 1549 SmallVectorImpl<Instruction *> &ToRemove) { in checkAndReplaceCmp() argument 1554 ToRemove.push_back(I); in checkAndReplaceCmp() 1559 ToRemove.push_back(I); in checkAndReplaceCmp() 1564 ToRemove.push_back(I); in checkAndReplaceCmp() 1592 SmallVectorImpl<Instruction *> &ToRemove) { in checkOrAndOpImpliedByOther() argument 1648 ToRemove.push_back(JoinOp); in checkOrAndOpImpliedByOther() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ReachingDefAnalysis.cpp | 694 InstSet &ToRemove) const { in isSafeToRemove() 697 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove() 701 ReachingDefAnalysis::isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, in isSafeToRemove() argument 704 return isSafeToRemove(MI, Visited, ToRemove, Ignore); in isSafeToRemove() 709 InstSet &ToRemove, InstSet &Ignore) const { in isSafeToRemove() argument 727 if (Ignore.count(I) || ToRemove.count(I)) in isSafeToRemove() 729 if (!isSafeToRemove(I, Visited, ToRemove, Ignore)) in isSafeToRemove() 733 ToRemove.insert(MI); in isSafeToRemove()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ReachingDefAnalysis.h | 268 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove) const; 273 bool isSafeToRemove(MachineInstr *MI, InstSet &ToRemove, 310 InstSet &ToRemove, InstSet &Ignore) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/ |
| H A D | HipStdPar.cpp | 148 SmallVector<std::reference_wrapper<Function>> ToRemove; in removeUnreachableFunctions() local 149 copy_if(M, std::back_inserter(ToRemove), [&](auto &&F) { in removeUnreachableFunctions() 153 for_each(ToRemove, eraseFromModule<Function>); in removeUnreachableFunctions()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | GICombinerEmitter.cpp | |