std › zig › llvm › Builder.Type › vectorLenvectorLenFunction parametersParameters#self:Typebuilder:*const BuilderType 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 vectorLen(self: Type, builder: *const Builder) u32 { const item = builder.type_items.items[@intFromEnum(self)]; return switch (item.tag) { .vector, .scalable_vector, => builder.typeExtraData(Type.Vector, item.data).len, else => unreachable, }; }
pub fn vectorLen(self: Type, builder: *const Builder) u32 { const item = builder.type_items.items[@intFromEnum(self)]; return switch (item.tag) { .vector, .scalable_vector, => builder.typeExtraData(Type.Vector, item.data).len, else => unreachable, }; }