Lines Matching full:basereg
2026 Value *BaseReg;
2028 ExtAddrMode() : BaseReg(nullptr), ScaledReg(nullptr) {}
2033 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) &&
2062 if (BaseReg) {
2065 BaseReg->printAsOperand(OS, /*PrintType=*/false);
3233 AddrMode.BaseReg = AddrInst->getOperand(0);
3246 AddrMode.BaseReg = AddrInst->getOperand(0);
3380 AddrMode.BaseReg = Addr;
3385 AddrMode.BaseReg = nullptr;
3536 // BaseReg and ScaleReg (global addresses are always available, as are any
3538 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg;
3540 // If the BaseReg or ScaledReg was referenced by the previous addrmode, their
3542 if (valueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg))
3543 BaseReg = nullptr;
3544 if (valueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg))
3549 if (!BaseReg && !ScaledReg)
3754 if (AddrMode.BaseReg && AddrMode.BaseReg->getType()->isPointerTy()) {
3755 ResultPtr = AddrMode.BaseReg;
3756 AddrMode.BaseReg = nullptr;
3779 if (!ResultPtr && AddrMode.BaseReg) {
3781 Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), "sunkaddr");
3782 AddrMode.BaseReg = nullptr;
3790 !AddrMode.BaseReg && !AddrMode.Scale && !AddrMode.BaseOffs) {
3804 if (AddrMode.BaseReg) {
3805 Value *V = AddrMode.BaseReg;
3821 // It is only safe to sign extend the BaseReg if we know that the math
3827 if (I && (ResultIndex != AddrMode.BaseReg))
3877 if (AddrMode.BaseReg) {
3878 Value *V = AddrMode.BaseReg;
3897 // It is only safe to sign extend the BaseReg if we know that the math
3903 if (I && (Result != AddrMode.BaseReg))