| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFMIPeephole.cpp | 181 if (ToErase) { in eliminateZExtSeq() 183 ToErase = nullptr; in eliminateZExtSeq() 232 ToErase = &MI; in eliminateZExtSeq() 249 if (ToErase) { in eliminateZExt() 251 ToErase = nullptr; in eliminateZExt() 279 ToErase = &MI; in eliminateZExt() 343 if (ToErase) { in eliminateRedundantMov() 347 ToErase = nullptr; in eliminateRedundantMov() 367 ToErase = &MI; in eliminateRedundantMov() 467 if (ToErase) { in eliminateTruncSeq() [all …]
|
| H A D | BPFIRPeephole.cpp | 34 Instruction *ToErase = nullptr; in BPFIRPeepholeImpl() local 54 if (ToErase) { in BPFIRPeepholeImpl() 55 ToErase->eraseFromParent(); in BPFIRPeepholeImpl() 56 ToErase = nullptr; in BPFIRPeepholeImpl() 70 ToErase = &I; in BPFIRPeepholeImpl() 90 ToErase = &I; in BPFIRPeepholeImpl()
|
| H A D | BPFMIChecking.cpp | 179 MachineInstr *ToErase = nullptr; in processAtomicInsts() local 184 if (ToErase) { in processAtomicInsts() 185 ToErase->eraseFromParent(); in processAtomicInsts() 186 ToErase = nullptr; in processAtomicInsts() 235 ToErase = &MI; in processAtomicInsts()
|
| H A D | BPFMISimplifyPatchable.cpp | 261 MachineInstr *ToErase = nullptr; in removeLD() local 266 if (ToErase) { in removeLD() 267 ToErase->eraseFromParent(); in removeLD() 268 ToErase = nullptr; in removeLD() 312 ToErase = &MI; in removeLD()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 50 ToErase.push_back(&MI); in addConstantsToTrack() 85 for (MachineInstr *MI : ToErase) { in addConstantsToTrack() 97 SmallVector<MachineInstr *, 10> ToErase; in foldConstantsIntoIntrinsics() local 113 ToErase.push_back(ConstMI); in foldConstantsIntoIntrinsics() 117 for (MachineInstr *MI : ToErase) in foldConstantsIntoIntrinsics() 123 SmallVector<MachineInstr *, 10> ToErase; in insertBitcasts() local 131 ToErase.push_back(&MI); in insertBitcasts() 134 for (MachineInstr *MI : ToErase) in insertBitcasts() 223 SmallVector<MachineInstr *, 10> ToErase; in generateAssignInstrs() local 242 ToErase.push_back(&MI); in generateAssignInstrs() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCMIPeephole.cpp | 425 if (ToErase) { in simplifyCode() 433 ToErase = &MI; in simplifyCode() 475 ToErase = &MI; in simplifyCode() 490 ToErase = &MI; in simplifyCode() 562 ToErase = &MI; in simplifyCode() 623 ToErase = &MI; in simplifyCode() 680 ToErase = &MI; in simplifyCode() 1004 ToErase = &MI; in simplifyCode() 1064 ToErase = &MI; in simplifyCode() 1073 if (ToErase) { in simplifyCode() [all …]
|
| H A D | PPCInstrInfo.h | 708 bool combineRLWINM(MachineInstr &MI, MachineInstr **ToErase = nullptr) const;
|
| H A D | PPCInstrInfo.cpp | 3761 MachineInstr **ToErase) const { in combineRLWINM() 3890 *ToErase = SrcMI; in combineRLWINM()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FixupSetCC.cpp | 66 SmallVector<MachineInstr*, 4> ToErase; in runOnMachineFunction() local 125 ToErase.push_back(ZExt); in runOnMachineFunction() 129 for (auto &I : ToErase) in runOnMachineFunction()
|
| H A D | X86DomainReassignment.cpp | 499 SmallVector<MachineInstr *, 8> ToErase; in reassign() local 503 ToErase.push_back(MI); in reassign() 517 for (auto *MI : ToErase) in reassign()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 839 ToErase.push_back(CI); in replaceLongjmpWith() 842 for (auto *I : ToErase) in replaceLongjmpWith() 884 ToErase.push_back(CI); in nullifySetjmp() 887 for (auto *I : ToErase) in nullifySetjmp() 1102 ToErase.push_back(II); in runEHOnFunction() 1181 ToErase.push_back(RI); in runEHOnFunction() 1202 ToErase.push_back(CI); in runEHOnFunction() 1236 ToErase.push_back(LPI); in runEHOnFunction() 1361 ToErase.push_back(CI); in runSjLjOnFunction() 1563 ToErase.push_back(CI); in handleLongjmpableCallsForEmscriptenSjLj() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | FrameOptimizer.cpp | 64 std::deque<std::pair<BinaryBasicBlock *, MCInst *>> ToErase; in removeUnnecessaryLoads() local 133 ToErase.push_front(std::make_pair(&BB, &Inst)); in removeUnnecessaryLoads() 159 for (std::pair<BinaryBasicBlock *, MCInst *> I : ToErase) in removeUnnecessaryLoads() 169 std::vector<std::pair<BinaryBasicBlock *, MCInst *>> ToErase; in removeUnusedStores() local 213 ToErase.emplace_back(&BB, &Inst); in removeUnusedStores() 218 for (std::pair<BinaryBasicBlock *, MCInst *> I : ToErase) in removeUnusedStores()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | FunctionLayout.cpp | 63 const DenseSet<const BinaryBasicBlock *> ToErase) { in eraseBasicBlocks() argument 65 return ToErase.contains(BB); in eraseBasicBlocks()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64A57FPLoadBalancing.cpp | 552 std::vector<unsigned> ToErase; in colorChain() local 560 ToErase.push_back(OrigReg); in colorChain() 564 ToErase.push_back(J.first); in colorChain() 569 for (auto J : ToErase) in colorChain()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsDelaySlotFiller.cpp | 566 auto *ToErase = cast<MachineInstr>(&*std::next(Branch)); in replaceWithCompactBranch() local 568 if (ToErase->shouldUpdateCallSiteInfo()) in replaceWithCompactBranch() 569 ToErase->getMF()->moveCallSiteInfo(ToErase, cast<MachineInstr>(&*Branch)); in replaceWithCompactBranch() 570 ToErase->eraseFromParent(); in replaceWithCompactBranch()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | FunctionLayout.h | 160 void eraseBasicBlocks(const DenseSet<const BinaryBasicBlock *> ToErase);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | NewGVN.cpp | 3487 for (Instruction *ToErase : InstructionsToErase) { in runGVN() 3488 if (!ToErase->use_empty()) in runGVN() 3489 ToErase->replaceAllUsesWith(PoisonValue::get(ToErase->getType())); in runGVN() 3491 assert(ToErase->getParent() && in runGVN() 3493 ToErase->eraseFromParent(); in runGVN()
|
| H A D | RewriteStatepointsForGC.cpp | 1549 static DeferredReplacement createDelete(Instruction *ToErase) { in createDelete() argument 1551 D.Old = ToErase; in createDelete()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1298 for (Instruction *I : llvm::reverse(ToErase)) in calculatePointerDifference() 1301 SmallVector<Instruction *, 8> ToErase; in calculatePointerDifference() member 1308 B_.ToErase.push_back(I); \ in calculatePointerDifference()
|