Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h62 bool isUnknown() const { return Zero.isNullValue() && One.isNullValue(); } in isUnknown()
101 bool isStrictlyPositive() const { return Zero.isSignBitSet() && !One.isNullValue(); } in isStrictlyPositive()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
259 if (RHS->isNullValue()) in ExtractConstantBytes()
533 if (V->isNullValue() && !DestTy->isX86_MMXTy() && in ConstantFoldCastInstruction()
559 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
625 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
630 if (V->isNullValue()) in ConstantFoldCastInstruction()
637 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
660 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
736 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
756 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
[all …]
DConstantRange.cpp313 return Lower.ugt(Upper) && !Upper.isNullValue(); in isWrappedSet()
577 if (L.isNullValue() && U.isNullValue()) in unionWith()
1033 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax().isNullValue()) in udiv()
1039 if (RHS_umin.isNullValue()) { in udiv()
1079 if (NegL.Lower.isMinSignedValue() && NegR.Upper.isNullValue()) { in sdiv()
1138 if (isEmptySet() || RHS.isEmptySet() || RHS.getUnsignedMax().isNullValue()) in urem()
1159 if (MaxAbsRHS.isNullValue()) in srem()
1162 if (MinAbsRHS.isNullValue()) in srem()
1224 if (Other_umax.isNullValue()) in shl()
DAbstractCallSite.cpp147 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
DConstants.cpp61 return isNullValue(); in isNegativeZeroValue()
83 return isNullValue(); in isZeroValue()
86 bool Constant::isNullValue() const { in isNullValue() function in Constant
480 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl()
1088 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1136 isZero = V[0]->isNullValue(); in get()
1139 if (!V[i]->isNullValue()) in get()
1175 bool isZero = C->isNullValue(); in getImpl()
2950 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl()
2990 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp93 if (DtorFunc->isNullValue()) in runOnModule()
142 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule()
158 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp80 if (!C->isNullValue()) in decomposeBitTestICmp()
101 if (!C->isNullValue()) in decomposeBitTestICmp()
DConstantFolding.cpp102 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast()
530 if (Res->isNullValue() && !LoadTy->isX86_MMXTy()) in FoldReinterpretLoadFromConstPtr()
537 if (Res->isNullValue() && !LoadTy->isX86_MMXTy()) in FoldReinterpretLoadFromConstPtr()
691 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr()
856 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP()
910 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP()
1219 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1272 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1372 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
2210 if (C1->isOneValue() && (!C0 || C0->isNullValue())) in ConstantFoldScalarCall2()
[all …]
DDemandedBits.cpp397 if (AB.isNullValue()) in performAnalysis()
457 if (Found != AliveBits.end() && Found->second.isNullValue()) in isUseDead()
DVectorUtils.cpp303 if (Elt->isNullValue()) in findScalarElement()
757 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()
762 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
794 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp166 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad()
299 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore()
414 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather()
538 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter()
624 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedExpandLoad()
734 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore()
DShadowStackGCLowering.cpp111 if (!C->isNullValue()) in GetFrameMap()
224 return C->isNullValue(); in IsNullValue()
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h54 bool isNullValue() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp260 if (L->isNullValue() && R->isNullValue()) in cmpConstants()
262 if (L->isNullValue() && !R->isNullValue()) in cmpConstants()
264 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
DCtorUtils.cpp66 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
DVNCoercion.cpp44 return CI->isNullValue(); in canCoerceMustAliasedValueToLoad()
232 if (!CI || !CI->isNullValue()) in analyzeLoadFromClobberingStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h51 bool isNullValue() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp80 if (C.isNullValue()) in isSignTest()
878 isa<Constant>(RHS) && cast<Constant>(RHS)->isNullValue() && in foldGEPICmp()
1164 if (AP2.isNullValue()) in foldICmpShrConstConst()
1223 if (AP2.isNullValue()) in foldICmpShlConstConst()
1699 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() && in foldICmpAndShift()
1724 if (isICMP_NE && Cmp.getType()->isVectorTy() && C1.isNullValue() && in foldICmpAndConstConst()
1737 if (Cmp.isEquality() && C1.isNullValue()) { in foldICmpAndConstConst()
1787 if (!Cmp.isSigned() && C1.isNullValue() && And->getOperand(0)->hasOneUse() && in foldICmpAndConstConst()
1862 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) { in foldICmpAndConstant()
1908 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse()) in foldICmpOrConstant()
[all …]
DInstCombineSimplifyDemanded.cpp136 if (DemandedMask.isNullValue()) // Not demanding any bits from V. in SimplifyDemandedUseBits()
766 if (DemandedElts.isNullValue()) in SimplifyDemandedUseBits()
1133 if (DemandedElts.isNullValue()) { // If nothing is demanded, provide undef. in SimplifyDemandedVectorElts()
1437 if (CElt->isNullValue()) in SimplifyDemandedVectorElts()
1531 if (CElt->isNullValue()) in SimplifyDemandedVectorElts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DBDCE.cpp103 DB.getDemandedBits(&I).isNullValue() && in bitTrackingDCE()
DReassociate.cpp1184 if (ConstOpnd.isNullValue()) in createAndInstr()
1209 if (!Opnd1->isOrExpr() || Opnd1->getConstPart().isNullValue()) in CombineXorOpnd()
1266 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd()
1282 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd()
1373 if (!ConstOpnd.isNullValue() && in OptimizeXor()
1415 if (!ConstOpnd.isNullValue()) { in OptimizeXor()
1424 assert(ConstOpnd.isNullValue()); in OptimizeXor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h390 bool isStrictlyPositive() const { return isNonNegative() && !isNullValue(); } in isStrictlyPositive()
410 bool isNullValue() const { return !*this; } in isNullValue() function
441 bool isMinValue() const { return isNullValue(); } in isMinValue()
1831 if (isNullValue()) in nearestLogBase2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp27 const char *bzeroName = (V && V->isNullValue()) in EmitTargetCodeForMemset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp59 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()

12345