Home
last modified time | relevance | path

Searched refs:isNullConstant (Results 1 – 25 of 25) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYISelDAGToDAG.cpp306 if (isNullConstant(Op2)) { in selectAddCarry()
349 if (isNullConstant(Op2)) { in selectSubCarry()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1902 if (isNullConstant(Op1)) in EmitCmp()
1954 if (Op0.hasOneUse() && isNullConstant(Op1) && in LowerSETCC()
1965 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
1972 bool Invert = (CC == ISD::SETNE) ^ isNullConstant(Op1); in LowerSETCC()
1990 if (!isNullConstant(Op1)) { in LowerSETCC()
2077 isNullConstant(Cond.getOperand(1).getOperand(0))) { in LowerSELECT()
2091 if (isNullConstant(Y) && in LowerSELECT()
2116 if (!isNullConstant(Op2)) in LowerSELECT()
2225 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT()
2293 isNullConstant(Cond.getOperand(1)) && in LowerBRCOND()
H A DM68kISelDAGToDAG.cpp339 if (llvm::isNullConstant(U->getOperand(0))) in INITIALIZE_PASS()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVECustomDAG.cpp552 if (isNullConstant(BasePtr)) in getGatherScatterAddress()
H A DVEISelLowering.cpp2785 (isNullConstant(RHS) || isNullFPConstant(RHS))) { in generateComparison()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2355 if (CC != ISD::SETEQ || !isNullConstant(SetCC.getOperand(1)) || in foldAddSubBoolOfMaskedVal()
2458 if (isNullConstant(N1)) in visitADDLike()
2743 if (isNullConstant(N1)) in visitADDSAT()
2888 if (N1.getOpcode() == ISD::ADDCARRY && isNullConstant(N1.getOperand(1)) && in visitADDLikeCommutative()
2921 if (isNullConstant(N1)) in visitADDC()
3029 if (N1.getOpcode() == ISD::ADDCARRY && isNullConstant(N1.getOperand(1))) { in visitUADDOLike()
3078 if (isNullConstant(CarryIn)) { in visitADDCARRY()
3085 if (isNullConstant(N0) && isNullConstant(N1)) { in visitADDCARRY()
3128 if (isNullConstant(CarryIn)) { in visitSADDO_CARRY()
3174 isNullConstant(Carry0.getOperand(1))) { in combineADDCARRYDiamond()
[all …]
H A DTargetLowering.cpp798 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyMultipleUseDemandedBits()
1673 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyDemandedBits()
2894 if (isNullConstant(Idx)) { in SimplifyDemandedVectorElts()
3024 (isNullConstant(SrcOp) || isNullFPConstant(SrcOp))) { in SimplifyDemandedVectorElts()
3157 KnownZero.setBitVal(Idx, isNullConstant(Scl) || isNullFPConstant(Scl)); in SimplifyDemandedVectorElts()
3736 if (Cond == ISD::SETNE && isNullConstant(N1) && in foldSetCCWithAnd()
3753 if (AndC && isNullConstant(N1) && AndC->getAPIntValue().isPowerOf2() && in foldSetCCWithAnd()
6368 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareUREMEqFold()
6622 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareSREMEqFold()
H A DSelectionDAG.cpp3903 if (isNullConstant(N1)) in computeOverflowKind()
5763 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
5769 isNullConstant(V); }); in isUndef()
10874 bool llvm::isNullConstant(SDValue V) { in isNullConstant() function in llvm
11285 !isNullConstant(Extract->getOperand(1))) in matchBinOpReduction()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1533 if (isIntEqualitySetCC(CC) && isNullConstant(RHS) && in translateSetCCForBranch()
2792 (!Const || isNullConstant(Scalar) || !isInt<5>(Const->getSExtValue()))) in lowerScalarSplat()
2800 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat()
2859 if (!isNullConstant(Scalar) && isInt<5>(Const->getSExtValue()) && in lowerScalarInsert()
4602 if (isNullConstant(TrueV)) { in lowerSELECT()
4608 if (isNullConstant(FalseV)) { in lowerSELECT()
5249 if (isNullConstant(Idx)) { in lowerINSERT_VECTOR_ELT()
5271 if (isNullConstant(Idx)) { in lowerINSERT_VECTOR_ELT()
5334 if (isNullConstant(Idx)) { in lowerEXTRACT_VECTOR_ELT()
5400 if (!isNullConstant(Idx)) { in lowerEXTRACT_VECTOR_ELT()
[all …]
H A DRISCVISelDAGToDAG.cpp2579 !isNullConstant(N->getOperand(1))) in doPeepholeSExtW()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4707 isNullConstant(BitcastOp->getOperand(0))) in isFloatingPointZero()
4828 if (isNullConstant(RHS)) { in getARMCmp()
5419 if (isNullConstant(LowerSatConstant)) { in LowerSELECT_CC()
5743 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC()
10175 isNullConstant(N->getOperand(0)))); in isZeroVector()
12337 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
12936 if (!isNullConstant(UmlalNode->getOperand(3))) in AddCombineTo64bitUMAAL()
12939 if ((isNullConstant(AddeNode->getOperand(0)) && in AddCombineTo64bitUMAAL()
12942 isNullConstant(AddeNode->getOperand(1)))) { in AddCombineTo64bitUMAAL()
12970 isNullConstant(AddeNode->getOperand(0)) && in PerformUMLALCombine()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6375 return isNullConstant(Elt) || isNullFPConstant(Elt); in isZeroNode()
6641 isNullConstant(Src.getOperand(2))) { in collectConcatOps()
6648 Sub.getOperand(0) == Src && isNullConstant(Sub.getOperand(1))) { in collectConcatOps()
7077 (isNullConstant(V.getOperand(1)) || V.getOperand(0).hasOneUse())) { in IsNOT()
8670 !isNullConstant(Src.getOperand(1)) || in getFauxShuffleMask()
9701 return !V || V.isUndef() || isNullConstant(V); in lowerBuildVectorAsBroadcast()
20003 if (llvm::isNullConstant(Idx) && !X86::mayFoldIntoZeroExtend(Op) && in LowerEXTRACT_VECTOR_ELT_SSE4()
20024 if ((User->getOpcode() != ISD::STORE || isNullConstant(Idx)) && in LowerEXTRACT_VECTOR_ELT_SSE4()
21165 if (!isNullConstant(Extract.getOperand(1))) { in vectorizeExtractedCast()
24193 if (isNullConstant(Op1)) in EmitCmp()
[all …]
H A DX86InstrFragmentsSIMD.td1102 return !isNullConstant(N->getOperand(1));
1115 return !isNullConstant(N->getOperand(1));
H A DX86ISelDAGToDAG.cpp764 isNullConstant(Root->getOperand(2)) && in IsProfitableToFold()
3256 IsNegate = isNullConstant(StoredVal.getOperand(0)); in foldLoadStoreIntoMemOperand()
5606 if (!isNullConstant(N1)) in Select()
5917 if (isNullConstant(Node->getOperand(0)) && in Select()
5918 isNullConstant(Node->getOperand(1))) { in Select()
H A DX86InstrInfo.cpp7129 if (isNullConstant(BeforeOps[1])) { in unfoldMemoryOperand()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2845 return isNullConstant(Opnd0) || isNullFPConstant(Opnd0); in isZerosVector()
3021 return Op.getOpcode() == ISD::SUB && isNullConstant(Op.getOperand(0)) && in isCMN()
3076 } else if (isNullConstant(RHS) && !isUnsignedIntSetCC(CC)) { in emitComparison()
3168 if (isNullConstant(SubOp0) && (CC == ISD::SETEQ || CC == ISD::SETNE)) { in emitConditionalComparison()
8847 if ((Cond == ISD::SETEQ || Cond == ISD::SETNE) && isNullConstant(RHS) && in performOrXorChainCombine()
9052 if (isNullConstant(TVal.getOperand(0))) { in LowerSELECT_CC()
10134 if (!isNullConstant(Op)) in LowerAsmOperandForConstraint()
16132 if (!isNullConstant(CSel0.getOperand(0)) || in performANDORCSELCombine()
16134 !isNullConstant(CSel1.getOperand(0)) || in performANDORCSELCombine()
16493 !isNullConstant(N->getOperand(1))) in performFirstTrueTestVectorCombine()
[all …]
H A DAArch64ISelDAGToDAG.cpp217 if (isNullConstant(Opnd0)) in SelectDupZeroOrUndef()
235 if (isNullConstant(Opnd0)) in SelectDupZero()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2041 if (isNullConstant(RHS) && CC == ISD::SETNE && in LookThroughSetCC()
2048 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
2655 isNullConstant(RHS) && !ISD::isUnsignedIntSetCC(CC) && IsEligibleType) in LowerSELECT_CC()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1683 bool isNullConstant(SDValue V);
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp800 return isNullConstant(Op); in isHWFalseValue()
H A DAMDGPUISelLowering.cpp4772 if (!isNullConstant(Op.getOperand(1))) in ComputeNumSignBitsForTargetNode()
H A DSIISelLowering.cpp3103 if (Callee.isUndef() || isNullConstant(Callee)) { in LowerCall()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2514 LeadingZero &= isNullConstant(UniquedVals[i]); in get_VSPLTI_elt()
14115 if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) && in combineSetCC()
14121 if (RHS.getOpcode() == ISD::SUB && isNullConstant(RHS.getOperand(0)) && in combineSetCC()
15286 if (isNullConstant(N->getOperand(0))) // 0 << V -> 0. in PerformDAGCombine()
15290 if (isNullConstant(N->getOperand(0))) // 0 >>u V -> 0. in PerformDAGCombine()
H A DPPCISelDAGToDAG.cpp4748 isNullConstant(LHS.getOperand(1))) in trySelectLoopCountIntrinsic()