| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerGlobalDtors.cpp | 111 if (DtorFunc->isNullValue()) in runImpl() 182 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl() 200 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
|
| H A D | FunctionComparator.cpp | 322 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 324 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 326 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-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 338 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 361 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction() 485 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction() 539 if (Elt->isNullValue()) { in ConstantFoldShuffleVectorInstruction() 1004 if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue()) in ConstantFoldBinaryInstruction() 1247 if (C2->isNullValue()) { in ConstantFoldCompareInstruction() 1409 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction() 1427 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices() 1442 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices() 1473 if (Idx0->isNullValue()) { in foldGEPOfGEP() [all …]
|
| H A D | AbstractCallSite.cpp | 147 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
|
| H A D | Constants.cpp | 57 return isNullValue(); in isNegativeZeroValue() 73 return isNullValue(); in isZeroValue() 76 bool Constant::isNullValue() const { in isNullValue() function in Constant 1262 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1312 isZero = V[0]->isNullValue(); in get() 1316 if (!C->isNullValue()) in get() 1356 bool isZero = C->isNullValue(); in getImpl() 1399 if (V->isNullValue()) in getSplat() 1870 if (cast<Constant>(To)->isNullValue()) in handleOperandChangeImpl() 3119 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMCInstLower.h | 60 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
|
| /freebsd-14.2/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() 656 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 776 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore()
|
| H A D | CallSiteSplitting.cpp | 171 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 53 bool isNullValue() const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 158 if (!C->isNullValue()) in GetFrameMap() 271 return C->isNullValue(); in IsNullValue()
|
| H A D | WasmEHPrepare.cpp | 288 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
|
| H A D | WinEHPrepare.cpp | 165 if (TypeInfo->isNullValue()) in addTryBlockMapEntry() 516 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 214 if (Elt->isNullValue()) in findScalarElement() 973 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef() 982 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef() 1054 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() 762 if (C->isNullValue() && !Ty->isX86_MMXTy() && !Ty->isX86_AMXTy()) in ConstantFoldLoadFromUniformValue() 927 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP() 1205 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1407 if (Base->isNullValue()) { in ConstantFoldCastOperand() 1418 Sub->getOperand(0)->isNullValue()) in ConstantFoldCastOperand() 3206 if (MaskElt->isNullValue()) { in ConstantFoldFixedVectorCall() 3298 if (!Src || !Src->isNullValue()) in ConstantFoldScalableVectorCall()
|
| H A D | LazyValueInfo.cpp | 1828 if (Res && Res->isNullValue()) in getPredicateResult() 1834 if (Res && Res->isNullValue()) in getPredicateResult() 1865 if (V->getType()->isPointerTy() && C->isNullValue() && in getPredicateAt() 1989 if (Res->isNullValue()) in getPredicateAt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1178 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 1186 if (!GVar->getInitializer()->isNullValue() && in printModuleLevelGV() 1213 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 1828 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte() 1964 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstantForGV()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 247 Elems[*FirstElemToUpdate]->isNullValue() || in addBits() 423 if (Elems[I]->isNullValue()) in buildFrom() 955 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant() 958 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant() 1269 if (fillC && fillC->isNullValue()) in EmitArrayInitialization() 2191 if (Filler && Filler->isNullValue()) in tryEmitPrivate()
|
| H A D | CGDecl.cpp | 920 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterBZero() 952 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterBZero() 970 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 985 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 1105 bool ZeroInitializer = constant->isNullValue(); in constWithPadding() 1218 constant->isNullValue() || isa<llvm::UndefValue>(constant); in emitStoresForConstant()
|
| H A D | CGObjCMac.cpp | 3116 if (optInstanceMethods->isNullValue() && in EmitProtocolExtension() 3117 optClassMethods->isNullValue() && in EmitProtocolExtension() 3118 extendedMethodTypes->isNullValue() && in EmitProtocolExtension() 3119 instanceProperties->isNullValue() && in EmitProtocolExtension() 3120 classProperties->isNullValue()) { in EmitProtocolExtension() 3728 if (layout->isNullValue() && propertyList->isNullValue()) { in EmitClassExtension() 6664 instanceMethodList->isNullValue() && classMethodList->isNullValue(); in GenerateCategory() 6685 isEmptyCategory &= protocolList->isNullValue() && in GenerateCategory() 6686 propertyList->isNullValue() && in GenerateCategory() 6687 classPropertyList->isNullValue(); in GenerateCategory()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 70 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 263 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | SparsePropagation.h | 330 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 359 if (!Index || !Index->isNullValue()) in matchAddReduction()
|