Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp112 if (DtorFunc->isNullValue()) in runImpl()
183 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
201 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
H A DFunctionComparator.cpp334 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 DEvaluator.cpp418 if (!Val->isNullValue() || MutatedMemory.contains(GV) || in EvaluateBlock()
420 !GV->getInitializer()->isNullValue()) { in EvaluateBlock()
H A DVNCoercion.cpp49 return CI->isNullValue(); in canCoerceMustAliasedValueToLoad()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp145 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 DAbstractCallSite.cpp147 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
H A DConstants.cpp71 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 DScalarizeMaskedMemIntrin.cpp180 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 DCallSiteSplitting.cpp171 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.h60 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h54 bool isNullValue() const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp158 if (!C->isNullValue()) in GetFrameMap()
271 return C->isNullValue(); in CreateGEP()
H A DWasmEHPrepare.cpp288 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
H A DWinEHPrepare.cpp166 if (TypeInfo->isNullValue()) in addTryBlockMapEntry()
517 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp216 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 DConstantFolding.cpp567 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 DLazyValueInfo.cpp1813 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 DNVPTXAsmPrinter.cpp1175 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 DTargetLoweringObjectFile.cpp70 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp248 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 DCGDecl.cpp922 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 DCGObjCMac.cpp3123 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 DExtractFunction.cpp263 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h330 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp359 if (!Index || !Index->isNullValue()) in matchAddReduction()

1234