Home
last modified time | relevance | path

Searched refs:isNullValue (Results 1 – 25 of 134) sorted by relevance

123456

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
261 if (RHS->isNullValue()) in ExtractConstantBytes()
560 if (V->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy() && in ConstantFoldCastInstruction()
586 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
661 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
666 if (V->isNullValue()) in ConstantFoldCastInstruction()
673 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
696 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
772 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
795 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
[all …]
H A DConstantRange.cpp319 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()
1242 if (MaxAbsRHS.isNullValue()) in srem()
1245 if (MinAbsRHS.isNullValue()) in srem()
1337 if (Other_umax.isNullValue()) in shl()
H A DAbstractCallSite.cpp148 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
H A DConstants.cpp61 return isNullValue(); in isNegativeZeroValue()
83 return isNullValue(); in isZeroValue()
86 bool Constant::isNullValue() const { in isNullValue() function in Constant
598 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl()
1288 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1338 isZero = V[0]->isNullValue(); in get()
1342 if (!V[i]->isNullValue()) in get()
1382 bool isZero = C->isNullValue(); in getImpl()
1425 if (V->isNullValue()) in getSplat()
1930 if (cast<Constant>(To)->isNullValue()) in handleOperandChangeImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DKnownBits.h63 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp97 if (DtorFunc->isNullValue()) in runOnModule()
158 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule()
176 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp80 if (!C->isNullValue()) in decomposeBitTestICmp()
101 if (!C->isNullValue()) in decomposeBitTestICmp()
H A DConstantFolding.cpp109 if (C->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy()) in FoldBitCast()
362 if (C->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy()) in ConstantFoldLoadThroughBitcast()
580 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConstPtr()
588 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConstPtr()
738 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr()
890 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP()
942 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP()
1243 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1296 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1398 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
[all …]
H A DVectorUtils.cpp321 if (Elt->isNullValue()) in findScalarElement()
880 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()
889 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
937 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
H A DDemandedBits.cpp420 if (AB.isNullValue()) in performAnalysis()
480 if (Found != AliveBits.end() && Found->second.isNullValue()) in isUseDead()
H A DLazyValueInfo.cpp1120 if (EdgePred == ICmpInst::ICMP_NE && !Mask->isNullValue() && in getValueFromICmpCondition()
1121 C->isNullValue()) { in getValueFromICmpCondition()
1689 if (Res->isNullValue()) in getPredicateResult()
1696 if (Res->isNullValue()) in getPredicateResult()
1727 if (V->getType()->isPointerTy() && C->isNullValue() && in getPredicateAt()
H A DValueTracking.cpp168 if (DemandedElts.isNullValue()) in getShuffleDemandedElts()
286 if (C->isNullValue()) in isOnlyUsedInZeroEqualityComparison()
1344 if (!Known.isUnknown() && !AccConstIndices.isNullValue()) { in computeKnownBitsFromOperator()
2209 !match(Start, m_APInt(StartC)) || StartC->isNullValue()) in isNonZeroRecurrence()
2221 match(Step, m_APInt(StepC)) && !StepC->isNullValue(); in isNonZeroRecurrence()
2246 if (C->isNullValue()) in isKnownNonZero()
2269 if (!Elt || Elt->isNullValue()) in isKnownNonZero()
2655 !C->isNullValue() && !C->isOneValue() && in isNonEqualMul()
2669 !C->isNullValue() && isKnownNonZero(V1, Depth + 1, Q); in isNonEqualShl()
3031 if (CLHS->isNullValue()) { in ComputeNumSignBitsImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp186 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 DBDCE.cpp107 DB.getDemandedBits(&I).isNullValue() && in bitTrackingDCE()
H A DReassociate.cpp1282 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp81 if (C.isNullValue()) in isSignTest()
841 isa<Constant>(RHS) && cast<Constant>(RHS)->isNullValue() && in foldGEPICmp()
1127 if (AP2.isNullValue()) in foldICmpShrConstConst()
1186 if (AP2.isNullValue()) in foldICmpShlConstConst()
1705 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() && in foldICmpAndShift()
1729 if (isICMP_NE && Cmp.getType()->isVectorTy() && C1.isNullValue() && in foldICmpAndConstConst()
1742 if (Cmp.isEquality() && C1.isNullValue()) { in foldICmpAndConstConst()
1792 if (!Cmp.isSigned() && C1.isNullValue() && And->getOperand(0)->hasOneUse() && in foldICmpAndConstConst()
1866 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1917 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse()) in foldICmpOrConstant()
[all …]
H A DInstCombineSimplifyDemanded.cpp127 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp266 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 DCtorUtils.cpp66 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstant.h53 bool isNullValue() const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp115 if (!C->isNullValue()) in GetFrameMap()
228 return C->isNullValue(); in IsNullValue()
H A DInterleavedLoadCombinePass.cpp315 if (C.isNullValue()) { in mul()
466 if (C.isNullValue()) in lshr()
573 return (r.ErrorMSBs == 0) && (!r.isFirstOrder()) && (r.A.isNullValue()); in isProvenEqualTo()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h168 return RHS.isNullValue(); in isSignBitCheck()
177 return RHS.isNullValue(); in isSignBitCheck()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPInt.h391 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); }
411 bool isNullValue() const { return !*this; }
442 bool isMinValue() const { return isNullValue(); }
1844 if (isNullValue())
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp27 const char *bzeroName = (V && V->isNullValue()) in EmitTargetCodeForMemset()

123456