Searched refs:Cst1 (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 3735 ConstantInt *Cst1; in visitICmpInst() local 3738 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) || in visitICmpInst() 3740 match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) && in visitICmpInst() 3742 APInt Pow2 = Cst1->getValue() + 1; in visitICmpInst() 3751 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst() 3752 match(Op1, m_OneUse(m_LShr(m_Value(B), m_Specific(Cst1))))) || in visitICmpInst() 3753 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_ConstantInt(Cst1)))) && in visitICmpInst() 3754 match(Op1, m_OneUse(m_AShr(m_Value(B), m_Specific(Cst1)))))) { in visitICmpInst() 3755 unsigned TypeBits = Cst1->getBitWidth(); in visitICmpInst() 3756 unsigned ShAmt = (unsigned)Cst1->getLimitedValue(TypeBits); in visitICmpInst() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1160 SDNode *Cst1, SDNode *Cst2); 1163 const ConstantSDNode *Cst1,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3226 const ConstantSDNode *Cst1, in FoldConstantArithmetic() argument 3228 if (Cst1->isOpaque() || Cst2->isOpaque()) in FoldConstantArithmetic() 3231 std::pair<APInt, bool> Folded = FoldValue(Opcode, Cst1->getAPIntValue(), in FoldConstantArithmetic() 3239 SDNode *Cst1, SDNode *Cst2) { in FoldConstantArithmetic() argument 3247 if (const ConstantSDNode *Scalar1 = dyn_cast<ConstantSDNode>(Cst1)) { in FoldConstantArithmetic() 3266 BuildVectorSDNode *BV1 = dyn_cast<BuildVectorSDNode>(Cst1); in FoldConstantArithmetic()
|