/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYISelDAGToDAG.cpp | 313 if (isNullConstant(Op2)) { in selectAddCarry() 356 if (isNullConstant(Op2)) { in selectSubCarry()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kISelLowering.cpp | 2104 if (isNullConstant(Op1)) in EmitCmp() 2156 if (Op0.hasOneUse() && isNullConstant(Op1) && in LowerSETCC() 2167 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC() 2174 bool Invert = (CC == ISD::SETNE) ^ isNullConstant(Op1); in LowerSETCC() 2192 if (!isNullConstant(Op1)) { in LowerSETCC() 2279 isNullConstant(Cond.getOperand(1).getOperand(0))) { in LowerSELECT() 2292 if (isNullConstant(Y) && in LowerSELECT() 2317 if (!isNullConstant(Op2)) in LowerSELECT() 2383 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT() 2462 isNullConstant(Cond.getOperand(1)) && in LowerBRCOND()
|
H A D | M68kISelDAGToDAG.cpp | 348 if (llvm::isNullConstant(U->getOperand(0))) in INITIALIZE_PASS()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.cpp | 68 if (isNullConstant(Src)) in EmitSpecializedLibcall()
|
H A D | ARMISelLowering.cpp | 4739 isNullConstant(BitcastOp->getOperand(0))) in isFloatingPointZero() 4858 if (isNullConstant(RHS)) { in getARMCmp() 5449 if (isNullConstant(LowerSatConstant)) { in LowerSELECT_CC() 5773 if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) && in LowerBR_CC() 10260 isNullConstant(N->getOperand(0)))); in isZeroVector() 12503 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes() 13102 if (!isNullConstant(UmlalNode->getOperand(3))) in AddCombineTo64bitUMAAL() 13105 if ((isNullConstant(AddeNode->getOperand(0)) && in AddCombineTo64bitUMAAL() 13108 isNullConstant(AddeNode->getOperand(1)))) { in AddCombineTo64bitUMAAL() 13136 isNullConstant(AddeNode->getOperand(0)) && in PerformUMLALCombine() [all …]
|
H A D | ARMISelDAGToDAG.cpp | 1139 if (!isNullConstant(N)) in SelectThumbAddrModeRRSext() 2727 return isNullConstant(N->getOperand(OpNo)); in SelectBaseMVE_VMLLDAV() 3561 if (!isNullConstant(Zero) || And->getOpcode() != ISD::AND) in SelectCMPZ() 3991 if (!isNullConstant(Zero) || Subc.getOperand(1) != SmulLoHi.getValue(0) || in Select()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VECustomDAG.cpp | 552 if (isNullConstant(BasePtr)) in getGatherScatterAddress()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 2391 if (isIntEqualitySetCC(CC) && isNullConstant(RHS) && in translateSetCCForBranch() 4332 if (isOneConstant(VL) && isNullConstant(Scalar)) in lowerScalarSplat() 4353 isNullConstant(Scalar.getOperand(1))) { in lowerScalarInsert() 7581 if (isNullConstant(TrueV)) { in combineSelectToBinOp() 7587 if (isNullConstant(FalseV)) { in combineSelectToBinOp() 7715 if (isNullConstant(FalseV)) in lowerSELECT() 7718 if (isNullConstant(TrueV)) in lowerSELECT() 8528 if (isNullConstant(Idx)) { in lowerINSERT_VECTOR_ELT() 8555 if (isNullConstant(Idx)) { in lowerINSERT_VECTOR_ELT() 8625 if (isNullConstant(Id in lowerEXTRACT_VECTOR_ELT() [all...] |
H A D | RISCVISelDAGToDAG.cpp | 2844 if (isNullConstant(RHS)) { in selectSETCC() 3462 !isNullConstant(N->getOperand(1))) in doPeepholeSExtW()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 2670 if (isNullConstant(N1)) in visitADDLike() 3049 if (isNullConstant(N1)) in visitADDSAT() 3209 if (N1.getOpcode() == ISD::UADDO_CARRY && isNullConstant(N1.getOperand(1)) && in visitADDLikeCommutative() 3242 if (isNullConstant(N1)) in visitADDC() 3355 if (N1.getOpcode() == ISD::UADDO_CARRY && isNullConstant(N1.getOperand(1))) { in visitUADDOLike() 3404 if (isNullConstant(CarryIn)) { in visitUADDO_CARRY() 3411 if (isNullConstant(N0) && isNullConstant(N1)) { in visitUADDO_CARRY() 3479 isNullConstant(Carry0.getOperand(1))) { in combineUADDO_CARRYDiamond() 3648 isNullConstant(N1) && !N->hasAnyUseOfValue(1)) in visitUADDO_CARRYLike() 3693 if (isNullConstant(CarryIn)) { in visitSADDO_CARRY() [all …]
|
H A D | SelectionDAG.cpp | 2209 if (SameNumElts || isNullConstant(Splat)) in getVectorShuffle() 4237 if (isNullConstant(N1)) in computeOverflowForSignedAdd() 4252 if (isNullConstant(N1)) in computeOverflowForUnsignedAdd() 4275 if (isNullConstant(N1)) in computeOverflowForSignedSub() 4293 if (isNullConstant(N1)) in computeOverflowForUnsignedSub() 4306 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForUnsignedMul() 4319 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForSignedMul() 5635 if (isNullConstant(Op.getOperand(0))) in isKnownNeverZero() 6357 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef() 6363 isNullConstant(V); }); in isUndef() [all …]
|
H A D | TargetLowering.cpp | 827 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyMultipleUseDemandedBits() 1720 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyDemandedBits() 2836 isNullConstant(Op0)) in SimplifyDemandedBits() 3122 if (isNullConstant(Idx)) { in SimplifyDemandedVectorElts() 3266 (isNullConstant(SrcOp) || isNullFPConstant(SrcOp))) { in SimplifyDemandedVectorElts() 3399 KnownZero.setBitVal(Idx, isNullConstant(Scl) || isNullFPConstant(Scl)); in SimplifyDemandedVectorElts() 3990 if (Cond == ISD::SETNE && isNullConstant(N1) && in foldSetCCWithAnd() 4007 if (AndC && isNullConstant(N1) && AndC->getAPIntValue().isPowerOf2() && in foldSetCCWithAnd() 4057 if (isNullConstant(Y)) in foldSetCCWithAnd() 6818 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareUREMEqFold() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAG.cpp | 1131 return isNullConstant(Op.getOperand(1)) || in ppSimplifyOrSelect0() 1132 isNullConstant(Op.getOperand(2)); in ppSimplifyOrSelect0() 1146 if (isNullConstant(SY)) { in ppSimplifyOrSelect0() 1150 } else if (isNullConstant(SX)) { in ppSimplifyOrSelect0()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 3247 return isNullConstant(Opnd0) || isNullFPConstant(Opnd0); in isZerosVector() 3428 return Op.getOpcode() == ISD::SUB && isNullConstant(Op.getOperand(0)) && in isCMN() 3480 } else if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) && in emitComparison() 3486 } else if (isNullConstant(RHS) && !isUnsignedIntSetCC(CC)) { in emitComparison() 3586 } else if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) && in emitConditionalComparison() 5295 isNullConstant(N0.getOperand(1)) && in LowerMUL() 5297 isNullConstant(N1.getOperand(1))) { in LowerMUL() 9702 if (!isNullConstant(AddrDiscriminator)) in LowerPtrAuthGlobalAddressStatically() 9758 SDValue TAddrDiscriminator = !isNullConstant(AddrDiscriminator) in LowerPtrAuthGlobalAddress() 10289 if ((Cond == ISD::SETEQ || Cond == ISD::SETNE) && isNullConstant(RHS) && in performOrXorChainCombine() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.cpp | 86 if (isNullConstant(Idx) && In.getValueSizeInBits() <= 32) in stripExtractLoElt() 1615 if (Subtarget->hasRestrictedSOffset() && isNullConstant(ByteOffsetNode)) { in SelectBUFSOffset() 2417 isNullConstant(VCMP.getOperand(1))) { in combineBallotPattern() 2452 isNullConstant(Cond->getOperand(1)) && in SelectBRCOND()
|
H A D | R600ISelLowering.cpp | 796 return isNullConstant(Op); in isHWFalseValue() 952 if (isNullConstant(Op.getOperand(0)) && SrcAS == AMDGPUAS::FLAT_ADDRESS) in lowerADDRSPACECAST()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 3780 return isNullConstant(Elt) || isNullFPConstant(Elt); in isZeroNode() 3938 isNullConstant(Vec.getOperand(2))) in extractSubVector() 4078 isNullConstant(Src.getOperand(2))) { in collectConcatOps() 4096 Sub.getOperand(0) == Src && isNullConstant(Sub.getOperand(1))) { in collectConcatOps() 5119 (isNullConstant(V.getOperand(1)) || V.getOperand(0).hasOneUse())) { in IsNOT() 6219 !isNullConstant(Src.getOperand(1)) || in getFauxShuffleMask() 17903 if (llvm::isNullConstant(Idx) && !X86::mayFoldIntoZeroExtend(Op) && in LowerEXTRACT_VECTOR_ELT_SSE4() 17924 if ((User->getOpcode() != ISD::STORE || isNullConstant(Idx)) && in LowerEXTRACT_VECTOR_ELT_SSE4() 19143 if (!isNullConstant(Extract.getOperand(1))) { in vectorizeExtractedCast() 22086 bool IsOrXorXorTreeCCZero = isNullConstant(Y) && isOrXorXorTree(X); in combineVectorSizedSetCCEquality() [all …]
|
H A D | X86ISelDAGToDAG.cpp | 776 isNullConstant(Root->getOperand(2)) && in IsProfitableToFold() 1841 if (isNullConstant(Address) && AM.Segment.getNode() == nullptr && in matchLoadInAddress() 3576 IsNegate = isNullConstant(StoredVal.getOperand(0)); in foldLoadStoreIntoMemOperand() 5991 if (!isNullConstant(N1)) in Select() 6310 if (isNullConstant(Node->getOperand(0)) && in Select() 6311 isNullConstant(Node->getOperand(1))) { in Select()
|
H A D | X86InstrFragmentsSIMD.td | 1087 return !isNullConstant(N->getOperand(1)); 1100 return !isNullConstant(N->getOperand(1));
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 2850 (isNullConstant(RHS) || isAllOnesConstant(RHS)) && in performSETCCCombine() 2855 int Intrin = isNullConstant(RHS) ? Intrinsic::wasm_anytrue in performSETCCCombine() 2868 if ((isNullConstant(RHS) && (Cond == ISD::SETEQ)) || in performSETCCCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 2079 if (isNullConstant(RHS) && CC == ISD::SETNE && in LookThroughSetCC() 2086 isOneConstant(LHS.getOperand(0)) && isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC() 2643 isNullConstant(RHS) && !ISD::isUnsignedIntSetCC(CC)) in LowerBR_CC() 2701 isNullConstant(RHS) && !ISD::isUnsignedIntSetCC(CC) && IsEligibleType) in LowerSELECT_CC()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelDAGToDAG.cpp | 4850 if (!isNullConstant(CmpRHS)) in tryFoldSWTestBRCC() 4899 isNullConstant(LHS.getOperand(1))) in trySelectLoopCountIntrinsic() 5861 if (!isPPC64 && isNullConstant(N->getOperand(1)) && in Select() 5862 isOneConstant(N->getOperand(2)) && isNullConstant(N->getOperand(3)) && in Select() 6725 if (!isNullConstant(Op2->getOperand(0))) in AllUsersSelectZero()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 1327 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 1153 bool andCC = isNullConstant(RHS) && LHS.hasOneUse() && in LowerSETCC()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1755 bool isNullConstant(SDValue V);
|