| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelDAGToDAG.cpp | 302 if (isNullConstant(Op2)) { in selectAddCarry() 345 if (isNullConstant(Op2)) { in selectSubCarry()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.cpp | 1874 if (isNullConstant(Op1)) in EmitCmp() 1926 if (Op0.hasOneUse() && isNullConstant(Op1) && in LowerSETCC() 1937 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC() 1944 bool Invert = (CC == ISD::SETNE) ^ isNullConstant(Op1); in LowerSETCC() 1962 if (!isNullConstant(Op1)) { in LowerSETCC() 2049 isNullConstant(Cond.getOperand(1).getOperand(0))) { in LowerSELECT() 2063 if (isNullConstant(Y) && in LowerSELECT() 2088 if (!isNullConstant(Op2)) in LowerSELECT() 2197 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT() 2265 isNullConstant(Cond.getOperand(1)) && in LowerBRCOND()
|
| H A D | M68kISelDAGToDAG.cpp | 333 if (llvm::isNullConstant(U->getOperand(0))) in IsProfitableToFold()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VECustomDAG.cpp | 552 if (isNullConstant(BasePtr)) in getGatherScatterAddress()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2449 if (isNullConstant(N1)) in visitADDLike() 2734 if (isNullConstant(N1)) in visitADDSAT() 2902 if (isNullConstant(N1)) in visitADDC() 3066 if (isNullConstant(N0) && isNullConstant(N1)) { in visitADDCARRY() 3807 if (isNullConstant(N1)) in visitSUBSAT() 3830 if (isNullConstant(N1)) in visitSUBC() 3940 if (isNullConstant(N1)) in visitMULFIX() 4677 if (isNullConstant(N1)) in visitMULHS() 4737 if (isNullConstant(N1)) in visitMULHU() 7042 if (isNullConstant(N1)) in visitOR() [all …]
|
| H A D | TargetLowering.cpp | 807 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyMultipleUseDemandedBits() 1678 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyDemandedBits() 2867 if (isNullConstant(Idx)) { in SimplifyDemandedVectorElts() 2997 (isNullConstant(SrcOp) || isNullFPConstant(SrcOp))) { in SimplifyDemandedVectorElts() 3130 KnownZero.setBitVal(Idx, isNullConstant(Scl) || isNullFPConstant(Scl)); in SimplifyDemandedVectorElts() 3686 if (Cond == ISD::SETNE && isNullConstant(N1) && in foldSetCCWithAnd() 6264 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareUREMEqFold() 6518 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareSREMEqFold()
|
| H A D | SelectionDAG.cpp | 3833 if (isNullConstant(N1)) in computeOverflowKind() 5541 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef() 5547 isNullConstant(V); }); in isUndef() 10614 bool llvm::isNullConstant(SDValue V) { in isNullConstant() function in llvm 10982 !isNullConstant(Extract->getOperand(1))) in matchBinOpReduction()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 4801 if (isNullConstant(RHS)) { in getARMCmp() 5392 if (isNullConstant(LowerSatConstant)) { in LowerSELECT_CC() 10101 isNullConstant(N->getOperand(0)))); in isZeroVector() 12917 isNullConstant(LHS->getOperand(0)) && in PerformAddcSubcCombine() 13954 isNullConstant(Mask->getOperand(1)) && in PerformMVEVMULLCombine() 13956 isNullConstant(Mask->getOperand(3))) in PerformMVEVMULLCombine() 14758 isNullConstant(CSInc.getOperand(0)) && in IsCMPZCSINC() 17797 if (!isNullConstant(CmpZ->getOperand(1))) in PerformCMOVToBFICombine() 18164 if (isNullConstant(FalseVal)) { in PerformCMOVCombine() 18205 } else if (isNullConstant(TrueVal)) { in PerformCMOVCombine() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23740 if (isNullConstant(Op1)) in EmitCmp() 24723 if (isNullConstant(Op1)) { in EmitAVX512Test() 24737 if (!isNullConstant(Op1)) in EmitAVX512Test() 25298 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT() 39924 isNullConstant(Src.getOperand(1)) && in combineTargetShuffle() 42700 isNullConstant(N0.getOperand(1))) in combineBitcast() 42779 isNullConstant(N0.getOperand(1))) { in combineBitcast() 43709 assert(isNullConstant(Index) && in combineArithReduction() 51760 isNullConstant(V.getOperand(1))) { in combineFMA() 53053 if (!isNullConstant(N->getOperand(1))) in combineCMP() [all …]
|
| H A D | X86InstrFragmentsSIMD.td | 1082 return !isNullConstant(N->getOperand(1)); 1095 return !isNullConstant(N->getOperand(1));
|
| H A D | X86ISelDAGToDAG.cpp | 760 isNullConstant(Root->getOperand(2)) && in IsProfitableToFold() 3250 IsNegate = isNullConstant(StoredVal.getOperand(0)); in foldLoadStoreIntoMemOperand() 5576 if (!isNullConstant(N1)) in Select() 5887 if (isNullConstant(Node->getOperand(0)) && in Select() 5888 isNullConstant(Node->getOperand(1))) { in Select()
|
| H A D | X86InstrInfo.cpp | 7078 if (isNullConstant(BeforeOps[1])) { in unfoldMemoryOperand()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 9186 if (!isNullConstant(Op)) in LowerAsmOperandForConstraint() 14770 if (!isNullConstant(CSel0.getOperand(0)) || in performANDORCSELCombine() 14772 !isNullConstant(CSel1.getOperand(0)) || in performANDORCSELCombine() 15054 !isNullConstant(N->getOperand(1))) in performFirstTrueTestVectorCombine() 15924 if (!isNullConstant(CmpOp.getOperand(0))) in foldOverflowCheck() 15944 if (!isNullConstant(RHS)) in foldADCToCINC() 18225 if (isNullConstant(LHS)) in performBRCONDCombine() 18228 if (!isNullConstant(RHS)) in performBRCONDCombine() 18270 if (!isNullConstant(Zero) || !isNullConstant(SUBS.getOperand(1))) in foldCSELofCTTZ() 19341 if (!isNullConstant(InsertIdx)) in removeRedundantInsertVectorElt() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1394 if (isIntEqualitySetCC(CC) && isNullConstant(RHS) && in translateSetCCForBranch() 2468 (!Const || isNullConstant(Scalar) || !isInt<5>(Const->getSExtValue()))) in lowerScalarSplat() 2476 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat() 4516 if (isNullConstant(Idx)) { in lowerINSERT_VECTOR_ELT() 4631 if (!isNullConstant(Idx)) { in lowerEXTRACT_VECTOR_ELT() 7246 if (!isNullConstant(Idx)) { in ReplaceNodeResults() 7555 isNullConstant(V.getOperand(1)) && in combineBinOpToReduce() 7970 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in combineSelectAndUse() 8759 if (LHS.getOpcode() == ISD::SETCC && isNullConstant(RHS) && in combine_CC() 8777 if (LHS.getOpcode() == ISD::XOR && isNullConstant(RHS)) { in combine_CC() [all …]
|
| H A D | RISCVISelDAGToDAG.cpp | 2352 !isNullConstant(N->getOperand(1))) in doPeepholeSExtW()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.cpp | 1331 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 1994 if (isNullConstant(RHS) && in LookThroughSetCC() 2002 isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1666 bool isNullConstant(SDValue V);
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelLowering.cpp | 796 return isNullConstant(Op); in isHWFalseValue()
|
| H A D | AMDGPUISelLowering.cpp | 4640 if (!isNullConstant(Op.getOperand(1))) in ComputeNumSignBitsForTargetNode()
|
| H A D | SIISelLowering.cpp | 3062 if (Callee.isUndef() || isNullConstant(Callee)) { in LowerCall()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 2501 LeadingZero &= isNullConstant(UniquedVals[i]); in get_VSPLTI_elt() 13973 if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) && in combineSetCC() 13979 if (RHS.getOpcode() == ISD::SUB && isNullConstant(RHS.getOperand(0)) && in combineSetCC() 15120 if (isNullConstant(N->getOperand(0))) // 0 << V -> 0. in PerformDAGCombine() 15124 if (isNullConstant(N->getOperand(0))) // 0 >>u V -> 0. in PerformDAGCombine() 15756 !isNullConstant(LHS.getOperand(1))) in PerformDAGCombine()
|