Lines Matching refs:ScaledReg
2085 Value *ScaledReg; member
2086 ExtAddrMode() : BaseReg(nullptr), ScaledReg(nullptr) {} in ExtAddrMode()
2091 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) && in operator ==()
2129 ScaledReg->printAsOperand(OS, /*PrintType=*/false); in print()
2677 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in matchScaledValue()
2685 TestAddrMode.ScaledReg = ScaleReg; in matchScaledValue()
2700 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()
3449 AddrMode.ScaledReg = Addr; in matchAddr()
3453 AddrMode.ScaledReg = nullptr; in matchAddr()
3603 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg; in isProfitableToFoldIntoAddressingMode() local
3607 if (valueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in isProfitableToFoldIntoAddressingMode()
3609 if (valueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in isProfitableToFoldIntoAddressingMode()
3610 ScaledReg = nullptr; in isProfitableToFoldIntoAddressingMode()
3614 if (!BaseReg && !ScaledReg) in isProfitableToFoldIntoAddressingMode()
3842 if (AddrMode.Scale && AddrMode.ScaledReg->getType()->isPointerTy()) { in optimizeMemoryInst()
3848 ResultPtr = AddrMode.ScaledReg; in optimizeMemoryInst()
3868 Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
3897 Value *V = AddrMode.ScaledReg; in optimizeMemoryInst()
3971 Value *V = AddrMode.ScaledReg; in optimizeMemoryInst()