Searched refs:ScaleReg (Results 1 – 1 of 1) sorted by relevance
2109 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);2124 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, in MatchScaledValue() argument2129 return MatchAddr(ScaleReg, Depth); in MatchScaledValue()2137 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in MatchScaledValue()2145 TestAddrMode.ScaledReg = ScaleReg; in MatchScaledValue()2158 if (isa<Instruction>(ScaleReg) && // not a constant expr. in MatchScaledValue()2159 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in MatchScaledValue()2166 AddrModeInsts.push_back(cast<Instruction>(ScaleReg)); in MatchScaledValue()