Searched refs:AndCst (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 236 CmpInst &ICI, ConstantInt *AndCst) { in FoldCmpLoadFromIndexedGlobal() argument 318 if (AndCst) Elt = ConstantExpr::getAnd(Elt, AndCst); in FoldCmpLoadFromIndexedGlobal() 1641 ConstantInt *AndCst = cast<ConstantInt>(LHSI->getOperand(1)); in visitICmpInstWithInstAndIntCst() local 1652 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst() 1655 ConstantExpr::getZExt(AndCst, Cast->getSrcTy())); in visitICmpInstWithInstAndIntCst() 1671 ConstantExpr::getTrunc(AndCst, Ty)); in visitICmpInstWithInstAndIntCst() 1705 if (!ICI.isSigned() || (!AndCst->isNegative() && !RHS->isNegative())) in visitICmpInstWithInstAndIntCst() 1717 cast<ConstantInt>(ConstantExpr::getShl(AndCst, ShAmt)); in visitICmpInstWithInstAndIntCst() 1747 NewAndCst = ConstantExpr::getLShr(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst() 1749 NewAndCst = ConstantExpr::getShl(AndCst, ShAmt); in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineAndOrXor.cpp | 920 ConstantInt *AndCst, *SmallCst = nullptr, *BigCst = nullptr; in FoldAndOfICmps() local 925 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps() 929 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps() 940 if ((Low & AndCst->getValue()) == 0 && (Low & BigCst->getValue()) == 0) { in FoldAndOfICmps() 941 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps() 943 Value *NewVal = ConstantInt::get(AndCst->getType()->getContext(), N); in FoldAndOfICmps()
|
D | InstCombineInternal.h | 269 ConstantInt *AndCst = nullptr);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 779 ConstantInt *AndCst, *SmallCst = 0, *BigCst = 0; in FoldAndOfICmps() local 783 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps() 789 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps() 800 if ((Low & AndCst->getValue()) == 0 && (Low & BigCst->getValue()) == 0) { in FoldAndOfICmps() 801 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps() 803 Value *NewVal = ConstantInt::get(AndCst->getType()->getContext(), N); in FoldAndOfICmps()
|
D | InstCombine.h | 140 ConstantInt *AndCst = 0);
|
D | InstCombineCompares.cpp | 202 CmpInst &ICI, ConstantInt *AndCst) { in FoldCmpLoadFromIndexedGlobal() argument 283 if (AndCst) Elt = ConstantExpr::getAnd(Elt, AndCst); in FoldCmpLoadFromIndexedGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 813 ConstantInt *AndCst = nullptr);
|
D | InstCombineCompares.cpp | 177 ConstantInt *AndCst) { in foldCmpLoadFromIndexedGlobal() argument 261 if (AndCst) Elt = ConstantExpr::getAnd(Elt, AndCst); in foldCmpLoadFromIndexedGlobal()
|