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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 3603   if (N0C && N0C->isNullValue())
 3695     if (C->isNullValue() || C->isOpaque())
 8236     if (C1->isNullValue() && C2->isOne()) {
 8243     if (C1->isNullValue() && C2->isAllOnesValue()) {
 8250     if (C1->isOne() && C2->isNullValue()) {
 8256     if (C1->isAllOnesValue() && C2->isNullValue()) {
 8312       C1->isNullValue() && C2->isOne()) {
 8561       BottomHalf->isNullValue() ? RHS->getOperand(0) : LHS->getOperand(0),
 8562       TopHalf->isNullValue() ? RHS->getOperand(1) : LHS->getOperand(1));
 8811       if (!SCCC->isNullValue())
15598             IsElementZero = C->isNullValue();
20048       return !(SCCC->isNullValue()) ? N2 : N3;
20146   if (N1C && N1C->isNullValue() && (CC == ISD::SETEQ || CC == ISD::SETNE)) {
20213   if (C->isNullValue())
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 3675     if ((CCCode == ISD::SETLT && CST->isNullValue()) ||     // X < 0
 3727   if ((EqAllowed && (HiCmpC && HiCmpC->isNullValue())) ||
 3729                       (LoCmpC && LoCmpC->isNullValue())))) {
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  538   unsigned Op = !cast<ConstantSDNode>(Arg)->isNullValue();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1696           if (C->isNullValue())
 3706       if (CLHS->isNullValue()) {
 4114           Op, [](ConstantSDNode *C) { return !C->isNullValue(); }))
 5083     if (N2C && N2C->isNullValue())
 5097     if (N2C && N2C->isNullValue())
 5162     if (N2C && N2C->isNullValue())
 6085     isa<ConstantSDNode>(Src) && cast<ConstantSDNode>(Src)->isNullValue();
 6171     if (ConstantSize->isNullValue())
 6287     if (ConstantSize->isNullValue())
 6390     if (ConstantSize->isNullValue())
 7115     return CondC->isNullValue() ? F : T;
 8672   return Const != nullptr && Const->isNullValue();
 8799   return C && C->isNullValue();
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 2756   return CN->isNullValue();
 2825     if (YConst && YConst->isNullValue())
 3218           bool Inverse = (N1C->isNullValue() && Cond == ISD::SETEQ) ||
 3219                          (!N1C->isNullValue() && Cond == ISD::SETNE);
 3378     } else if ((N1C->isNullValue() || N1C->isOne()) &&
 3471     if (N0.getOpcode() == ISD::UREM && N1C->isNullValue() &&
 4576     if (C->isNullValue())
 4657     if (C->isNullValue())
 4763     if (C->isNullValue())
 4948   if (!CompTarget || !CompTarget->isNullValue())
 4959     if (C->isNullValue())
 5121   if (!CompTarget || !CompTarget->isNullValue())
 5134     if (C->isNullValue())
 6865     if (C->isNullValue() && CC == ISD::SETEQ) {
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  151         if (CN->isNullValue())
 2941     if (ConstNode->isNullValue()) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 2085     if (!Cmp && (RHSC->isNullValue() || RHSC->isOne())) {
 2087         if ((CC == ISD::SETNE) ^ RHSC->isNullValue())
 2290   if (CTVal->isAllOnesValue() && CFVal->isNullValue()) {
 2297   if (CTVal->isNullValue() && CFVal->isAllOnesValue()) {
 5051     if (CTVal && CFVal && CTVal->isAllOnesValue() && CFVal->isNullValue()) {
 5055     } else if (CTVal && CFVal && CTVal->isOne() && CFVal->isNullValue()) {
 5133         !RHSVal->isNullValue() && !RHSVal->isAllOnesValue()) {
10229   return TValue->isOne() && FValue->isNullValue();
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
   27   const char *bzeroName = (V && V->isNullValue())
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
   78   return Const != nullptr && Const->isNullValue();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 3429   if (!CmpRhs || !CmpRhs->isNullValue())
lib/Target/AMDGPU/R600ISelLowering.cpp
  918     return Cst->isNullValue();
lib/Target/AMDGPU/SIISelLowering.cpp
 5433       if (ConstantLod->isNullValue()) {
 6104     if (!isa<ConstantSDNode>(VIndex) || !cast<ConstantSDNode>(VIndex)->isNullValue())
 6792     unsigned Opc = Done->isNullValue() ?
 6817     unsigned Opc = Done->isNullValue() ?
 8686     if (CMask->isNullValue())
 9572     if (!C || !C->isNullValue())
 9797           (CRHS->isNullValue() &&
 9803           (CRHS->isNullValue() &&
lib/Target/ARM/ARMISelDAGToDAG.cpp
 1066     if (!NC || !NC->isNullValue())
 2860   if (!isa<ConstantSDNode>(Zero) || !cast<ConstantSDNode>(Zero)->isNullValue() ||
lib/Target/ARM/ARMISelLowering.cpp
 8236       if (Hi0->isNullValue() && Hi1->isNullValue())
 8236       if (Hi0->isNullValue() && Hi1->isNullValue())
14056     if (Const->isNullValue())
14108       if (!Const->isOne() && !Const->isNullValue())
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  986         return SC->isNullValue();
lib/Target/Hexagon/HexagonISelLowering.cpp
 2289       if (IdxN->isNullValue() && ValTy.getSizeInBits() == 1)
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
  385     if (IdxN && IdxN->isNullValue())
  597       return !N->isNullValue();
  602       return N->isNullValue();
  919   if (!IdxN || !IdxN->isNullValue()) {
  942   if (RolBase != 4 || !IdxN || !IdxN->isNullValue()) {
  979   if (!IdxN || !IdxN->isNullValue()) {
  993   if (!IdxN || !IdxN->isNullValue()) {
lib/Target/Lanai/LanaiISelDAGToDAG.cpp
  290       if (ConstNode->isNullValue()) {
lib/Target/MSP430/MSP430ISelLowering.cpp
 1140     if (RHSC->isNullValue() && LHS.hasOneUse() &&
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 2936     IsRHSZero = RHSConst && RHSConst->isNullValue();
 2986     IsRHSZero = RHSConst && RHSConst->isNullValue();
 3120     IsRHSZero = RHSConst && RHSConst->isNullValue();
 3165     IsRHSZero = RHSConst && RHSConst->isNullValue();
 3278     IsRHSZero = RHSConst && RHSConst->isNullValue();
 3320     IsRHSZero = RHSConst && RHSConst->isNullValue();
 3437     IsRHSZero = RHSConst && RHSConst->isNullValue();
 3480     IsRHSZero = RHSConst && RHSConst->isNullValue();
 4848             if (N1C->isNullValue() && N3C->isNullValue() &&
 4848             if (N1C->isNullValue() && N3C->isNullValue() &&
 5599     if (!C->isNullValue())
lib/Target/PowerPC/PPCISelLowering.cpp
 3010     if (C->isAllOnesValue() || C->isNullValue())
13390       if (C->isNullValue() ||   //  0 >>s V -> 0.
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  116     if (VT == XLenVT && ConstNode->isNullValue()) {
lib/Target/X86/X86ISelLowering.cpp
 4695       if (SetCCOpcode == ISD::SETLT && RHSC->isNullValue()) {
 4699       if (SetCCOpcode == ISD::SETGE && RHSC->isNullValue()) {
35644     if (C->isNullValue())
36713     if (!FalseC->isNullValue())
43572         (IsSub && CC == X86::COND_B && ConstantX->isNullValue())) {
43582         (IsSub && CC == X86::COND_A && ConstantX->isNullValue())) {
43649     if ((IsSub && CC == X86::COND_NE && ConstantX->isNullValue()) ||
43663     if ((IsSub && CC == X86::COND_E && ConstantX->isNullValue()) ||
44769       if (C->isNullValue())
lib/Target/X86/X86SelectionDAGInfo.cpp
   73     if (const char *bzeroName = (ValC && ValC->isNullValue())
lib/Target/XCore/XCoreISelLowering.cpp
 1646     if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
 1646     if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
 1656     if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
 1678     if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
 1678     if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
 1693     if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
 1722     if (N1C && N1C->isNullValue()) {