Lines Matching refs:AddrInst

3086 bool AddressingModeMatcher::matchOperationAddr(User *AddrInst, unsigned Opcode,  in matchOperationAddr()  argument
3099 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3101 auto AS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr()
3104 if (TLI.getValueType(DL, AddrInst->getOperand(0)->getType()) == PtrTy) in matchOperationAddr()
3105 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3111 if ((AddrInst->getOperand(0)->getType()->isPointerTy() || in matchOperationAddr()
3112 AddrInst->getOperand(0)->getType()->isIntegerTy()) && in matchOperationAddr()
3116 AddrInst->getOperand(0)->getType() != AddrInst->getType()) in matchOperationAddr()
3117 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3121 = AddrInst->getOperand(0)->getType()->getPointerAddressSpace(); in matchOperationAddr()
3122 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr()
3124 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3138 if (matchAddr(AddrInst->getOperand(1), Depth+1) && in matchOperationAddr()
3139 matchAddr(AddrInst->getOperand(0), Depth+1)) in matchOperationAddr()
3148 if (matchAddr(AddrInst->getOperand(0), Depth+1) && in matchOperationAddr()
3149 matchAddr(AddrInst->getOperand(1), Depth+1)) in matchOperationAddr()
3164 ConstantInt *RHS = dyn_cast<ConstantInt>(AddrInst->getOperand(1)); in matchOperationAddr()
3171 return matchScaledValue(AddrInst->getOperand(0), Scale, Depth); in matchOperationAddr()
3180 gep_type_iterator GTI = gep_type_begin(AddrInst); in matchOperationAddr()
3181 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { in matchOperationAddr()
3185 cast<ConstantInt>(AddrInst->getOperand(i))->getZExtValue(); in matchOperationAddr()
3189 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { in matchOperationAddr()
3210 if (matchAddr(AddrInst->getOperand(0), Depth+1)) in matchOperationAddr()
3225 if (!matchAddr(AddrInst->getOperand(0), Depth+1)) { in matchOperationAddr()
3233 AddrMode.BaseReg = AddrInst->getOperand(0); in matchOperationAddr()
3237 if (!matchScaledValue(AddrInst->getOperand(VariableOperand), VariableScale, in matchOperationAddr()
3246 AddrMode.BaseReg = AddrInst->getOperand(0); in matchOperationAddr()
3248 if (!matchScaledValue(AddrInst->getOperand(VariableOperand), in matchOperationAddr()
3261 Instruction *Ext = dyn_cast<Instruction>(AddrInst); in matchOperationAddr()