/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerGlobalDtors.cpp | 112 if (DtorFunc->isNullValue()) in runImpl() 183 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl() 201 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
|
H A D | FunctionComparator.cpp | 334 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 336 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 338 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
H A D | Evaluator.cpp | 418 if (!Val->isNullValue() || MutatedMemory.contains(GV) || in EvaluateBlock() 420 !GV->getInitializer()->isNullValue()) { in EvaluateBlock()
|
H A D | VNCoercion.cpp | 49 return CI->isNullValue(); in canCoerceMustAliasedValueToLoad()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 145 if (V->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy() && in ConstantFoldCastInstruction() 270 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 293 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction() 417 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction() 471 if (Elt->isNullValue()) { in ConstantFoldShuffleVectorInstruction() 898 if (Instruction::isIntDivRem(Opcode) && C2Splat->isNullValue()) in ConstantFoldBinaryInstruction() 921 if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue()) in ConstantFoldBinaryInstruction() 1163 if (C2->isNullValue()) { in ConstantFoldCompareInstruction() 1328 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction() 1360 return IdxC->isNullValue() || isa<UndefValue>(IdxC); in ConstantFoldGetElementPtr()
|
H A D | AbstractCallSite.cpp | 147 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
|
H A D | Constants.cpp | 71 return isNullValue(); in isNegativeZeroValue() 87 return isNullValue(); in isZeroValue() 90 bool Constant::isNullValue() const { in isNullValue() function in Constant 1319 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1369 isZero = V[0]->isNullValue(); in get() 1373 if (!C->isNullValue()) in get() 1413 bool isZero = C->isNullValue(); in getImpl() 1453 if (!V->isNullValue()) { in getSplat() 1473 if (!V->isNullValue()) { in getSplat() 1484 if (V->isNullValue()) in getSplat() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 180 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 312 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 430 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 560 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter() 661 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 786 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore() 890 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedVectorHistogram()
|
H A D | CallSiteSplitting.cpp | 171 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMCInstLower.h | 60 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constant.h | 54 bool isNullValue() const;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ShadowStackGCLowering.cpp | 158 if (!C->isNullValue()) in GetFrameMap() 271 return C->isNullValue(); in CreateGEP()
|
H A D | WasmEHPrepare.cpp | 288 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
|
H A D | WinEHPrepare.cpp | 166 if (TypeInfo->isNullValue()) in addTryBlockMapEntry() 517 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 216 if (Elt->isNullValue()) in findScalarElement() 1032 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef() 1041 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef() 1113 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
H A D | ConstantFolding.cpp | 567 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConst() 575 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConst() 767 if (C->isNullValue() && !Ty->isX86_MMXTy() && !Ty->isX86_AMXTy()) in ConstantFoldLoadFromUniformValue() 947 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP() 1190 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1410 if (Base->isNullValue()) { in ConstantFoldCastOperand() 1421 Sub->getOperand(0)->isNullValue()) in ConstantFoldCastOperand() 3286 if (MaskElt->isNullValue()) { in ConstantFoldFixedVectorCall() 3378 if (!Src || !Src->isNullValue()) in ConstantFoldScalableVectorCall()
|
H A D | LazyValueInfo.cpp | 1813 if (Res && Res->isNullValue()) in getPredicateResult() 1819 if (Res && Res->isNullValue()) in getPredicateResult() 1850 if (V->getType()->isPointerTy() && C->isNullValue() && in getPredicateAt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1175 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 1183 if (!GVar->getInitializer()->isNullValue() && in printModuleLevelGV() 1210 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 1839 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte() 1983 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstantForGV()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 70 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 248 Elems[*FirstElemToUpdate]->isNullValue() || in addBits() 424 if (Elems[I]->isNullValue()) in buildFrom() 975 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant() 978 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant() 1322 if (fillC && fillC->isNullValue()) in EmitArrayInitialization() 2432 if (Filler && Filler->isNullValue()) in tryEmitPrivate()
|
H A D | CGDecl.cpp | 922 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterBZero() 954 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterBZero() 972 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 987 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 1107 bool ZeroInitializer = constant->isNullValue(); in constWithPadding() 1220 constant->isNullValue() || isa<llvm::UndefValue>(constant); in emitStoresForConstant()
|
H A D | CGObjCMac.cpp | 3123 if (optInstanceMethods->isNullValue() && in EmitProtocolExtension() 3124 optClassMethods->isNullValue() && in EmitProtocolExtension() 3125 extendedMethodTypes->isNullValue() && in EmitProtocolExtension() 3126 instanceProperties->isNullValue() && in EmitProtocolExtension() 3127 classProperties->isNullValue()) { in EmitProtocolExtension() 3735 if (layout->isNullValue() && propertyList->isNullValue()) { in EmitClassExtension() 6670 instanceMethodList->isNullValue() && classMethodList->isNullValue(); in GenerateCategory() 6691 isEmptyCategory &= protocolList->isNullValue() && in GenerateCategory() 6692 propertyList->isNullValue() && in GenerateCategory() 6693 classPropertyList->isNullValue(); in GenerateCategory()
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 263 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | SparsePropagation.h | 330 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 359 if (!Index || !Index->isNullValue()) in matchAddReduction()
|