| /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 | 350 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 352 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 354 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
| H A D | Evaluator.cpp | 389 if (!Val->isNullValue() || MutatedMemory.contains(GV) || in EvaluateBlock() 391 !GV->getInitializer()->isNullValue()) { in EvaluateBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 146 if (V->isNullValue() && !DestTy->isX86_AMXTy() && in ConstantFoldCastInstruction() 265 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 288 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction() 412 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction() 468 if (!MaskEltCount.isScalable() || Elt->isNullValue() || isa<UndefValue>(Elt)) in ConstantFoldShuffleVectorInstruction() 879 if (Instruction::isIntDivRem(Opcode) && C2Splat->isNullValue()) in ConstantFoldBinaryInstruction() 1139 if (C2->isNullValue()) { in ConstantFoldCompareInstruction() 1304 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction() 1336 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 1341 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl() 1392 isZero = V[0]->isNullValue(); in get() 1396 if (!C->isNullValue()) in get() 1437 bool isZero = C->isNullValue(); in getImpl() 1477 if (!V->isNullValue()) { in getSplat() 1497 if (!V->isNullValue()) { in getSplat() 1508 if (V->isNullValue()) in getSplat() [all …]
|
| H A D | StructuralHash.cpp | 124 if (C->isNullValue()) { in hashConstant()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenBuilder.h | 145 bool isNullValue(mlir::Attribute attr) const { in isNullValue() function 150 return ptrVal.isNullValue(); in isNullValue() 153 return intVal.isNullValue(); in isNullValue() 173 [&](const mlir::Attribute &elt) { return isNullValue(elt); }); in isNullValue()
|
| H A D | CIRGenExprConstant.cpp | 291 if (elements.size() < nonzeroLength && builder.isNullValue(filler)) in emitArrayConstant() 296 builder.isNullValue(elements[nonzeroLength - 1])) in emitArrayConstant() 717 if (filler && builder.isNullValue(filler)) in tryEmitPrivate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 185 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad() 352 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedStore() 497 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedGather() 632 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter() 737 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) { in scalarizeMaskedExpandLoad() 867 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedCompressStore() 998 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 | 62 if (Op->isNullValue() && AT.getNullPointerValue(SrcAddr) == 0) { in lowerAddrSpaceCast()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 55 LLVM_ABI bool isNullValue() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 157 if (!C->isNullValue()) in GetFrameMap() 269 return C->isNullValue(); in IsNullValue()
|
| H A D | WasmEHPrepare.cpp | 288 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) in prepareEHPads()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIRAttrs.td | 197 bool isNullValue() const; 210 bool $cppClass::isNullValue() const { 365 bool isNullValue() const { return getValue().getInt() == 0; }
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 982 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 990 if (!GVar->getInitializer()->isNullValue() && in printModuleLevelGV() 1016 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 1585 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte() 1731 if (CV->isNullValue() || isa<UndefValue>(CV)) in lowerConstantForGV()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 363 if (Elt->isNullValue()) in findScalarElement() 1273 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef() 1282 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef() 1354 if (CV->getAggregateElement(i)->isNullValue()) in possiblyDemandedEltsInMask()
|
| H A D | ConstantFolding.cpp | 584 if (Res->isNullValue() && !LoadTy->isX86_AMXTy()) in FoldReinterpretLoadFromConst() 591 if (Res->isNullValue() && !LoadTy->isX86_AMXTy()) in FoldReinterpretLoadFromConst() 782 if (C->isNullValue() && !Ty->isX86_AMXTy()) in ConstantFoldLoadFromUniformValue() 964 if ((Ptr->isNullValue() || BasePtr != 0) && in SymbolicallyEvaluateGEP() 1214 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1504 if (Base->isNullValue()) { in ConstantFoldCastOperand() 1515 Sub->getOperand(0)->isNullValue()) in ConstantFoldCastOperand() 3709 if (MaskElt->isNullValue()) { in ConstantFoldFixedVectorCall() 3867 if (!Src || !Src->isNullValue()) in ConstantFoldScalableVectorCall()
|
| /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 | CGObjCMac.cpp | 3031 if (optInstanceMethods->isNullValue() && optClassMethods->isNullValue() && in EmitProtocolExtension() 3032 extendedMethodTypes->isNullValue() && instanceProperties->isNullValue() && in EmitProtocolExtension() 3033 classProperties->isNullValue()) { in EmitProtocolExtension() 3632 if (layout->isNullValue() && propertyList->isNullValue()) { in EmitClassExtension() 6244 if (!MethListPtr->isNullValue()) in BuildClassRoTInitializer() 6573 if (!InstanceMethodList->isNullValue()) in GenerateCategory() 6581 if (!ClassMethodList->isNullValue()) in GenerateCategory() 6589 InstanceMethodList->isNullValue() && ClassMethodList->isNullValue(); in GenerateCategory() 6610 isEmptyCategory &= protocolList->isNullValue() && in GenerateCategory() 6611 propertyList->isNullValue() && in GenerateCategory() [all …]
|
| H A D | CGExprConstant.cpp | 255 Elems[*FirstElemToUpdate]->isNullValue() || in addBits() 431 if (Elems[I]->isNullValue()) in buildFrom() 1061 if (Elements.size() < NonzeroLength && Filler->isNullValue()) in EmitArrayConstant() 1064 while (NonzeroLength > 0 && Elements[NonzeroLength - 1]->isNullValue()) in EmitArrayConstant() 1408 if (fillC && fillC->isNullValue()) in EmitArrayInitialization() 2549 if (Filler && Filler->isNullValue()) in tryEmitPrivate()
|
| H A D | CGDecl.cpp | 914 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterBZero() 945 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterBZero() 964 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 979 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterBZero() 1099 bool ZeroInitializer = constant->isNullValue(); in constWithPadding() 1215 constant->isNullValue() || isa<llvm::UndefValue>(constant); in emitStoresForConstant()
|
| /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/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 356 if (!Index || !Index->isNullValue()) in matchAddReduction()
|