Searched refs:AndRHS (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 133 ConstantInt *AndRHS, in OptAndOp() argument 138 Together = ConstantExpr::getAnd(AndRHS, OpRHS); in OptAndOp() 144 Value *And = Builder->CreateAnd(X, AndRHS); in OptAndOp() 155 return BinaryOperator::CreateAnd(Or, AndRHS); in OptAndOp() 163 Together = ConstantExpr::getXor(AndRHS, Together); in OptAndOp() 176 const APInt &AndRHSV = cast<ConstantInt>(AndRHS)->getValue(); in OptAndOp() 196 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp() 198 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp() 209 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); in OptAndOp() 212 ConstantInt *CI = ConstantInt::get(AndRHS->getContext(), in OptAndOp() [all …]
|
D | InstCombineSelect.cpp | 605 ConstantInt *AndRHS; in foldSelectICmpAnd() local 608 !match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd() 631 if (!AndRHS->getValue().isPowerOf2() || in foldSelectICmpAnd() 640 unsigned AndZeros = AndRHS->getValue().logBase2(); in foldSelectICmpAnd()
|
D | InstCombine.h | 365 ConstantInt *AndRHS, BinaryOperator &TheAnd);
|
D | InstCombineSimplifyDemanded.cpp | 357 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1)); in SimplifyDemandedUseBits() local 362 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1471 if (ConstantSDNode *AndRHS = in SimplifySetCC() local 1477 if (AndRHS->getAPIntValue().isPowerOf2()) { in SimplifySetCC() 1480 DAG.getConstant(AndRHS->getAPIntValue().logBase2(), ShiftTy))); in SimplifySetCC() 1482 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC() 1498 if (ConstantSDNode *AndRHS = in SimplifySetCC() local 1500 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
|
D | SelectionDAG.cpp | 4738 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode() 4742 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 9159 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerToBT() local 9160 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerToBT()
|