Searched refs:AndRHS (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 125 ConstantInt *AndRHS, in OptAndOp() argument 130 Together = ConstantExpr::getAnd(AndRHS, OpRHS); in OptAndOp() 136 Value *And = Builder->CreateAnd(X, AndRHS); in OptAndOp() 147 return BinaryOperator::CreateAnd(Or, AndRHS); in OptAndOp() 155 Together = ConstantExpr::getXor(AndRHS, Together); in OptAndOp() 168 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp() 188 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp() 190 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp() 201 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); in OptAndOp() 204 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShlMask); in OptAndOp() [all …]
|
D | InstCombineSelect.cpp | 762 ConstantInt *AndRHS; in foldSelectICmpAnd() local 764 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd() 787 if (!AndRHS->getValue().isPowerOf2() || in foldSelectICmpAnd() 796 unsigned AndZeros = AndRHS->getValue().logBase2(); in foldSelectICmpAnd()
|
D | InstCombine.h | 381 ConstantInt *AndRHS, BinaryOperator &TheAnd);
|
D | InstCombineSimplifyDemanded.cpp | 358 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1)); in SimplifyDemandedUseBits() local 363 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1641 if (ConstantSDNode *AndRHS = in SimplifySetCC() local 1647 if (AndRHS->getAPIntValue().isPowerOf2()) { in SimplifySetCC() 1650 DAG.getConstant(AndRHS->getAPIntValue().logBase2(), ShiftTy))); in SimplifySetCC() 1652 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC() 1668 if (ConstantSDNode *AndRHS = in SimplifySetCC() local 1670 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
|
D | SelectionDAG.cpp | 5023 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode() 5027 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 3341 SDValue AndRHS = LHS->getOperand(1); in SelectBFE() local 3345 std::swap(AndLHS, AndRHS); in SelectBFE() 3348 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in SelectBFE()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 11977 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerToBT() local 11978 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerToBT()
|