Home
last modified time | relevance | path

Searched refs:InstrsToErase (Results 1 – 4 of 4) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCPreEmitPeephole.cpp126 DenseSet<MachineInstr *> InstrsToErase; in removeRedundantLIs() local
130 if (InstrsToErase.contains(&*BBI)) in removeRedundantLIs()
212 InstrsToErase.insert(&*AfterBBI); in removeRedundantLIs()
218 for (MachineInstr *MI : InstrsToErase) { in removeRedundantLIs()
221 NumRemovedInPreEmit += InstrsToErase.size(); in removeRedundantLIs()
222 return !InstrsToErase.empty(); in removeRedundantLIs()
370 DenseSet<MachineInstr *> InstrsToErase; in removeAccPrimeUnprime() local
393 InstrsToErase.insert(&BBI); in removeAccPrimeUnprime()
394 InstrsToErase.insert(Candidates[Acc - PPC::ACC0]); in removeAccPrimeUnprime()
409 for (MachineInstr *MI : InstrsToErase) in removeAccPrimeUnprime()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUImageIntrinsicOptimizer.cpp179 SmallVector<Instruction *, 4> InstrsToErase; in optimizeSection() local
272 InstrsToErase.push_back(II); in optimizeSection()
278 for (auto I : InstrsToErase) in optimizeSection()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h135 InstrsToErase.push_back(I); in markInstructionForDeletion()
301 SmallVector<Instruction *, 8> InstrsToErase;
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2831 assert(InstrsToErase.empty() && in processBlock()
2857 if (InstrsToErase.empty()) { in processBlock()
2863 NumGVNInstr += InstrsToErase.size(); in processBlock()
2870 for (auto *I : InstrsToErase) { in processBlock()
2877 InstrsToErase.clear(); in processBlock()