Searched refs:Cst1 (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 4194 ConstantInt *Cst1; in visitICmpInst() local 4197 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) || in visitICmpInst() 4199 match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) && in visitICmpInst() 4201 APInt Pow2 = Cst1->getValue() + 1; in visitICmpInst() 4210 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst() 4211 match(Op1, m_OneUse(m_LShr(m_Value(B), m_Specific(Cst1))))) || in visitICmpInst() 4212 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst() 4213 match(Op1, m_OneUse(m_AShr(m_Value(B), m_Specific(Cst1)))))) { in visitICmpInst() 4214 unsigned TypeBits = Cst1->getBitWidth(); in visitICmpInst() 4215 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in visitICmpInst() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1251 SDNode *Cst1, SDNode *Cst2); 1254 const ConstantSDNode *Cst1,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2534 ConstantInt *Cst1; in visitICmpInst() local 2538 match(Op1, m_ConstantInt(Cst1)) && in visitICmpInst() 2549 APInt CmpV = Cst1->getValue().zext(ASize); in visitICmpInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3268 EVT VT, const ConstantSDNode *Cst1, in FoldConstantArithmetic() argument 3270 if (Cst1->isOpaque() || Cst2->isOpaque()) in FoldConstantArithmetic() 3273 std::pair<APInt, bool> Folded = FoldValue(Opcode, Cst1->getAPIntValue(), in FoldConstantArithmetic() 3301 EVT VT, SDNode *Cst1, in FoldConstantArithmetic() argument 3310 if (const ConstantSDNode *Scalar1 = dyn_cast<ConstantSDNode>(Cst1)) { in FoldConstantArithmetic() 3320 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Cst1)) in FoldConstantArithmetic() 3324 return FoldSymbolOffset(Opcode, VT, GA, Cst1); in FoldConstantArithmetic() 3328 BuildVectorSDNode *BV1 = dyn_cast<BuildVectorSDNode>(Cst1); in FoldConstantArithmetic()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAG.h | 957 ConstantSDNode *Cst1,
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2641 ConstantSDNode *Cst1, in FoldConstantArithmetic() argument 2643 const APInt &C1 = Cst1->getAPIntValue(), &C2 = Cst2->getAPIntValue(); in FoldConstantArithmetic()
|