Searched refs:ScaleReg (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 67 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/ |
D | AddrModeMatcher.h | 97 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2649 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()
|