std › zig › llvm › Builder › convConstconvConstFunction parametersParameters#self:*Builderval:Constantty: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 convConst( self: *Builder, val: Constant, ty: Type, ) Allocator.Error!Constant { try self.ensureUnusedConstantCapacity(1, Constant.Cast, 0); return self.convConstAssumeCapacity(val, ty); }
pub fn convConst( self: *Builder, val: Constant, ty: Type, ) Allocator.Error!Constant { try self.ensureUnusedConstantCapacity(1, Constant.Cast, 0); return self.convConstAssumeCapacity(val, ty); }