Lines Matching refs:AddrInst
2609 bool AddressingModeMatcher::MatchOperationAddr(User *AddrInst, unsigned Opcode, in MatchOperationAddr() argument
2622 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
2625 if (TLI.getValueType(AddrInst->getOperand(0)->getType()) == in MatchOperationAddr()
2626 TLI.getPointerTy(AddrInst->getType()->getPointerAddressSpace())) in MatchOperationAddr()
2627 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
2633 if ((AddrInst->getOperand(0)->getType()->isPointerTy() || in MatchOperationAddr()
2634 AddrInst->getOperand(0)->getType()->isIntegerTy()) && in MatchOperationAddr()
2638 AddrInst->getOperand(0)->getType() != AddrInst->getType()) in MatchOperationAddr()
2639 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
2652 if (MatchAddr(AddrInst->getOperand(1), Depth+1) && in MatchOperationAddr()
2653 MatchAddr(AddrInst->getOperand(0), Depth+1)) in MatchOperationAddr()
2662 if (MatchAddr(AddrInst->getOperand(0), Depth+1) && in MatchOperationAddr()
2663 MatchAddr(AddrInst->getOperand(1), Depth+1)) in MatchOperationAddr()
2678 ConstantInt *RHS = dyn_cast<ConstantInt>(AddrInst->getOperand(1)); in MatchOperationAddr()
2685 return MatchScaledValue(AddrInst->getOperand(0), Scale, Depth); in MatchOperationAddr()
2695 gep_type_iterator GTI = gep_type_begin(AddrInst); in MatchOperationAddr()
2696 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { in MatchOperationAddr()
2700 cast<ConstantInt>(AddrInst->getOperand(i))->getZExtValue(); in MatchOperationAddr()
2704 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { in MatchOperationAddr()
2724 if (MatchAddr(AddrInst->getOperand(0), Depth+1)) in MatchOperationAddr()
2739 if (!MatchAddr(AddrInst->getOperand(0), Depth+1)) { in MatchOperationAddr()
2747 AddrMode.BaseReg = AddrInst->getOperand(0); in MatchOperationAddr()
2751 if (!MatchScaledValue(AddrInst->getOperand(VariableOperand), VariableScale, in MatchOperationAddr()
2760 AddrMode.BaseReg = AddrInst->getOperand(0); in MatchOperationAddr()
2762 if (!MatchScaledValue(AddrInst->getOperand(VariableOperand), in MatchOperationAddr()
2775 Instruction *Ext = dyn_cast<Instruction>(AddrInst); in MatchOperationAddr()