Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Instruction

57   /// Only find pointer captures which happen before the given instruction. Uses
58 /// the dominator tree to determine whether one instruction is before another.
60 /// as the given instruction and the use.
63 CapturesBefore(bool ReturnCaptures, const Instruction *I, DominatorTree *DT,
70 bool isSafeToPrune(Instruction *I) {
84 // The value defined by an invoke dominates an instruction only
85 // if it dominates every instruction in UseBB. A PHI is dominated only
86 // if the instruction dominates every possible use in the UseBB. Since
119 Instruction *I = cast<Instruction>(U->getUser());
142 const Instruction *BeforeHere;
178 /// instruction are considered. This routine can be expensive, so consider
186 bool StoreCaptures, const Instruction *I,
233 Instruction *I = cast<Instruction>(U->getUser());
237 case Instruction::Call:
238 case Instruction::Invoke: {
269 case Instruction::Load:
275 case Instruction::VAArg:
278 case Instruction::Store:
285 case Instruction::AtomicRMW: {
297 case Instruction::AtomicCmpXchg: {
310 case Instruction::BitCast:
311 case Instruction::GetElementPtr:
312 case Instruction::PHI:
313 case Instruction::Select:
314 case Instruction::AddrSpaceCast:
328 case Instruction::ICmp: {