Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYISelDAGToDAG.cpp306 if (isNullConstant(Op2)) { in selectAddCarry()
349 if (isNullConstant(Op2)) { in selectSubCarry()
/openbsd/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/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/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2458 if (isNullConstant(N1)) in visitADDLike()
2743 if (isNullConstant(N1)) in visitADDSAT()
2921 if (isNullConstant(N1)) in visitADDC()
3085 if (isNullConstant(N0) && isNullConstant(N1)) { in visitADDCARRY()
3858 if (isNullConstant(N1)) in visitSUBSAT()
3881 if (isNullConstant(N1)) in visitSUBC()
3991 if (isNullConstant(N1)) in visitMULFIX()
4744 if (isNullConstant(N1)) in visitMULHS()
4804 if (isNullConstant(N1)) in visitMULHU()
7203 if (isNullConstant(N1)) in visitOR()
[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/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp4602 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()
8054 if (!isNullConstant(Idx)) { in ReplaceNodeResults()
10012 if (isNullConstant(RHS)) { in combine_CC()
10316 if (isNullConstant(TrueV)) { in PerformDAGCombine()
10323 if (isNullConstant(FalseV)) { in PerformDAGCombine()
[all …]
H A DRISCVISelDAGToDAG.cpp2579 !isNullConstant(N->getOperand(1))) in doPeepholeSExtW()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4828 if (isNullConstant(RHS)) { in getARMCmp()
5419 if (isNullConstant(LowerSatConstant)) { in LowerSELECT_CC()
10175 isNullConstant(N->getOperand(0)))); in isZeroVector()
12991 isNullConstant(LHS->getOperand(0)) && in PerformAddcSubcCombine()
14031 isNullConstant(Mask->getOperand(1)) && in PerformMVEVMULLCombine()
14033 isNullConstant(Mask->getOperand(3))) in PerformMVEVMULLCombine()
14835 isNullConstant(CSInc.getOperand(0)) && in IsCMPZCSINC()
17874 if (!isNullConstant(CmpZ->getOperand(1))) in PerformCMOVToBFICombine()
18241 if (isNullConstant(FalseVal)) { in PerformCMOVCombine()
18282 } else if (isNullConstant(TrueVal)) { in PerformCMOVCombine()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24193 if (isNullConstant(Op1)) in EmitCmp()
25176 if (isNullConstant(Op1)) { in EmitAVX512Test()
25190 if (!isNullConstant(Op1)) in EmitAVX512Test()
25751 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT()
43884 isNullConstant(N0.getOperand(1))) in combineBitcast()
44893 assert(isNullConstant(Index) && in combineArithReduction()
48409 isNullConstant(N->getOperand(2))) in combineVectorInsert()
49750 isNullConstant(N0.getOperand(0))) { in combineOr()
53097 isNullConstant(V.getOperand(1))) { in combineFMA()
54390 if (!isNullConstant(N->getOperand(1))) in combineCMP()
[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/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10134 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()
17392 if (!isNullConstant(CmpOp.getOperand(0))) in foldOverflowCheck()
17412 if (!isNullConstant(RHS)) in foldADCToCINC()
20046 if (isNullConstant(LHS)) in performBRCONDCombine()
20049 if (!isNullConstant(RHS)) in performBRCONDCombine()
20091 if (!isNullConstant(Zero) || !isNullConstant(SUBS.getOperand(1))) in foldCSELofCTTZ()
21239 if (!isNullConstant(InsertIdx)) in removeRedundantInsertVectorElt()
[all …]
H A DAArch64ISelDAGToDAG.cpp217 if (isNullConstant(Opnd0)) in SelectDupZeroOrUndef()
235 if (isNullConstant(Opnd0)) in SelectDupZero()
/openbsd/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/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1683 bool isNullConstant(SDValue V);
/openbsd/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/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()