Searched refs:AndCst (Results 1 - 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 227 /// If AndCst is non-null, then the loaded value is masked with that constant 231 CmpInst &ICI, ConstantInt *AndCst) { 313 if (AndCst) Elt = ConstantExpr::getAnd(Elt, AndCst); 1233 case Instruction::And: // (icmp pred (and X, AndCst), RHS) 1236 ConstantInt *AndCst = cast<ConstantInt>(LHSI->getOperand(1)); local 1247 (!AndCst->isNegative() && RHSV.isNonNegative())) { 1250 ConstantExpr::getZExt(AndCst, Cast->getSrcTy())); 1266 ConstantExpr::getTrunc(AndCst, Ty)); 1300 if (!ICI.isSigned() || (!AndCst 230 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, CmpInst &ICI, ConstantInt *AndCst) argument [all...] |
H A D | InstCombineInternal.h | 273 ConstantInt *AndCst = nullptr);
|
H A D | InstCombineAndOrXor.cpp | 939 ConstantInt *AndCst, *SmallCst = nullptr, *BigCst = nullptr; local 944 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { 948 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { 959 if ((Low & AndCst->getValue()) == 0 && (Low & BigCst->getValue()) == 0) { 960 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); 962 Value *NewVal = ConstantInt::get(AndCst->getType()->getContext(), N);
|
Completed in 243 milliseconds