Home
last modified time | relevance | path

Searched refs:ToErase (Results 1 – 16 of 16) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/
DBPFMIPeephole.cpp175 MachineInstr* ToErase = nullptr; in eliminateZExtSeq() local
181 if (ToErase) { in eliminateZExtSeq()
182 ToErase->eraseFromParent(); in eliminateZExtSeq()
183 ToErase = nullptr; in eliminateZExtSeq()
232 ToErase = &MI; in eliminateZExtSeq()
243 MachineInstr* ToErase = nullptr; in eliminateZExt() local
249 if (ToErase) { in eliminateZExt()
250 ToErase->eraseFromParent(); in eliminateZExt()
251 ToErase = nullptr; in eliminateZExt()
279 ToErase = &MI; in eliminateZExt()
[all …]
DBPFIRPeephole.cpp35 Instruction *ToErase = nullptr; in BPFIRPeepholeImpl() local
55 if (ToErase) { in BPFIRPeepholeImpl()
56 ToErase->eraseFromParent(); in BPFIRPeepholeImpl()
57 ToErase = nullptr; in BPFIRPeepholeImpl()
70 ToErase = &I; in BPFIRPeepholeImpl()
86 ToErase = &I; in BPFIRPeepholeImpl()
DBPFMIChecking.cpp179 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()
DBPFMISimplifyPatchable.cpp261 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()
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp116 bool combineSEXTAndSHL(MachineInstr &MI, MachineInstr *&ToErase);
393 MachineInstr* ToErase = nullptr; in simplifyCode() local
430 if (ToErase) { in simplifyCode()
432 LLVM_DEBUG(ToErase->dump()); in simplifyCode()
433 ToErase->eraseFromParent(); in simplifyCode()
434 ToErase = nullptr; in simplifyCode()
440 ToErase = &MI; in simplifyCode()
481 ToErase = &MI; in simplifyCode()
496 ToErase = &MI; in simplifyCode()
568 ToErase = &MI; in simplifyCode()
[all …]
DPPCInstrInfo.h741 bool combineRLWINM(MachineInstr &MI, MachineInstr **ToErase = nullptr) const;
DPPCInstrInfo.cpp3851 MachineInstr **ToErase) const { in combineRLWINM()
3980 *ToErase = SrcMI; in combineRLWINM()
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp819 SmallVector<CallInst *, 8> ToErase; in replaceLongjmpWith() local
837 ToErase.push_back(CI); in replaceLongjmpWith()
840 for (auto *I : ToErase) in replaceLongjmpWith()
869 SmallVector<Instruction *, 1> ToErase; in nullifySetjmp() local
882 ToErase.push_back(CI); in nullifySetjmp()
885 for (auto *I : ToErase) in nullifySetjmp()
1078 SmallVector<Instruction *, 64> ToErase; in runEHOnFunction() local
1100 ToErase.push_back(II); in runEHOnFunction()
1179 ToErase.push_back(RI); in runEHOnFunction()
1200 ToErase.push_back(CI); in runEHOnFunction()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86FixupSetCC.cpp66 SmallVector<MachineInstr*, 4> ToErase; in runOnMachineFunction() local
125 ToErase.push_back(ZExt); in runOnMachineFunction()
129 for (auto &I : ToErase) in runOnMachineFunction()
DX86DomainReassignment.cpp499 SmallVector<MachineInstr *, 8> ToErase; in reassign() local
503 ToErase.push_back(MI); in reassign()
517 for (auto *MI : ToErase) in reassign()
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp552 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()
/openbsd/src/gnu/llvm/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp566 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()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVExpandAtomicPseudoInsts.cpp527 SmallVector<MachineInstr *> ToErase; in tryToFoldBNEOnCmpXchgResult() local
544 ToErase.push_back(&*MBBI); in tryToFoldBNEOnCmpXchgResult()
556 ToErase.push_back(&*MBBI); in tryToFoldBNEOnCmpXchgResult()
563 for (auto *MI : ToErase) in tryToFoldBNEOnCmpXchgResult()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DNewGVN.cpp3485 for (Instruction *ToErase : InstructionsToErase) { in runGVN()
3486 if (!ToErase->use_empty()) in runGVN()
3487 ToErase->replaceAllUsesWith(PoisonValue::get(ToErase->getType())); in runGVN()
3489 assert(ToErase->getParent() && in runGVN()
3491 ToErase->eraseFromParent(); in runGVN()
DRewriteStatepointsForGC.cpp1603 static DeferredReplacement createDelete(Instruction *ToErase) { in createDelete() argument
1605 D.Old = ToErase; in createDelete()
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonVectorCombine.cpp2293 for (Instruction *I : llvm::reverse(ToErase)) in calculatePointerDifference()
2296 SmallVector<Instruction *, 8> ToErase; in calculatePointerDifference() member
2303 B_.ToErase.push_back(I); \ in calculatePointerDifference()