Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1862 if (isNullConstant(Op1)) in EmitCmp()
1914 if (Op0.hasOneUse() && isNullConstant(Op1) && in LowerSETCC()
1925 if ((isOneConstant(Op1) || isNullConstant(Op1)) && in LowerSETCC()
1932 bool Invert = (CC == ISD::SETNE) ^ isNullConstant(Op1); in LowerSETCC()
1950 if (!isNullConstant(Op1)) { in LowerSETCC()
2037 isNullConstant(Cond.getOperand(1).getOperand(0))) { in LowerSELECT()
2051 if (isNullConstant(Y) && in LowerSELECT()
2076 if (!isNullConstant(Op2)) in LowerSELECT()
2185 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT()
2253 isNullConstant(Cond.getOperand(1)) && in LowerBRCOND()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2286 if (isNullConstant(N1)) in visitADDLike()
2576 if (isNullConstant(N1)) in visitADDSAT()
2744 if (isNullConstant(N1)) in visitADDC()
2908 if (isNullConstant(N0) && isNullConstant(N1)) { in visitADDCARRY()
3632 if (isNullConstant(N1)) in visitSUBSAT()
3655 if (isNullConstant(N1)) in visitSUBC()
3765 if (isNullConstant(N1)) in visitMULFIX()
4479 if (isNullConstant(N1)) in visitMULHS()
4531 if (isNullConstant(N1)) in visitMULHU()
6479 if (isNullConstant(N1)) in visitOR()
[all …]
H A DTargetLowering.cpp778 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyMultipleUseDemandedBits()
1420 (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode()))) in SimplifyDemandedBits()
2439 if (isNullConstant(Idx)) { in SimplifyDemandedVectorElts()
2561 (isNullConstant(SrcOp) || isNullFPConstant(SrcOp))) { in SimplifyDemandedVectorElts()
2676 KnownZero.setBitVal(Idx, isNullConstant(Scl) || isNullFPConstant(Scl)); in SimplifyDemandedVectorElts()
5613 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareUREMEqFold()
5867 turnVectorIntoSplatVector(PAmts, isNullConstant); in prepareSREMEqFold()
H A DSelectionDAG.cpp3589 if (isNullConstant(N1)) in computeOverflowKind()
5183 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
5189 isNullConstant(V); }); in isUndef()
9527 bool llvm::isNullConstant(SDValue V) { in isNullConstant() function in llvm
9893 !isNullConstant(Extract->getOperand(1))) in matchBinOpReduction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4735 if (isNullConstant(RHS)) { in getARMCmp()
5326 if (isNullConstant(LowerSatConstant)) { in LowerSELECT_CC()
9893 isNullConstant(N->getOperand(0)))); in isZeroVector()
12649 if (!isNullConstant(UmlalNode->getOperand(3))) in AddCombineTo64bitUMAAL()
12704 isNullConstant(LHS->getOperand(0)) && in PerformAddcSubcCombine()
13477 isNullConstant(Mask->getOperand(1)) && in PerformMVEVMULLCombine()
13479 isNullConstant(Mask->getOperand(3))) in PerformMVEVMULLCombine()
16889 if (!isNullConstant(CmpZ->getOperand(1))) in PerformCMOVToBFICombine()
17239 if (isNullConstant(FalseVal)) { in PerformCMOVCombine()
17280 } else if (isNullConstant(TrueVal)) { in PerformCMOVCombine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22527 if (isNullConstant(Op1)) in EmitCmp()
23480 if (isNullConstant(Op1)) { in EmitAVX512Test()
23494 if (!isNullConstant(Op1)) in EmitAVX512Test()
23904 if (isNullConstant(Y) && in LowerSELECT()
24028 (isNullConstant(Op1) || isNullConstant(Op2))) { in LowerSELECT()
40250 isNullConstant(N0.getOperand(1))) in combineBitcast()
40329 isNullConstant(N0.getOperand(1))) { in combineBitcast()
41114 assert(isNullConstant(Index) && in combineArithReduction()
48387 isNullConstant(V.getOperand(1))) { in combineFMA()
49314 if (!isNullConstant(N->getOperand(1))) in combineCMP()
[all …]
H A DX86InstrFragmentsSIMD.td1032 return !isNullConstant(N->getOperand(1));
1045 return !isNullConstant(N->getOperand(1));
H A DX86ISelDAGToDAG.cpp709 isNullConstant(Root->getOperand(2)) && in IsProfitableToFold()
3145 IsNegate = isNullConstant(StoredVal.getOperand(0)); in foldLoadStoreIntoMemOperand()
5414 if (!isNullConstant(N1)) in Select()
5672 if (isNullConstant(Node->getOperand(0)) && in Select()
5673 isNullConstant(Node->getOperand(1))) { in Select()
H A DX86InstrInfo.cpp6541 if (isNullConstant(BeforeOps[1])) { in unfoldMemoryOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3385 if (isNullConstant(Idx)) { in lowerINSERT_VECTOR_ELT()
3459 if (!isNullConstant(Idx)) { in lowerEXTRACT_VECTOR_ELT()
5220 if (!isNullConstant(Idx)) { in ReplaceNodeResults()
5708 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in combineSelectCCAndUse()
6116 if (LHS.getOpcode() == ISD::SETCC && isNullConstant(RHS) && in PerformDAGCombine()
6139 if (LHS.getOpcode() == ISD::XOR && isNullConstant(RHS)) in PerformDAGCombine()
6171 if (LHS.getOpcode() == ISD::SETCC && isNullConstant(RHS) && in PerformDAGCombine()
6192 if (LHS.getOpcode() == ISD::XOR && isNullConstant(RHS)) in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2472 return Op.getOpcode() == ISD::SUB && isNullConstant(Op.getOperand(0)) && in isCMN()
2518 } else if (isNullConstant(RHS) && !isUnsignedIntSetCC(CC)) { in emitComparison()
2611 if (isNullConstant(SubOp0) && (CC == ISD::SETEQ || CC == ISD::SETNE)) { in emitConditionalComparison()
4273 if (!isNullConstant(BasePtr)) in selectGatherScatterAddrMode()
7350 if (isNullConstant(TVal.getOperand(0))) { in LowerSELECT_CC()
8353 if (!isNullConstant(Op)) in LowerAsmOperandForConstraint()
14842 if (!isNullConstant(EltVal) && !isNullFPConstant(EltVal)) in replaceZeroVectorStore()
15704 if (isNullConstant(LHS)) in performBRCONDCombine()
15707 if (!isNullConstant(RHS)) in performBRCONDCombine()
16541 if (!isNullConstant(InsertIdx)) in removeRedundantInsertVectorElt()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1635 bool isNullConstant(SDValue V);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1894 if (isNullConstant(RHS) && in LookThroughSetCC()
1902 isNullConstant(LHS.getOperand(1))) { in LookThroughSetCC()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp849 return isNullConstant(Op); in isHWFalseValue()
H A DAMDGPUISelLowering.cpp4670 if (!isNullConstant(Op.getOperand(1))) in ComputeNumSignBitsForTargetNode()
H A DSIISelLowering.cpp2989 if (Callee.isUndef() || isNullConstant(Callee)) { in LowerCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2448 LeadingZero &= isNullConstant(UniquedVals[i]); in get_VSPLTI_elt()
13619 if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) && in combineSetCC()
13625 if (RHS.getOpcode() == ISD::SUB && isNullConstant(RHS.getOperand(0)) && in combineSetCC()
14747 if (isNullConstant(N->getOperand(0))) // 0 << V -> 0. in PerformDAGCombine()
14751 if (isNullConstant(N->getOperand(0))) // 0 >>u V -> 0. in PerformDAGCombine()
15386 !isNullConstant(LHS.getOperand(1))) in PerformDAGCombine()