| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 259 if (RHS->isNullValue()) in ExtractConstantBytes() 557 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction() 628 if (V->isNullValue()) in ConstantFoldCastInstruction() 635 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction() 734 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 1734 if (C1->isNullValue()) { in ConstantFoldCompareInstruction() 1746 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction() 2013 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction() 2087 if (C->isNullValue()) { in ConstantFoldGetElementPtr() 2149 if (Idx0->isNullValue()) in ConstantFoldGetElementPtr() [all …]
|
| H A D | ConstantRange.cpp | 211 if (C->isNullValue()) in makeGuaranteedNoWrapRegion() 236 if (C->isNullValue()) in makeGuaranteedNoWrapRegion() 372 if (isFullSet() || (isWrappedSet() && !getUpper().isNullValue())) in getUnsignedMin() 523 if (L.isNullValue() && U.isNullValue()) in unionWith() 921 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax().isNullValue()) in udiv() 929 if (RHS_umin.isNullValue()) { in udiv() 969 if (umax.isNullValue()) in binaryOr()
|
| H A D | Constants.cpp | 60 return isNullValue(); in isNegativeZeroValue() 82 return isNullValue(); in isZeroValue() 85 bool Constant::isNullValue() const { in isNullValue() function in Constant 427 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl() 1006 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1054 isZero = V[0]->isNullValue(); in get() 1057 if (!V[i]->isNullValue()) in get() 1093 bool isZero = C->isNullValue(); in getImpl() 2870 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl() 2910 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerGlobalDtors.cpp | 94 if (DtorFunc->isNullValue()) in runOnModule() 142 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule() 158 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 63 bool isUnknown() const { return Zero.isNullValue() && One.isNullValue(); } in isUnknown()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | CmpInstAnalysis.cpp | 81 if (!C->isNullValue()) in decomposeBitTestICmp() 102 if (!C->isNullValue()) in decomposeBitTestICmp()
|
| H A D | DemandedBits.cpp | 396 if (AB.isNullValue()) in performAnalysis() 461 if (Found != AliveBits.end() && Found->second.isNullValue()) in isUseDead()
|
| H A D | ConstantFolding.cpp | 97 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast() 671 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 836 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP() 890 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP() 1194 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1247 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1340 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr() 2090 if (C1->isOneValue() && (!C0 || C0->isNullValue())) in ConstantFoldScalarCall() 2246 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 166 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 287 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 386 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 496 if (cast<ConstantVector>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter()
|
| H A D | WasmEHPrepare.cpp | 292 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads() 346 cast<Constant>(FPI->getArgOperand(0))->isNullValue())) { in prepareEHPad()
|
| H A D | ShadowStackGCLowering.cpp | 111 if (!C->isNullValue()) in GetFrameMap() 224 return C->isNullValue(); in IsNullValue()
|
| H A D | InterleavedLoadCombinePass.cpp | 315 if (C.isNullValue()) { in mul() 466 if (C.isNullValue()) in lshr() 573 return (r.ErrorMSBs == 0) && (!r.isFirstOrder()) && (r.A.isNullValue()); in isProvenEqualTo()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 248 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 250 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 252 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
| H A D | CtorUtils.cpp | 67 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
|
| H A D | Evaluator.cpp | 478 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Constant.h | 52 bool isNullValue() const;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 81 return RHS.isNullValue(); in isSignBitCheck() 109 if (C.isNullValue()) in isSignTest() 1144 if (AP2.isNullValue()) in foldICmpShrConstConst() 1203 if (AP2.isNullValue()) in foldICmpShlConstConst() 2026 C.isNullValue()) in foldICmpShrConstant() 2655 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant() 2676 } else if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant() 2747 if (C.isNullValue()) { in foldICmpBinOpEqualityWithConstant() 2808 bool IsZero = C.isNullValue(); in foldICmpIntrinsicWithConstant() 2837 if (RHSC->isNullValue() && in foldICmpInstWithConstantNotInt() [all …]
|
| H A D | InstCombineSelect.cpp | 167 if (!TC.isNullValue() && !FC.isNullValue()) { in foldSelectICmpAnd() 204 const APInt &ValC = !TC.isNullValue() ? TC : FC; in foldSelectICmpAnd() 226 bool ShouldNotVal = !TC.isNullValue(); in foldSelectICmpAnd() 405 if (!C1I.isNullValue() && !C2I.isNullValue()) // One side must be zero. in isSelect01() 1362 } else if (Elt->isNullValue()) { in canonicalizeSelectToShuffle()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64SelectionDAGInfo.cpp | 28 const char *bzeroName = (V && V->isNullValue()) in EmitTargetCodeForMemset()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 103 DB.getDemandedBits(&I).isNullValue() && in bitTrackingDCE()
|
| H A D | Reassociate.cpp | 1156 if (ConstOpnd.isNullValue()) in createAndInstr() 1181 if (!Opnd1->isOrExpr() || Opnd1->getConstPart().isNullValue()) in CombineXorOpnd() 1238 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd() 1254 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd() 1346 if (!ConstOpnd.isNullValue() && in OptimizeXor() 1388 if (!ConstOpnd.isNullValue()) { in OptimizeXor() 1397 assert(ConstOpnd.isNullValue()); in OptimizeXor()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive() 406 bool isNullValue() const { return !*this; } in isNullValue() function 437 bool isMinValue() const { return isNullValue(); } in isMinValue() 1774 if (isNullValue()) in nearestLogBase2()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 384 if (IdxN && IdxN->isNullValue()) in buildHvxVectorReg() 596 return !N->isNullValue(); in buildHvxVectorPred() 601 return N->isNullValue(); in buildHvxVectorPred() 918 if (!IdxN || !IdxN->isNullValue()) { in insertHvxSubvectorReg() 941 if (RolBase != 4 || !IdxN || !IdxN->isNullValue()) { in insertHvxSubvectorReg() 978 if (!IdxN || !IdxN->isNullValue()) { in insertHvxSubvectorPred() 992 if (!IdxN || !IdxN->isNullValue()) { in insertHvxSubvectorPred()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 59 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 117 if (VT == XLenVT && ConstNode->isNullValue()) { in Select()
|