Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1510 ConstantInt *AddCst; in FoldOrOfICmps() local
1511 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps()
1512 if (RHSCst->getValue() + AddCst->getValue() == LHSCst->getValue()) in FoldOrOfICmps()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1843 ConstantInt *AddCst; in FoldOrOfICmps() local
1844 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps()
1845 if (RHSCst->getValue() + AddCst->getValue() == LHSCst->getValue()) in FoldOrOfICmps()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3020 const APInt AddCst = ICmpCst.lshr(1); in foldICmpWithTruncSignExtendedVal() local
3021 assert(AddCst.ult(ICmpCst) && AddCst.isPowerOf2()); in foldICmpWithTruncSignExtendedVal()
3024 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()