Home
last modified time | relevance | path

Searched refs:isOneConstant (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1751 if (NumSignBits == DestBits && isOneConstant(N1->getOperand(1))) { in visitADD()
2477 if (isOneConstant(N1)) { in visitMULHS()
2518 if (isOneConstant(N1)) in visitMULHU()
4190 if (isOneConstant(N1) && N0.getOpcode() == ISD::ZERO_EXTEND && in visitXOR()
4202 if (isOneConstant(N1) && VT == MVT::i1 && in visitXOR()
4271 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
5086 if (VT == MVT::i1 && isOneConstant(N1)) in visitSELECT()
5103 isNullConstant(N1) && isOneConstant(N2)) { in visitSELECT()
5125 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()
5135 if (VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()
[all …]
DSelectionDAG.cpp6696 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp578 isOneConstant(U->getOperand(0).getOperand(0))) in IsProfitableToFold()
582 isOneConstant(U->getOperand(1).getOperand(0))) in IsProfitableToFold()
DX86ISelLowering.cpp18151 if (isOneConstant(Op0.getOperand(0))) { in LowerAndToBT()
18737 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
18991 isOneConstant(Cmp.getOperand(0).getOperand(1))) { in LowerSELECT()
19032 isOneConstant(Cond.getOperand(1))) in LowerSELECT()
19638 if (isOneConstant(Op.getOperand(1))) in isXor1OfSetCC()
19683 isOneConstant(Cond.getOperand(1))) in LowerBRCOND()
19728 if (isOneConstant(RHS)) { in LowerBRCOND()
19735 if (isOneConstant(RHS)) { in LowerBRCOND()
24051 if (isOneConstant(RHS)) { in LowerXALUO()
24066 if (isOneConstant(RHS)) { in LowerXALUO()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1367 bool isOneConstant(SDValue V);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1981 !isOneConstant(SetCC.getOperand(0).getOperand(1))) in foldAddSubBoolOfMaskedVal()
2204 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
3418 if (isOneConstant(N1)) in visitMULHS()
3465 if (isOneConstant(N1)) in visitMULHU()
6029 if (isOneConstant(N1) && N0.getOpcode() == ISD::ZERO_EXTEND && in visitXOR()
6041 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
6112 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
7165 if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()
7178 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()
12115 if (isOneConstant(Op0) && Op0.hasOneUse() && in rebuildSetCC()
[all …]
DSelectionDAG.cpp8075 bool llvm::isOneConstant(SDValue V) { in isOneConstant() function in llvm
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1590 bool isOneConstant(SDValue V);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp4730 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
4743 if ((CC == ISD::SETNE) != isOneConstant(RHS)) { in LowerBR_CC()
5603 if (!isOneConstant(N->getOperand(1))) in Expand64BitShift()
10319 isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) { in PerformAddcSubcCombine()
12654 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1919 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1930 isOneConstant(LHS.getOperand(0)) && in LookThroughSetCC()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3637 if (LHS.getResNo() == 1 && isOneConstant(RHS) && in LowerBR_CC()
9150 if (!isOneConstant(IfFalse.getOperand(1))) in performAcrossLaneMinMaxReductionCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2051 if (isOneConstant(Other) && isOverflowIntrOpRes(Sel)) { in LowerXOR()
4283 if (isOverflowIntrOpRes(LHS) && isOneConstant(RHS) && in LowerBR_CC()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp4846 if (!isOneConstant(N->getOperand(1))) in Expand64BitShift()