reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4051 return matchAddr(AddrInst->getOperand(0), Depth); 4053 auto AS = AddrInst->getType()->getPointerAddressSpace(); 4056 if (TLI.getValueType(DL, AddrInst->getOperand(0)->getType()) == PtrTy) 4057 return matchAddr(AddrInst->getOperand(0), Depth); 4063 if (AddrInst->getOperand(0)->getType()->isIntOrPtrTy() && 4067 AddrInst->getOperand(0)->getType() != AddrInst->getType()) 4067 AddrInst->getOperand(0)->getType() != AddrInst->getType()) 4068 return matchAddr(AddrInst->getOperand(0), Depth); 4072 = AddrInst->getOperand(0)->getType()->getPointerAddressSpace(); 4073 unsigned DestAS = AddrInst->getType()->getPointerAddressSpace(); 4075 return matchAddr(AddrInst->getOperand(0), Depth); 4090 if (matchAddr(AddrInst->getOperand(1), Depth+1) && 4091 matchAddr(AddrInst->getOperand(0), Depth+1)) 4100 if (matchAddr(AddrInst->getOperand(0), Depth+1) && 4101 matchAddr(AddrInst->getOperand(1), Depth+1)) 4117 ConstantInt *RHS = dyn_cast<ConstantInt>(AddrInst->getOperand(1)); 4124 return matchScaledValue(AddrInst->getOperand(0), Scale, Depth); 4133 gep_type_iterator GTI = gep_type_begin(AddrInst); 4134 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { 4138 cast<ConstantInt>(AddrInst->getOperand(i))->getZExtValue(); 4142 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { 4168 if (matchAddr(AddrInst->getOperand(0), Depth+1)) { 4169 if (!cast<GEPOperator>(AddrInst)->isInBounds()) 4173 } else if (EnableGEPOffsetSplit && isa<GetElementPtrInst>(AddrInst) && 4180 Value *Base = AddrInst->getOperand(0); 4182 auto *GEP = cast<GetElementPtrInst>(AddrInst); 4204 if (!cast<GEPOperator>(AddrInst)->isInBounds()) 4208 if (!matchAddr(AddrInst->getOperand(0), Depth+1)) { 4216 AddrMode.BaseReg = AddrInst->getOperand(0); 4220 if (!matchScaledValue(AddrInst->getOperand(VariableOperand), VariableScale, 4229 AddrMode.BaseReg = AddrInst->getOperand(0); 4231 if (!matchScaledValue(AddrInst->getOperand(VariableOperand), 4244 Instruction *Ext = dyn_cast<Instruction>(AddrInst);