Lines Matching refs:BaseReg
1546 Value *BaseReg; member
1548 ExtAddrMode() : BaseReg(nullptr), ScaledReg(nullptr) {} in ExtAddrMode()
1553 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) && in operator ==()
1582 if (BaseReg) { in print()
1585 BaseReg->printAsOperand(OS, /*PrintType=*/false); in print()
2747 AddrMode.BaseReg = AddrInst->getOperand(0); in MatchOperationAddr()
2760 AddrMode.BaseReg = AddrInst->getOperand(0); in MatchOperationAddr()
2894 AddrMode.BaseReg = Addr; in MatchAddr()
2899 AddrMode.BaseReg = nullptr; in MatchAddr()
3052 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg; in IsProfitableToFoldIntoAddressingMode() local
3056 if (ValueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in IsProfitableToFoldIntoAddressingMode()
3057 BaseReg = nullptr; in IsProfitableToFoldIntoAddressingMode()
3058 if (ValueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in IsProfitableToFoldIntoAddressingMode()
3063 if (!BaseReg && !ScaledReg) in IsProfitableToFoldIntoAddressingMode()
3267 if (AddrMode.BaseReg && AddrMode.BaseReg->getType()->isPointerTy()) { in OptimizeMemoryInst()
3268 ResultPtr = AddrMode.BaseReg; in OptimizeMemoryInst()
3269 AddrMode.BaseReg = nullptr; in OptimizeMemoryInst()
3292 if (!ResultPtr && AddrMode.BaseReg) { in OptimizeMemoryInst()
3294 Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
3295 AddrMode.BaseReg = nullptr; in OptimizeMemoryInst()
3303 !AddrMode.BaseReg && !AddrMode.Scale && !AddrMode.BaseOffs) { in OptimizeMemoryInst()
3317 if (AddrMode.BaseReg) { in OptimizeMemoryInst()
3318 Value *V = AddrMode.BaseReg; in OptimizeMemoryInst()
3340 if (I && (ResultIndex != AddrMode.BaseReg)) in OptimizeMemoryInst()
3390 if (AddrMode.BaseReg) { in OptimizeMemoryInst()
3391 Value *V = AddrMode.BaseReg; in OptimizeMemoryInst()
3416 if (I && (Result != AddrMode.BaseReg)) in OptimizeMemoryInst()