reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/CodeGen/SelectionDAGNodes.h
 1662 bool isNullConstant(SDValue V);

References

gen/lib/Target/X86/X86GenDAGISel.inc
253751   return !isNullConstant(N->getOperand(1));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 2016   if (CC != ISD::SETEQ || !isNullConstant(SetCC.getOperand(1)) ||
 2109   if (isNullConstant(N1))
 2347   if (isNullConstant(N1))
 2482   if (N1.getOpcode() == ISD::ADDCARRY && isNullConstant(N1.getOperand(1)) &&
 2515   if (isNullConstant(N1))
 2641   if (N1.getOpcode() == ISD::ADDCARRY && isNullConstant(N1.getOperand(1))) {
 2690   if (isNullConstant(CarryIn)) {
 2697   if (isNullConstant(N0) && isNullConstant(N1)) {
 2697   if (isNullConstant(N0) && isNullConstant(N1)) {
 2753       isNullConstant(Carry0.getOperand(1))) {
 2822       isNullConstant(N1) && !N->hasAnyUseOfValue(1))
 3193   if (isNullConstant(N1))
 3216   if (isNullConstant(N1))
 3284   if (isNullConstant(CarryIn)) {
 3311   if (isNullConstant(N1))
 3965   if (isNullConstant(N1))
 4012   if (isNullConstant(N1))
 4141   if (isNullConstant(N->getOperand(1))) {
 4486       ((isNullConstant(LR) && isAllOnesConstant(RR)) ||
 4487        (isAllOnesConstant(LR) && isNullConstant(RR)))) {
 5774   if (isNullConstant(N1))
 6892   if (isNullConstant(N1))
 6962       isNullConstant(N0.getOperand(0))) {
 8344   if (VT == VT0 && VT == MVT::i1 && isNullConstant(N1)) {
 8357   if (VT == VT0 && VT == MVT::i1 && (N0 == N2 || isNullConstant(N2)))
 8874   if (isNullConstant(Carry))
13552   if (isNullConstant(Offset))
13773       if (isNullConstant(Offset))
17399     if (isNullConstant(Op) || isNullFPConstant(Op)) {
18237   if (isNullConstant(Index) && V.getOpcode() == ISD::EXTRACT_SUBVECTOR &&
19303       N1.getOperand(0).isUndef() && isNullConstant(N1.getOperand(2)))
19914   if (!isNullConstant(N3) || !XType.bitsGE(AType))
19923     if (!(isAllOnesConstant(N1) || (isNullConstant(N1) && N0 == N2)))
19928     if (!(isNullConstant(N1) || (isOneConstant(N1) && N0 == N2)))
20069       N0->getValueType(0) == VT && isNullConstant(N1) && isNullConstant(N2) &&
20069       N0->getValueType(0) == VT && isNullConstant(N1) && isNullConstant(N2) &&
20094   bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2();
20095   bool Swap = N3C && isNullConstant(N2) && N3C->getAPIntValue().isPowerOf2();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3333   if (isNullConstant(N1))
 4779     if (Divisor.isUndef() || isNullConstant(Divisor))
 4785                                         isNullConstant(V); });
 9020       !isNullConstant(Extract->getOperand(1)))
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1261           (isNullConstant(Op1) || ISD::isBuildVectorAllZeros(Op1.getNode())))
 2237                  (isNullConstant(SrcOp) || isNullFPConstant(SrcOp))) {
 2333       if (isNullConstant(Scl) || isNullFPConstant(Scl))
 5030       turnVectorIntoSplatVector(PAmts, isNullConstant);
 5233       turnVectorIntoSplatVector(PAmts, isNullConstant);
lib/Target/AArch64/AArch64ISelLowering.cpp
 1598   return Op.getOpcode() == ISD::SUB && isNullConstant(Op.getOperand(0)) &&
 1633   } else if (LHS.getOpcode() == ISD::AND && isNullConstant(RHS) &&
 1718     if (isNullConstant(SubOp0) && (CC == ISD::SETEQ || CC == ISD::SETNE)) {
 5070       if (isNullConstant(TVal.getOperand(0))) {
 6081     if (!isNullConstant(Op))
10716     if (!isNullConstant(EltVal) && !isNullFPConstant(EltVal))
11434   if (isNullConstant(LHS))
11437   if (!isNullConstant(RHS))
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 4545     if (!isNullConstant(Op.getOperand(1)))
lib/Target/AMDGPU/R600ISelLowering.cpp
  937   return isNullConstant(Op);
lib/Target/AMDGPU/SIISelLowering.cpp
 2684   if (Callee.isUndef() || isNullConstant(Callee)) {
lib/Target/ARM/ARMISelLowering.cpp
 4173         isNullConstant(BitcastOp->getOperand(0)))
 4294   if (isNullConstant(RHS)) {
 4908     if (isNullConstant(LowerSatConstant)) {
 5234   if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) &&
 8997        isNullConstant(PassThru->getOperand(0))));
10819   return AllOnes ? isAllOnesConstant(N) : isNullConstant(N);
11419   if (!isNullConstant(UmlalNode->getOperand(3)))
11422   if ((isNullConstant(AddeNode->getOperand(0)) &&
11425        isNullConstant(AddeNode->getOperand(1)))) {
11453       isNullConstant(AddeNode->getOperand(0)) &&
11454       isNullConstant(AddeNode->getOperand(1)) &&
11474         isNullConstant(LHS->getOperand(0)) &&
11475         isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) {
13964   if (!isNullConstant(CmpZ->getOperand(1)))
14310   if (isNullConstant(FalseVal)) {
14339     } else if (CC == ARMCC::NE && !isNullConstant(RHS) &&
14351   } else if (isNullConstant(TrueVal)) {
14352     if (CC == ARMCC::EQ && !isNullConstant(RHS) &&
14385        (FalseVal == LHS && isNullConstant(RHS))) &&
15396       if (Op->getOpcode() == ARMISD::ADDE && isNullConstant(LHS) &&
15397           isNullConstant(RHS)) {
lib/Target/Lanai/LanaiISelLowering.cpp
 1326   return AllOnes ? isAllOnesConstant(N) : isNullConstant(N);
lib/Target/PowerPC/PPCISelLowering.cpp
 2140       LeadingZero &= isNullConstant(UniquedVals[i]);
 8300         else if (isNullConstant(BVN->getOperand(i)))
12590     if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) &&
12596     if (RHS.getOpcode() == ISD::SUB && isNullConstant(RHS.getOperand(0)) &&
13381     if (isNullConstant(N->getOperand(0))) // 0 << V -> 0.
13385     if (isNullConstant(N->getOperand(0))) // 0 >>u V -> 0.
14003         !isNullConstant(LHS.getOperand(1)))
lib/Target/Sparc/SparcISelLowering.cpp
 1883   if (isNullConstant(RHS) &&
 1891       isNullConstant(LHS.getOperand(1))) {
lib/Target/X86/X86ISelDAGToDAG.cpp
  707       isNullConstant(Root->getOperand(2)) &&
 2958     IsNegate = isNullConstant(StoredVal.getOperand(0));
 4976     if (!isNullConstant(N1))
lib/Target/X86/X86ISelLowering.cpp
 5355   return isNullConstant(Elt) || isNullFPConstant(Elt);
 5591         isNullConstant(Src.getOperand(2))) {
 5872       (isNullConstant(V.getOperand(1)) || V.getOperand(0).hasOneUse())) {
 8127     if (!(Op->getOperand(i).isUndef() || isNullConstant(Op->getOperand(i))))
 8137     } else if (!(isNullConstant(Op->getOperand(i)) ||
10341     if (CondElt.isUndef() || isNullConstant(CondElt))
17304          isNullConstant(Op.getOperand(1))) &&
18401   if (!isNullConstant(Extract.getOperand(1))) {
20136   if (isNullConstant(Op1))
20963   if (isNullConstant(Op1)) {
20977   if (!isNullConstant(Op1))
21008   if (Op0.getOpcode() == ISD::AND && Op0.hasOneUse() && isNullConstant(Op1) &&
21016   if (Op0.getOpcode() == ISD::OR && isNullConstant(Op1) &&
21028   if ((isOneConstant(Op1) || isNullConstant(Op1)) &&
21033       bool Invert = (CC == ISD::SETNE) ^ isNullConstant(Op1);
21327       isNullConstant(Cond.getOperand(1).getOperand(1))) {
21339       if (isNullConstant(Y) &&
21360       if (!isNullConstant(Op2))
21471         (isNullConstant(Op1) || isNullConstant(Op2))) {
21471         (isNullConstant(Op1) || isNullConstant(Op2))) {
21977         isNullConstant(Cond.getOperand(1)) &&
23291       if (isNullConstant(Op.getOperand(1))) {
27166   if (Opc == ISD::ATOMIC_LOAD_OR && isNullConstant(RHS)) {
32346           MayFoldLoad(Src.getOperand(1)) && isNullConstant(Src.getOperand(2))) {
34031         isNullConstant(SrcOp.getOperand(1)))
34224       isNullConstant(N->getOperand(0).getOperand(2))) {
35545       isNullConstant(N0.getOperand(1)))
35591         AllUndefOrZero &= (Op.isUndef() || isNullConstant(Op));
35613         isNullConstant(N0.getOperand(1))) {
36084       isNullConstant(Idx)) {
36176   if (!Vec.hasOneUse() || !isNullConstant(Index) || VecVT.getScalarType() != VT)
36280   assert(isNullConstant(Index) &&
36439       VT == MVT::i64 && SrcVT == MVT::v1i64 && isNullConstant(EltIdx)) {
36449       VT == MVT::i32 && SrcVT == MVT::v2i32 && isNullConstant(EltIdx)) {
36994         isNullConstant(Cond.getOperand(1)) &&
37027              isNullConstant(Op.getOperand(1)) &&
37476     if (!isNullConstant(Cond->getOperand(1)))
37766       Cond.getOpcode() == X86ISD::CMP && isNullConstant(Cond.getOperand(1))) {
39533            isNullConstant(N->getOperand(1).getOperand(1)) &&
40368   bool LoadFirstElt = !isNullConstant(MaskBV->getOperand(0));
40369   bool LoadLastElt = !isNullConstant(MaskBV->getOperand(NumElts - 1));
40798         llvm::isNullConstant(Op.getOperand(1))) {
42519         isNullConstant(V.getOperand(1))) {
42667   bool IsOrXorXorCCZero = isNullConstant(Y) && X.getOpcode() == ISD::OR &&
42670   if (isNullConstant(Y) && !IsOrXorXorCCZero)
42827     if (LHS.getOpcode() == ISD::SUB && isNullConstant(LHS.getOperand(0)) &&
42834     if (RHS.getOpcode() == ISD::SUB && isNullConstant(RHS.getOperand(0)) &&
43159       !isNullConstant(ExtElt.getOperand(1)))
43357   if (!isNullConstant(N->getOperand(1)))
43490   if (Op0.getOpcode() == ISD::SUB && isNullConstant(Op1) &&
44442         isNullConstant(SubVec.getOperand(1)) &&
44445       if (isNullConstant(Ins.getOperand(2)) &&
44672       InVec.hasOneUse() && isNullConstant(InVec.getOperand(2)) &&
lib/Target/X86/X86InstrInfo.cpp
 5685       if (isNullConstant(BeforeOps[1])) {