• Home
  • Raw
  • Download

Lines Matching refs:AddrInst

3144 bool AddressingModeMatcher::matchOperationAddr(User *AddrInst, unsigned Opcode,  in matchOperationAddr()  argument
3157 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3159 auto AS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr()
3162 if (TLI.getValueType(DL, AddrInst->getOperand(0)->getType()) == PtrTy) in matchOperationAddr()
3163 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3169 if ((AddrInst->getOperand(0)->getType()->isPointerTy() || in matchOperationAddr()
3170 AddrInst->getOperand(0)->getType()->isIntegerTy()) && in matchOperationAddr()
3174 AddrInst->getOperand(0)->getType() != AddrInst->getType()) in matchOperationAddr()
3175 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3179 = AddrInst->getOperand(0)->getType()->getPointerAddressSpace(); in matchOperationAddr()
3180 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace(); in matchOperationAddr()
3182 return matchAddr(AddrInst->getOperand(0), Depth); in matchOperationAddr()
3196 if (matchAddr(AddrInst->getOperand(1), Depth+1) && in matchOperationAddr()
3197 matchAddr(AddrInst->getOperand(0), Depth+1)) in matchOperationAddr()
3206 if (matchAddr(AddrInst->getOperand(0), Depth+1) && in matchOperationAddr()
3207 matchAddr(AddrInst->getOperand(1), Depth+1)) in matchOperationAddr()
3222 ConstantInt *RHS = dyn_cast<ConstantInt>(AddrInst->getOperand(1)); in matchOperationAddr()
3229 return matchScaledValue(AddrInst->getOperand(0), Scale, Depth); in matchOperationAddr()
3238 gep_type_iterator GTI = gep_type_begin(AddrInst); in matchOperationAddr()
3239 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { in matchOperationAddr()
3243 cast<ConstantInt>(AddrInst->getOperand(i))->getZExtValue(); in matchOperationAddr()
3247 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { in matchOperationAddr()
3268 if (matchAddr(AddrInst->getOperand(0), Depth+1)) in matchOperationAddr()
3283 if (!matchAddr(AddrInst->getOperand(0), Depth+1)) { in matchOperationAddr()
3291 AddrMode.BaseReg = AddrInst->getOperand(0); in matchOperationAddr()
3295 if (!matchScaledValue(AddrInst->getOperand(VariableOperand), VariableScale, in matchOperationAddr()
3304 AddrMode.BaseReg = AddrInst->getOperand(0); in matchOperationAddr()
3306 if (!matchScaledValue(AddrInst->getOperand(VariableOperand), in matchOperationAddr()
3319 Instruction *Ext = dyn_cast<Instruction>(AddrInst); in matchOperationAddr()