Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp1280 const auto *AndConst = Result.Nodes.getNodeAs<Expr>("and-const"); in check() local
1281 assert(AndConst && "Expr* 'AndCont' is nullptr!"); in check()
1283 AndConst->getIntegerConstantExpr(*Result.Context); in check()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp901 Constant *AndConst = ConstantInt::get(A->getType(), AndValue); in visitZExt() local
902 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask"); in visitZExt()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1242 Constant *AndConst = ConstantInt::get(A->getType(), AndValue); in visitZExt() local
1243 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask"); in visitZExt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1157 Constant *AndConst = ConstantInt::get(A->getType(), AndValue); in visitZExt() local
1158 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask"); in visitZExt()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp9493 const APInt &AndConst = cast<ConstantSDNode>(AndOp1)->getAPIntValue(); in visitBRCOND() local
9495 if (AndConst.isPowerOf2() && in visitBRCOND()
9496 cast<ConstantSDNode>(Op1)->getAPIntValue()==AndConst.logBase2()) { in visitBRCOND()
13828 ConstantSDNode *AndConst = getAsNonOpaqueConstant(N0.getOperand(1)); in visitFP16_TO_FP() local
13829 if (AndConst && AndConst->getAPIntValue() == 0xffff) { in visitFP16_TO_FP()
DLegalizeDAG.cpp2369 SDValue AndConst = DAG.getConstant(1, dl, MVT::i64); in ExpandLegalINT_TO_FP() local
2370 SDValue And = DAG.getNode(ISD::AND, dl, MVT::i64, Op0, AndConst); in ExpandLegalINT_TO_FP()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2504 SDValue AndConst = DAG.getConstant(1, dl, SrcVT); in ExpandLegalINT_TO_FP() local
2505 SDValue And = DAG.getNode(ISD::AND, dl, SrcVT, Op0, AndConst); in ExpandLegalINT_TO_FP()
DDAGCombiner.cpp14617 const APInt &AndConst = cast<ConstantSDNode>(AndOp1)->getAPIntValue(); in rebuildSetCC() local
14619 if (AndConst.isPowerOf2() && in rebuildSetCC()
14620 cast<ConstantSDNode>(Op1)->getAPIntValue() == AndConst.logBase2()) { in rebuildSetCC()
21134 ConstantSDNode *AndConst = getAsNonOpaqueConstant(N0.getOperand(1)); in visitFP16_TO_FP() local
21135 if (AndConst && AndConst->getAPIntValue() == 0xffff) { in visitFP16_TO_FP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp13582 const APInt &AndConst = cast<ConstantSDNode>(AndOp1)->getAPIntValue(); in rebuildSetCC() local
13584 if (AndConst.isPowerOf2() && in rebuildSetCC()
13585 cast<ConstantSDNode>(Op1)->getAPIntValue() == AndConst.logBase2()) { in rebuildSetCC()
19727 ConstantSDNode *AndConst = getAsNonOpaqueConstant(N0.getOperand(1)); in visitFP16_TO_FP() local
19728 if (AndConst && AndConst->getAPIntValue() == 0xffff) { in visitFP16_TO_FP()
DTargetLowering.cpp6233 SDValue AndConst = DAG.getConstant(1, dl, SrcVT); in expandUINT_TO_FP() local
6234 SDValue And = DAG.getNode(ISD::AND, dl, SrcVT, Src, AndConst); in expandUINT_TO_FP()