Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFMIPeephole.cpp176 MachineInstr* ToErase = nullptr; in eliminateZExtSeq() local
182 if (ToErase) { in eliminateZExtSeq()
183 ToErase->eraseFromParent(); in eliminateZExtSeq()
184 ToErase = nullptr; in eliminateZExtSeq()
233 ToErase = &MI; in eliminateZExtSeq()
244 MachineInstr* ToErase = nullptr; in eliminateZExt() local
250 if (ToErase) { in eliminateZExt()
251 ToErase->eraseFromParent(); in eliminateZExt()
252 ToErase = nullptr; in eliminateZExt()
280 ToErase = &MI; in eliminateZExt()
[all …]
H A DBPFMIChecking.cpp178 MachineInstr *ToErase = nullptr; in processAtomicInsts() local
183 if (ToErase) { in processAtomicInsts()
184 ToErase->eraseFromParent(); in processAtomicInsts()
185 ToErase = nullptr; in processAtomicInsts()
234 ToErase = &MI; in processAtomicInsts()
H A DBPFMISimplifyPatchable.cpp247 MachineInstr *ToErase = nullptr; in removeLD() local
252 if (ToErase) { in removeLD()
253 ToErase->eraseFromParent(); in removeLD()
254 ToErase = nullptr; in removeLD()
298 ToErase = &MI; in removeLD()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp110 bool combineSEXTAndSHL(MachineInstr &MI, MachineInstr *&ToErase);
382 MachineInstr* ToErase = nullptr; in simplifyCode() local
419 if (ToErase) { in simplifyCode()
420 ToErase->eraseFromParent(); in simplifyCode()
421 ToErase = nullptr; in simplifyCode()
462 ToErase = &MI; in simplifyCode()
477 ToErase = &MI; in simplifyCode()
549 ToErase = &MI; in simplifyCode()
579 ToErase = &MI; in simplifyCode()
603 ToErase = &MI; in simplifyCode()
[all …]
H A DPPCInstrInfo.h608 bool combineRLWINM(MachineInstr &MI, MachineInstr **ToErase = nullptr) const;
H A DPPCInstrInfo.cpp3691 MachineInstr **ToErase) const { in combineRLWINM()
3820 *ToErase = SrcMI; in combineRLWINM()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp654 SmallVector<CallInst *, 8> ToErase; in replaceLongjmpWithEmscriptenLongjmp() local
667 ToErase.push_back(CI); in replaceLongjmpWithEmscriptenLongjmp()
670 for (auto *I : ToErase) in replaceLongjmpWithEmscriptenLongjmp()
799 SmallVector<Instruction *, 64> ToErase; in runEHOnFunction() local
816 ToErase.push_back(II); in runEHOnFunction()
833 ToErase.push_back(II); in runEHOnFunction()
859 ToErase.push_back(RI); in runEHOnFunction()
880 ToErase.push_back(CI); in runEHOnFunction()
914 ToErase.push_back(LPI); in runEHOnFunction()
918 for (Instruction *I : ToErase) in runEHOnFunction()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86FixupSetCC.cpp66 SmallVector<MachineInstr*, 4> ToErase; in runOnMachineFunction() local
125 ToErase.push_back(ZExt); in runOnMachineFunction()
129 for (auto &I : ToErase) in runOnMachineFunction()
H A DX86DomainReassignment.cpp498 SmallVector<MachineInstr *, 8> ToErase; in reassign() local
502 ToErase.push_back(MI); in reassign()
516 for (auto *MI : ToErase) in reassign()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp568 auto *ToErase = cast<MachineInstr>(&*std::next(Branch)); in replaceWithCompactBranch() local
570 if (ToErase->shouldUpdateCallSiteInfo()) in replaceWithCompactBranch()
571 ToErase->getMF()->moveCallSiteInfo(ToErase, cast<MachineInstr>(&*Branch)); in replaceWithCompactBranch()
572 ToErase->eraseFromParent(); in replaceWithCompactBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1468 static DeferredReplacement createDelete(Instruction *ToErase) { in createDelete() argument
1470 D.Old = ToErase; in createDelete()
3073 DenseSet<Value *> ToErase; in recomputeLiveInValues() local
3076 ToErase.insert(KVPair.first); in recomputeLiveInValues()
3078 for (auto *V : ToErase) in recomputeLiveInValues()
H A DNewGVN.cpp3455 for (Instruction *ToErase : InstructionsToErase) { in runGVN()
3456 if (!ToErase->use_empty()) in runGVN()
3457 ToErase->replaceAllUsesWith(UndefValue::get(ToErase->getType())); in runGVN()
3459 assert(ToErase->getParent() && in runGVN()
3461 ToErase->eraseFromParent(); in runGVN()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1284 for (Instruction *I : llvm::reverse(ToErase)) in calculatePointerDifference()
1287 SmallVector<Instruction *, 8> ToErase; in calculatePointerDifference() member
1294 B_.ToErase.push_back(I); \ in calculatePointerDifference()