Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp272 const SCEV *ScaledReg; member
281 ScaledReg(nullptr), UnfoldedOffset(0) {} in Formula()
384 if (ScaledReg) in isCanonical()
402 ScaledReg = BaseRegs.back(); in canonicalize()
408 while (Try < BaseRegsSize && !isa<SCEVAddRecExpr>(ScaledReg)) in canonicalize()
409 std::swap(ScaledReg, BaseRegs[Try++]); in canonicalize()
420 BaseRegs.push_back(ScaledReg); in unscale()
421 ScaledReg = nullptr; in unscale()
428 return !!ScaledReg + BaseRegs.size(); in getNumRegs()
435 ScaledReg ? ScaledReg->getType() : in getType()
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2027 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
[all …]