Home
last modified time | relevance | path

Searched refs:N1IsConst (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2012 bool N1IsConst = false; in visitMUL() local
2022 N1IsConst = ISD::isConstantSplatVector(N1.getNode(), ConstValue1); in visitMUL()
2029 N1IsConst = isa<ConstantSDNode>(N1); in visitMUL()
2030 if (N1IsConst) { in visitMUL()
2037 if (N0IsConst && N1IsConst && !N0IsOpaqueConst && !N1IsOpaqueConst) in visitMUL()
2046 if (N1IsConst && ConstValue1 == 0) in visitMUL()
2053 if (N1IsConst && ConstValue1 == 1 && IsFullSplat) in visitMUL()
2056 if (N1IsConst && ConstValue1.isAllOnesValue()) { in visitMUL()
2062 if (N1IsConst && !N1IsOpaqueConst && ConstValue1.isPowerOf2() && in visitMUL()
2070 if (N1IsConst && !N1IsOpaqueConst && (-ConstValue1).isPowerOf2() && in visitMUL()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3439 bool N1IsConst = false; in visitMUL() local
3449 N1IsConst = ISD::isConstantSplatVector(N1.getNode(), ConstValue1); in visitMUL()
3453 assert((!N1IsConst || in visitMUL()
3462 N1IsConst = isa<ConstantSDNode>(N1); in visitMUL()
3463 if (N1IsConst) { in visitMUL()
3470 if (N0IsConst && N1IsConst && !N0IsOpaqueConst && !N1IsOpaqueConst) in visitMUL()
3479 if (N1IsConst && ConstValue1.isNullValue()) in visitMUL()
3482 if (N1IsConst && ConstValue1.isOneValue()) in visitMUL()
3489 if (N1IsConst && ConstValue1.isAllOnesValue()) { in visitMUL()
3505 if (N1IsConst && !N1IsOpaqueConst && (-ConstValue1).isPowerOf2()) { in visitMUL()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3665 bool N1IsConst = false; in visitMUL() local
3674 N1IsConst = ISD::isConstantSplatVector(N1.getNode(), ConstValue1); in visitMUL()
3675 assert((!N1IsConst || in visitMUL()
3679 N1IsConst = isa<ConstantSDNode>(N1); in visitMUL()
3680 if (N1IsConst) { in visitMUL()
3696 if (N1IsConst && ConstValue1.isNullValue()) in visitMUL()
3700 if (N1IsConst && ConstValue1.isOneValue()) in visitMUL()
3707 if (N1IsConst && ConstValue1.isAllOnesValue()) { in visitMUL()
3725 if (N1IsConst && !N1IsOpaqueConst && (-ConstValue1).isPowerOf2()) { in visitMUL()
3752 if (N1IsConst && TLI.decomposeMulByConstant(*DAG.getContext(), VT, N1)) { in visitMUL()