Lines Matching refs:BaseReg

2026   Value *BaseReg;  member
2028 ExtAddrMode() : BaseReg(nullptr), ScaledReg(nullptr) {} in ExtAddrMode()
2033 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) && in operator ==()
2062 if (BaseReg) { in print()
2065 BaseReg->printAsOperand(OS, /*PrintType=*/false); in print()
3233 AddrMode.BaseReg = AddrInst->getOperand(0); in matchOperationAddr()
3246 AddrMode.BaseReg = AddrInst->getOperand(0); in matchOperationAddr()
3380 AddrMode.BaseReg = Addr; in matchAddr()
3385 AddrMode.BaseReg = nullptr; in matchAddr()
3538 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg; in isProfitableToFoldIntoAddressingMode() local
3542 if (valueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in isProfitableToFoldIntoAddressingMode()
3543 BaseReg = nullptr; in isProfitableToFoldIntoAddressingMode()
3544 if (valueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in isProfitableToFoldIntoAddressingMode()
3549 if (!BaseReg && !ScaledReg) in isProfitableToFoldIntoAddressingMode()
3754 if (AddrMode.BaseReg && AddrMode.BaseReg->getType()->isPointerTy()) { in optimizeMemoryInst()
3755 ResultPtr = AddrMode.BaseReg; in optimizeMemoryInst()
3756 AddrMode.BaseReg = nullptr; in optimizeMemoryInst()
3779 if (!ResultPtr && AddrMode.BaseReg) { in optimizeMemoryInst()
3781 Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
3782 AddrMode.BaseReg = nullptr; in optimizeMemoryInst()
3790 !AddrMode.BaseReg && !AddrMode.Scale && !AddrMode.BaseOffs) { in optimizeMemoryInst()
3804 if (AddrMode.BaseReg) { in optimizeMemoryInst()
3805 Value *V = AddrMode.BaseReg; in optimizeMemoryInst()
3827 if (I && (ResultIndex != AddrMode.BaseReg)) in optimizeMemoryInst()
3877 if (AddrMode.BaseReg) { in optimizeMemoryInst()
3878 Value *V = AddrMode.BaseReg; in optimizeMemoryInst()
3903 if (I && (Result != AddrMode.BaseReg)) in optimizeMemoryInst()