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

/external/llvm/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp66 /// MatchScaledValue - Try adding ScaleReg*Scale to the current addressing mode.
69 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, argument
71 // If Scale is 1, then this is the same as adding ScaleReg to the addressing
74 return MatchAddr(ScaleReg, Depth);
82 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg)
90 TestAddrMode.ScaledReg = ScaleReg;
99 // Okay, we decided that we can add ScaleReg+Scale to AddrMode. Check now
100 // to see if ScaleReg is actually X+C. If so, we can turn this into adding
103 if (isa<Instruction>(ScaleReg) && // not a constant expr.
104 match(ScaleReg, m_Ad
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DAddrModeMatcher.h97 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);

Completed in 73 milliseconds