Home
last modified time | relevance | path

Searched refs:N1IsConst (Results 1 – 2 of 2) 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-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2856 bool N1IsConst = false; in visitMUL() local
2866 N1IsConst = ISD::isConstantSplatVector(N1.getNode(), ConstValue1); in visitMUL()
2870 assert((!N1IsConst || in visitMUL()
2879 N1IsConst = isa<ConstantSDNode>(N1); in visitMUL()
2880 if (N1IsConst) { in visitMUL()
2887 if (N0IsConst && N1IsConst && !N0IsOpaqueConst && !N1IsOpaqueConst) in visitMUL()
2896 if (N1IsConst && ConstValue1.isNullValue()) in visitMUL()
2899 if (N1IsConst && ConstValue1.isOneValue()) in visitMUL()
2906 if (N1IsConst && ConstValue1.isAllOnesValue()) { in visitMUL()
2922 if (N1IsConst && !N1IsOpaqueConst && (-ConstValue1).isPowerOf2()) { in visitMUL()