Home
last modified time | relevance | path

Searched refs:ScaledReg (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp253 const SCEV *ScaledReg; member
262 ScaledReg(nullptr), UnfoldedOffset(0) {} in Formula()
369 if (ScaledReg) in isCanonical()
387 ScaledReg = BaseRegs.back(); in Canonicalize()
393 while (Try < BaseRegsSize && !isa<SCEVAddRecExpr>(ScaledReg)) in Canonicalize()
394 std::swap(ScaledReg, BaseRegs[Try++]); in Canonicalize()
405 BaseRegs.push_back(ScaledReg); in Unscale()
406 ScaledReg = nullptr; in Unscale()
414 return !!ScaledReg + BaseRegs.size(); in getNumRegs()
421 ScaledReg ? ScaledReg->getType() : in getType()
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1547 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
[all …]