std › zig › llvm › Builder › zeroInitValuezeroInitValueFunction parametersParameters#self:*Builderty:TypeType definitions in this namespaceTypes#OptionsStringBinaryOpcodeCastOpcodeCmpPredicateTypeAttributeAttributesFunctionAttributesLinkagePreemptionVisibilityDllStorageClassThreadLocalMutabilityUnnamedAddrAddrSpaceExternallyInitializedAlignmentCallConvStrtabStringGlobalAliasVariableIntrinsicFunctionDebugLocationWipFunctionFloatConditionIntegerConditionMemoryAccessKindSyncScopeAtomicOrderingFastMathFastMathKindConstantValueMetadataStringMetadataProducerFunctions in this namespaceFunctions#strtabStringstrtabStringIfExistsstrtabStringFmtstrtabStringFmtAssumeCapacitytrailingStrtabStringtrailingStrtabStringAssumeCapacityinitclearAndFreedeinitfinishModuleAsmstringstringNullstringIfExistsfmtfmtAssumeCapacitytrailingStringtrailingStringAssumeCapacityfnTypeintTypeptrTypevectorTypearrayTypestructTypeopaqueTypenamedTypeSetBodyattrattrsfnAttrsaddGlobaladdGlobalAssumeCapacitygetGlobaladdAliasaddAliasAssumeCapacityaddVariableaddVariableAssumeCapacityaddFunctionaddFunctionAssumeCapacitygetIntrinsicintConstintValuebigIntConstbigIntValuefpConstfpValuenanConstnanValuehalfConsthalfValuebfloatConstbfloatValuefloatConstfloatValuedoubleConstdoubleValuefp128Constfp128Valuex86_fp80Constx86_fp80Valueppc_fp128Constppc_fp128ValuenullConstnullValuenoneConstnoneValuestructConststructValuearrayConstarrayValuestringConststringValuevectorConstvectorValuesplatConstsplatValuezeroInitConstzeroInitValueundefConstundefValuepoisonConstpoisonValueblockAddrConstblockAddrValuedsoLocalEquivalentConstdsoLocalEquivalentValuenoCfiConstnoCfiValueconvConstconvValuecastConstcastValuegepConstgepValuebinConstbinValueasmConstasmValuedumpprintToFilePathprintToFileprintmetadataStringmetadataStringFromStrtabStringmetadataStringFmtmetadataStringFmtAssumeCapacitytrailingMetadataStringtrailingMetadataStringAssumeCapacitymetadataNameddebugFiledebugCompileUnitdebugSubprogramdebugLexicalBlockdebugLocationdebugBoolTypedebugUnsignedTypedebugSignedTypedebugFloatTypedebugForwardReferencedebugStructTypedebugUnionTypedebugEnumerationTypedebugArrayTypedebugVectorTypedebugPointerTypedebugMemberTypedebugSubroutineTypedebugEnumeratordebugSubrangedebugExpressionmetadataTuplestrTuplemetadataModuleFlagdebugLocalVardebugParameterdebugGlobalVardebugGlobalVarExpressionmetadataConstantdebugForwardReferenceSetTypemetadataNoneAssumeCapacitydebugCompileUnitAssumeCapacitytoBitcode= 16Values#expected_args_len= 16expected_attrs_len= 16expected_fields_len= 32expected_gep_indices_len= 8expected_cases_len= 8expected_incoming_len= 8SourceImplementation#pub fn zeroInitValue(self: *Builder, ty: Type) Allocator.Error!Value { return (try self.zeroInitConst(ty)).toValue(); }
pub fn zeroInitValue(self: *Builder, ty: Type) Allocator.Error!Value { return (try self.zeroInitConst(ty)).toValue(); }