Home
last modified time | relevance | path

Searched refs:isAllOnesConstant (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp1886 if (isAllOnesConstant(N0)) in visitSUB()
1983 if (isAllOnesConstant(N0)) in visitSUBC()
2880 if (isAllOnesConstant(LR)) { in visitANDLike()
2900 Op0 == ISD::SETNE && ((isNullConstant(LR) && isAllOnesConstant(RR)) || in visitANDLike()
2901 (isAllOnesConstant(LR) && isNullConstant(RR)))) { in visitANDLike()
3089 if (isAllOnesConstant(N1)) in visitAND()
3639 if (isAllOnesConstant(LR) && (Op1 == ISD::SETNE || Op1 == ISD::SETGT)) { in visitORLike()
3819 if (isAllOnesConstant(N1)) in visitOR()
4214 if (isAllOnesConstant(N1) && in visitXOR()
4271 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
DSelectionDAG.cpp6691 bool llvm::isAllOnesConstant(SDValue V) { in isAllOnesConstant() function in llvm
6702 return V.getOpcode() == ISD::XOR && isAllOnesConstant(V.getOperand(1)); in isBitwiseNot()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1365 bool isAllOnesConstant(SDValue V);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1280 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2780 if (isAllOnesConstant(N0)) in visitSUBC()
2812 if (isAllOnesConstant(N0)) in visitUSUBO()
3895 ((isNullConstant(LR) && isAllOnesConstant(RR)) || in foldLogicOfSetCCs()
3896 (isAllOnesConstant(LR) && isNullConstant(RR)))) { in foldLogicOfSetCCs()
4339 if (!isAllOnesConstant(M->getOperand(0))) in unfoldExtremeBitClearingToShifts()
4405 if (isAllOnesConstant(N1)) in visitAND()
5107 if (isAllOnesConstant(N1)) in visitOR()
6053 if (isAllOnesConstant(N1) && N0.hasOneUse() && in visitXOR()
6112 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
8344 if (CC == ISD::SETGT && isAllOnesConstant(Ones) && VT == XVT) { in foldExtendedSignBitTest()
[all …]
DSelectionDAG.cpp8070 bool llvm::isAllOnesConstant(SDValue V) { in isAllOnesConstant() function in llvm
8081 return V.getOpcode() == ISD::XOR && isAllOnesConstant(V.getOperand(1)); in isBitwiseNot()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1587 bool isAllOnesConstant(SDValue V);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp15524 bool IsAllOnesElt = VT.isInteger() && llvm::isAllOnesConstant(N1); in LowerINSERT_VECTOR_ELT()
18683 } else if (isAllOnesConstant(Op1)) { in EmitKTEST()
18956 if ((isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) && in LowerSELECT()
18958 SDValue Y = isAllOnesConstant(Op2) ? Op1 : Op2; in LowerSELECT()
18965 (isAllOnesConstant(Op1) == (CondCode == X86::COND_NE))) { in LowerSELECT()
18983 if (isAllOnesConstant(Op1) != (CondCode == X86::COND_E)) in LowerSELECT()
19121 (isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) && in LowerSELECT()
19126 if (isAllOnesConstant(Op1) != (CondCode == X86::COND_B)) in LowerSELECT()
20290 if (isAllOnesConstant(Mask)) in getMaskNode()
20338 if (isAllOnesConstant(Mask)) in getVectorMaskingNode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp930 return isAllOnesConstant(Op); in isHWTrueValue()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1098 return isAllOnesConstant(Op); in isHWTrueValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp4466 } else if (isAllOnesConstant(LowerSatConstant)) in LowerSELECT_CC()
9660 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3970 if (isAllOnesConstant(TVal.getOperand(1))) { in LowerSELECT_CC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4614 if (isAllOnesConstant(TVal.getOperand(1))) { in LowerSELECT_CC()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1643 LeadingOnes &= isAllOnesConstant(UniquedVals[i]); in get_VSPLTI_elt()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp8589 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2079 LeadingOnes &= isAllOnesConstant(UniquedVals[i]); in get_VSPLTI_elt()