| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 262 if (RHS->isNullValue()) in ExtractConstantBytes() 393 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction() 473 if (V->isNullValue()) in ConstantFoldCastInstruction() 532 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 1596 if (!CE1->getOperand(i)->isNullValue()) in evaluateICmpRelation() 1740 if (C1->isNullValue()) { in ConstantFoldCompareInstruction() 1752 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction() 2051 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction() 2084 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices() 2115 if (Idx0->isNullValue()) { in foldGEPOfGEP() [all …]
|
| H A D | ConstantRange.cpp | 319 return Lower.ugt(Upper) && !Upper.isNullValue(); in isWrappedSet() 598 if (L.isNullValue() && U.isNullValue()) in unionWith() 1116 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax().isNullValue()) in udiv() 1122 if (RHS_umin.isNullValue()) { in udiv() 1162 if (NegL.Lower.isMinSignedValue() && NegR.Upper.isNullValue()) { in sdiv() 1221 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax().isNullValue()) in urem() 1226 if (RHSInt->isNullValue()) in urem() 1248 if (RHSInt->isNullValue()) in srem() 1260 if (MaxAbsRHS.isNullValue()) in srem() 1263 if (MinAbsRHS.isNullValue()) in srem() [all …]
|
| H A D | AbstractCallSite.cpp | 148 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
|
| H A D | Constants.cpp | 55 return isNullValue(); in isNegativeZeroValue() 71 return isNullValue(); in isZeroValue() 74 bool Constant::isNullValue() const { in isNullValue() function in Constant 1290 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1340 isZero = V[0]->isNullValue(); in get() 1344 if (!V[i]->isNullValue()) in get() 1384 bool isZero = C->isNullValue(); in getImpl() 1427 if (V->isNullValue()) in getSplat() 1932 if (cast<Constant>(To)->isNullValue()) in handleOperandChangeImpl() 3382 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 63 bool isUnknown() const { return Zero.isNullValue() && One.isNullValue(); } in isUnknown() 102 bool isNonZero() const { return !One.isNullValue(); } in isNonZero() 105 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerGlobalDtors.cpp | 97 if (DtorFunc->isNullValue()) in runOnModule() 158 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule() 176 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CmpInstAnalysis.cpp | 80 if (!C->isNullValue()) in decomposeBitTestICmp() 101 if (!C->isNullValue()) in decomposeBitTestICmp()
|
| H A D | ConstantFolding.cpp | 585 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConstPtr() 593 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConstPtr() 770 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 924 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP() 978 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP() 1281 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1436 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr() 2674 if (C1->isOneValue() && (!C0 || C0->isNullValue())) in ConstantFoldScalarCall2() 2690 if (C1->isNullValue() && !C0) in ConstantFoldScalarCall2() 3035 if (MaskElt->isNullValue()) { in ConstantFoldFixedVectorCall() [all …]
|
| H A D | VectorUtils.cpp | 331 if (Elt->isNullValue()) in findScalarElement() 890 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef() 899 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef() 946 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
| H A D | DemandedBits.cpp | 420 if (AB.isNullValue()) in performAnalysis() 507 if (Found != AliveBits.end() && Found->second.isNullValue()) in isUseDead()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 186 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 322 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 440 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 570 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter() 666 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 786 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore()
|
| H A D | BDCE.cpp | 107 DB.getDemandedBits(&I).isNullValue() && in bitTrackingDCE()
|
| H A D | Reassociate.cpp | 1282 if (ConstOpnd.isNullValue()) in createAndInstr() 1307 if (!Opnd1->isOrExpr() || Opnd1->getConstPart().isNullValue()) in CombineXorOpnd() 1364 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd() 1380 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd() 1471 if (!ConstOpnd.isNullValue() && in OptimizeXor() 1513 if (!ConstOpnd.isNullValue()) { in OptimizeXor() 1522 assert(ConstOpnd.isNullValue()); in OptimizeXor()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 81 if (C.isNullValue()) in isSignTest() 1150 if (AP2.isNullValue()) in foldICmpShrConstConst() 1209 if (AP2.isNullValue()) in foldICmpShlConstConst() 2231 C.isNullValue()) in foldICmpShrConstant() 2319 if (C.isNullValue()) { in foldICmpShrConstant() 3072 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant() 3135 if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant() 3204 if (C.isNullValue()) { in foldICmpEqIntrinsicWithConstant() 3213 if (C.isNullValue()) { in foldICmpEqIntrinsicWithConstant() 3308 if (RHSC->isNullValue() && in foldICmpInstWithConstantNotInt() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 127 if (DemandedMask.isNullValue()) // Not demanding any bits from V. in SimplifyDemandedUseBits() 1100 if (DemandedElts.isNullValue()) { // If nothing is demanded, provide poison. in SimplifyDemandedVectorElts() 1429 if (CElt->isNullValue()) in SimplifyDemandedVectorElts() 1523 if (CElt->isNullValue()) in SimplifyDemandedVectorElts()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 266 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 268 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 270 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
| H A D | CtorUtils.cpp | 66 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
|
| H A D | Evaluator.cpp | 512 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 53 bool isNullValue() const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 116 if (!C->isNullValue()) in GetFrameMap() 229 return C->isNullValue(); in IsNullValue()
|
| H A D | InterleavedLoadCombinePass.cpp | 316 if (C.isNullValue()) { in mul() 467 if (C.isNullValue()) in lshr() 574 return (r.ErrorMSBs == 0) && (!r.isFirstOrder()) && (r.A.isNullValue()); in isProvenEqualTo()
|
| H A D | WasmEHPrepare.cpp | 251 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 168 return RHS.isNullValue(); in isSignBitCheck() 177 return RHS.isNullValue(); in isSignBitCheck()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } 411 bool isNullValue() const { return !*this; } 442 bool isMinValue() const { return isNullValue(); } 1837 if (isNullValue())
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SelectionDAGInfo.cpp | 27 const char *bzeroName = (V && V->isNullValue()) in EmitTargetCodeForMemset()
|