Home
last modified time | relevance | path

Searched refs:AndConst (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp1302 const auto *AndConst = Result.Nodes.getNodeAs<Expr>("and-const"); in check() local
1303 assert(AndConst && "Expr* 'AndCont' is nullptr!"); in check()
1305 AndConst->getIntegerConstantExpr(*Result.Context); in check()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1306 Constant *AndConst = ConstantInt::get(A->getType(), AndValue); in visitZExt() local
1307 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask"); in visitZExt()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp2427 SDValue AndConst = DAG.getConstant(1, dl, SrcVT); in ExpandLegalINT_TO_FP() local
2428 SDValue And = DAG.getNode(ISD::AND, dl, SrcVT, Op0, AndConst); in ExpandLegalINT_TO_FP()
H A DDAGCombiner.cpp16080 const APInt &AndConst = cast<ConstantSDNode>(AndOp1)->getAPIntValue(); in rebuildSetCC() local
16082 if (AndConst.isPowerOf2() && in rebuildSetCC()
16083 cast<ConstantSDNode>(Op1)->getAPIntValue() == AndConst.logBase2()) { in rebuildSetCC()
23303 ConstantSDNode *AndConst = getAsNonOpaqueConstant(N0.getOperand(1)); in visitFP16_TO_FP() local
23304 if (AndConst && AndConst->getAPIntValue() == 0xffff) { in visitFP16_TO_FP()