Lines Matching refs:ScaledReg
2027 Value *ScaledReg; member
2028 ExtAddrMode() : BaseReg(nullptr), ScaledReg(nullptr) {} in ExtAddrMode()
2033 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) && in operator ==()
2071 ScaledReg->printAsOperand(OS, /*PrintType=*/false); in print()
2619 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in matchScaledValue()
2627 TestAddrMode.ScaledReg = ScaleReg; in matchScaledValue()
2642 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()
3391 AddrMode.ScaledReg = Addr; in matchAddr()
3395 AddrMode.ScaledReg = nullptr; in matchAddr()
3538 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg; in isProfitableToFoldIntoAddressingMode() local
3542 if (valueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in isProfitableToFoldIntoAddressingMode()
3544 if (valueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in isProfitableToFoldIntoAddressingMode()
3545 ScaledReg = nullptr; in isProfitableToFoldIntoAddressingMode()
3549 if (!BaseReg && !ScaledReg) in isProfitableToFoldIntoAddressingMode()
3759 if (AddrMode.Scale && AddrMode.ScaledReg->getType()->isPointerTy()) { in optimizeMemoryInst()
3765 ResultPtr = AddrMode.ScaledReg; in optimizeMemoryInst()
3785 Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), "sunkaddr"); in optimizeMemoryInst()
3814 Value *V = AddrMode.ScaledReg; in optimizeMemoryInst()
3888 Value *V = AddrMode.ScaledReg; in optimizeMemoryInst()