Lines Matching defs:UseInst
102 /// be the same value as one of the input operands of UseInst.
104 Instruction *UseInst, int OpIdx0,
1156 Instruction *UseInst = cast<Instruction>(User);
1157 if (UseInst->getOpcode() == Instruction::PtrToInt)
1160 if (LoadInst *LI = dyn_cast<LoadInst>(UseInst)) {
1166 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) {
1176 if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UseInst)) {
1182 if (AtomicCmpXchgInst *CAS = dyn_cast<AtomicCmpXchgInst>(UseInst)) {
1190 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) {
1199 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) {
1204 } else if (SelectInst *SI = dyn_cast<SelectInst>(UseInst)) {
1209 } else if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {