Searched defs:ScaleReg (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp64 /// MatchScaledValue - Try adding ScaleReg*Scale to the current addressing mode.
67 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, argument
69 // If Scale is 1, then this is the same as adding ScaleReg to the addressing
72 return MatchAddr(ScaleReg, Depth);
80 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg)
88 TestAddrMode.ScaledReg = ScaleReg;
97 // Okay, we decided that we can add ScaleReg+Scale to AddrMode. Check now
98 // to see if ScaleReg is actually X+C. If so, we can turn this into adding
101 if (isa<Instruction>(ScaleReg) && // not a constant expr.
102 match(ScaleReg, m_Ad
[all...]

Completed in 43 milliseconds