Lines Matching refs:Instr
258 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr, in shouldConvertUse() argument
262 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2) in shouldConvertUse()
266 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0) in shouldConvertUse()
270 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse()
273 if (isa<const AllocaInst>(Instr) && OpIdx > 0) in shouldConvertUse()
277 if (isa<const LoadInst>(Instr) && OpIdx > 0) in shouldConvertUse()
281 if (isa<const StoreInst>(Instr) && OpIdx > 1) in shouldConvertUse()
285 if (isa<const GetElementPtrInst>(Instr) && OpIdx > 0) in shouldConvertUse()
290 if (isa<const LandingPadInst>(Instr)) in shouldConvertUse()
294 if (isa<const SwitchInst>(Instr)) in shouldConvertUse()
298 if (isa<const IndirectBrInst>(Instr)) in shouldConvertUse()
302 if (isa<const IntrinsicInst>(Instr)) in shouldConvertUse()
306 const CallInst *CI = dyn_cast<const CallInst>(Instr); in shouldConvertUse()