/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 260 if (RHS->isNullValue()) in ExtractConstantBytes() 391 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction() 465 if (V->isNullValue()) in ConstantFoldCastInstruction() 524 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 736 if (Elt->isNullValue()) { in ConstantFoldShuffleVectorInstruction() 1585 if (!GV || !C1->isNullValue()) in constantFoldCompareGlobalToNull() 1647 if (C2->isNullValue()) { in ConstantFoldCompareInstruction() 1906 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction() 1939 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices() 1970 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 1276 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1326 isZero = V[0]->isNullValue(); in get() 1330 if (!C->isNullValue()) in get() 1370 bool isZero = C->isNullValue(); in getImpl() 1413 if (V->isNullValue()) in getSplat() 1886 if (cast<Constant>(To)->isNullValue()) in handleOperandChangeImpl() 3320 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | LowerGlobalDtors.cpp | 111 if (DtorFunc->isNullValue()) in runImpl() 171 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl() 189 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
|
H A D | FunctionComparator.cpp | 274 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 276 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 278 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMCInstLower.h | 60 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 184 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 320 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 438 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 568 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter() 664 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 784 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore()
|
H A D | CallSiteSplitting.cpp | 173 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | Constant.h | 53 bool isNullValue() const;
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | ShadowStackGCLowering.cpp | 116 if (!C->isNullValue()) in GetFrameMap() 229 return C->isNullValue(); in IsNullValue()
|
H A D | WasmEHPrepare.cpp | 256 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
|
H A D | WinEHPrepare.cpp | 152 if (TypeInfo->isNullValue()) in addTryBlockMapEntry() 381 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
|
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceOperandsSkip.cpp | 65 if (C->isNullValue()) in classifyReductivePower()
|
H A D | ReduceOperands.cpp | 55 return C && C->isNullValue(); in isZero()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 567 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConst() 575 if (Res->isNullValue() && !LoadTy->isX86_MMXTy() && in FoldReinterpretLoadFromConst() 765 if (C->isNullValue() && !Ty->isX86_MMXTy() && !Ty->isX86_AMXTy()) in ConstantFoldLoadFromUniformValue() 946 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP() 1234 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1287 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1434 if (Base->isNullValue()) { in ConstantFoldCastOperand() 1445 Sub->getOperand(0)->isNullValue()) in ConstantFoldCastOperand() 3165 if (MaskElt->isNullValue()) { in ConstantFoldFixedVectorCall() 3257 if (!Src || !Src->isNullValue()) in ConstantFoldScalableVectorCall()
|
H A D | VectorUtils.cpp | 336 if (Elt->isNullValue()) in findScalarElement() 1078 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef() 1087 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef() 1134 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
H A D | LazyValueInfo.cpp | 1784 if (Res->isNullValue()) in getPredicateResult() 1791 if (Res->isNullValue()) in getPredicateResult() 1822 if (V->getType()->isPointerTy() && C->isNullValue() && in getPredicateAt() 1945 if (Res->isNullValue()) in getPredicateAt()
|
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1135 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 1143 if (!GVar->getInitializer()->isNullValue() && in printModuleLevelGV() 1170 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 1804 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte() 1940 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstantForGV()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 246 Elems[*FirstElemToUpdate]->isNullValue() || in addBits() 422 if (Elems[I]->isNullValue()) in buildFrom() 954 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant() 957 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant() 1245 if (fillC && fillC->isNullValue()) in EmitArrayInitialization() 2172 if (Filler && Filler->isNullValue()) in tryEmitPrivate()
|
H A D | CGDecl.cpp | 907 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterBZero() 939 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterBZero() 957 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 972 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 1092 bool ZeroInitializer = constant->isNullValue(); in constWithPadding() 1205 constant->isNullValue() || isa<llvm::UndefValue>(constant); in emitStoresForConstant()
|
H A D | CGObjCMac.cpp | 3125 if (optInstanceMethods->isNullValue() && in EmitProtocolExtension() 3126 optClassMethods->isNullValue() && in EmitProtocolExtension() 3127 extendedMethodTypes->isNullValue() && in EmitProtocolExtension() 3128 instanceProperties->isNullValue() && in EmitProtocolExtension() 3129 classProperties->isNullValue()) { in EmitProtocolExtension() 3740 if (layout->isNullValue() && propertyList->isNullValue()) { in EmitClassExtension() 6707 instanceMethodList->isNullValue() && classMethodList->isNullValue(); in GenerateCategory() 6728 isEmptyCategory &= protocolList->isNullValue() && in GenerateCategory() 6729 propertyList->isNullValue() && in GenerateCategory() 6730 classPropertyList->isNullValue(); in GenerateCategory()
|
/openbsd/gnu/llvm/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 70 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()
|
/openbsd/gnu/llvm/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 264 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 359 if (!Index || !Index->isNullValue()) in matchAddReduction()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | SparsePropagation.h | 330 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|