Searched refs:AndConst (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 1280 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/ |
D | InstCombineCasts.cpp | 901 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/ |
D | InstCombineCasts.cpp | 1242 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/ |
D | InstCombineCasts.cpp | 1157 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/ |
D | DAGCombiner.cpp | 9493 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()
|
D | LegalizeDAG.cpp | 2369 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/ |
D | LegalizeDAG.cpp | 2504 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()
|
D | DAGCombiner.cpp | 14617 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/ |
D | DAGCombiner.cpp | 13582 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()
|
D | TargetLowering.cpp | 6233 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()
|