Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp260 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 DAbstractCallSite.cpp147 if (VarArgFlagAsCM->getValue()->isNullValue()) in AbstractCallSite()
H A DConstants.cpp57 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 DLowerGlobalDtors.cpp111 if (DtorFunc->isNullValue()) in runImpl()
171 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
189 (!Associated->isNullValue() ? (Twine(".") + Associated->getName()) in runImpl()
H A DFunctionComparator.cpp274 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 DAMDGPUMCInstLower.h60 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp184 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 DCallSiteSplitting.cpp173 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DConstant.h53 bool isNullValue() const;
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp116 if (!C->isNullValue()) in GetFrameMap()
229 return C->isNullValue(); in IsNullValue()
H A DWasmEHPrepare.cpp256 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
H A DWinEHPrepare.cpp152 if (TypeInfo->isNullValue()) in addTryBlockMapEntry()
381 assert((Filter || FilterOrNull->isNullValue()) && in calculateSEHStateNumbers()
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceOperandsSkip.cpp65 if (C->isNullValue()) in classifyReductivePower()
H A DReduceOperands.cpp55 return C && C->isNullValue(); in isZero()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp567 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 DVectorUtils.cpp336 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 DLazyValueInfo.cpp1784 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 DNVPTXAsmPrinter.cpp1135 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 DCGExprConstant.cpp246 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 DCGDecl.cpp907 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 DCGObjCMac.cpp3125 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 DTargetLoweringObjectFile.cpp70 if (C->isNullValue() || isa<UndefValue>(C)) in isNullOrUndef()
/openbsd/gnu/llvm/llvm/tools/bugpoint/
H A DExtractFunction.cpp264 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp359 if (!Index || !Index->isNullValue()) in matchAddReduction()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DSparsePropagation.h330 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()

1234