Home
last modified time | relevance | path

Searched refs:ScaleReg (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp67 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, in MatchScaledValue() argument
72 return MatchAddr(ScaleReg, Depth); in MatchScaledValue()
80 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in MatchScaledValue()
88 TestAddrMode.ScaledReg = ScaleReg; in MatchScaledValue()
101 if (isa<Instruction>(ScaleReg) && // not a constant expr. in MatchScaledValue()
102 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in MatchScaledValue()
109 AddrModeInsts.push_back(cast<Instruction>(ScaleReg)); in MatchScaledValue()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DAddrModeMatcher.h97 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2649 bool matchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);
2664 bool AddressingModeMatcher::matchScaledValue(Value *ScaleReg, int64_t Scale, in matchScaledValue() argument
2669 return matchAddr(ScaleReg, Depth); in matchScaledValue()
2677 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in matchScaledValue()
2685 TestAddrMode.ScaledReg = ScaleReg; in matchScaledValue()
2698 if (isa<Instruction>(ScaleReg) && // not a constant expr. in matchScaledValue()
2699 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in matchScaledValue()
2706 AddrModeInsts.push_back(cast<Instruction>(ScaleReg)); in matchScaledValue()