Searched refs:AndRHS (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 162 ConstantInt *AndRHS, in OptAndOp() argument 167 Together = ConstantExpr::getAnd(AndRHS, OpRHS); in OptAndOp() 173 Value *And = Builder->CreateAnd(X, AndRHS); in OptAndOp() 184 return BinaryOperator::CreateAnd(Or, AndRHS); in OptAndOp() 192 Together = ConstantExpr::getXor(AndRHS, Together); in OptAndOp() 205 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp() 225 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp() 227 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp() 238 uint32_t BitWidth = AndRHS->getType()->getBitWidth(); in OptAndOp() 241 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShlMask); in OptAndOp() [all …]
|
D | InstCombineSelect.cpp | 765 ConstantInt *AndRHS; in foldSelectICmpAnd() local 767 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd() 790 if (!AndRHS->getValue().isPowerOf2() || in foldSelectICmpAnd() 799 unsigned AndZeros = AndRHS->getValue().logBase2(); in foldSelectICmpAnd()
|
D | InstCombineSimplifyDemanded.cpp | 388 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1)); in SimplifyDemandedUseBits() local 393 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
|
D | InstCombineInternal.h | 552 ConstantInt *AndRHS, BinaryOperator &TheAnd);
|
/external/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 242 Value *AndRHS = CmpBO->getOperand(1); in extractAlignmentInfo() local 244 const SCEV *AndRHSSCEV = SE->getSCEV(AndRHS); in extractAlignmentInfo() 246 std::swap(AndLHS, AndRHS); in extractAlignmentInfo()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 409 if (ConstantInt *AndRHS = dyn_cast<ConstantInt>(LHS->getOperand(1))) in calcZeroHeuristics() local 410 if (AndRHS->getUniqueInteger().isPowerOf2()) in calcZeroHeuristics()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1713 if (ConstantSDNode *AndRHS = in SimplifySetCC() local 1720 if (AndRHS->getAPIntValue().isPowerOf2()) { in SimplifySetCC() 1723 DAG.getConstant(AndRHS->getAPIntValue().logBase2(), dl, in SimplifySetCC() 1726 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC() 1744 if (ConstantSDNode *AndRHS = in SimplifySetCC() local 1746 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
|
D | SelectionDAG.cpp | 5529 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode() 5533 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 4866 SDValue AndRHS = LHS->getOperand(1); in SelectBFE() local 4870 std::swap(AndLHS, AndRHS); in SelectBFE() 4873 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in SelectBFE()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 2188 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local 2192 std::swap(AndLHS, AndRHS); in emitCompareAndBranch() 2194 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 14157 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerToBT() local 14158 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerToBT() 19570 SDValue AndRHS = GetMask(Srl, APInt::getSplat(Len, APInt(8, 0x33))); in LowerVectorCTPOPBitmath() local 19571 V = DAG.getNode(ISD::ADD, DL, VT, AndLHS, AndRHS); in LowerVectorCTPOPBitmath()
|