Lines Matching refs:ScaledReg
1547 Value *ScaledReg; member
1548 ExtAddrMode() : BaseReg(nullptr), ScaledReg(nullptr) {} in ExtAddrMode()
1553 return (BaseReg == O.BaseReg) && (ScaledReg == O.ScaledReg) && in operator ==()
1591 ScaledReg->printAsOperand(OS, /*PrintType=*/false); in print()
2137 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in MatchScaledValue()
2145 TestAddrMode.ScaledReg = ScaleReg; in MatchScaledValue()
2160 TestAddrMode.ScaledReg = AddLHS; in MatchScaledValue()
2905 AddrMode.ScaledReg = Addr; in MatchAddr()
2909 AddrMode.ScaledReg = nullptr; in MatchAddr()
3052 Value *BaseReg = AMAfter.BaseReg, *ScaledReg = AMAfter.ScaledReg; in IsProfitableToFoldIntoAddressingMode() local
3056 if (ValueAlreadyLiveAtInst(BaseReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in IsProfitableToFoldIntoAddressingMode()
3058 if (ValueAlreadyLiveAtInst(ScaledReg, AMBefore.BaseReg, AMBefore.ScaledReg)) in IsProfitableToFoldIntoAddressingMode()
3059 ScaledReg = nullptr; in IsProfitableToFoldIntoAddressingMode()
3063 if (!BaseReg && !ScaledReg) in IsProfitableToFoldIntoAddressingMode()
3272 if (AddrMode.Scale && AddrMode.ScaledReg->getType()->isPointerTy()) { in OptimizeMemoryInst()
3278 ResultPtr = AddrMode.ScaledReg; in OptimizeMemoryInst()
3298 Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
3327 Value *V = AddrMode.ScaledReg; in OptimizeMemoryInst()
3401 Value *V = AddrMode.ScaledReg; in OptimizeMemoryInst()