Enum llvm_constants::IrBlockId[][src]

#[repr(u64)]
pub enum IrBlockId {
Show 19 variants Module, ParamAttr, ParamAttrGroup, Constants, Function, Identification, ValueSymtab, Metadata, MetadataAttachment, Type, Uselist, ModuleStrtab, GlobalValSummary, OperandBundleTags, MetadataKind, Strtab, FullLtoGlobalValSummary, Symtab, SyncScopeNames,
}
Expand description

Block IDs that are used by LLVM for bitcode (i.e., IR bitstreams). See: enum BlockIDs in Bitcode/LLVMBitCodes.h,

Variants

Module

MODULE_BLOCK_ID

ParamAttr

PARAM_ATTR_BLOCK_ID

ParamAttrGroup

PARAM_ATTR_GROUP_BLOCK_ID

Constants

CONSTANTS_BLOCK_ID

Function

FUNCTION_BLOCK_ID

Identification

IDENTIFICATION_BLOCK_ID.

ValueSymtab

VALUE_SYMTAB_BLOCK_ID.

Metadata

METADATA_BLOCK_ID.

MetadataAttachment

METADATA_ATTACHMENT_BLOCK_ID.

Type

TYPE_BLOCK_ID_NEW.

Uselist

USELIST_BLOCK_ID.

ModuleStrtab

MODULE_STRTAB_BLOCK_ID.

GlobalValSummary

GLOBAL_VAL_SUMMARY_BLOCK_ID.

OperandBundleTags

OPERAND_BUNDLE_TAGS_BLOCK_ID.

MetadataKind

METADATA_KIND_BLOCK_ID.

Strtab

STRTAB_BLOCK_ID.

FullLtoGlobalValSummary

FULL_LTO_GLOBAL_VAL_SUMMARY_BLOCK_ID.

Symtab

SYMTAB_BLOCK_ID.

SyncScopeNames

SYNC_SCOPE_NAMES_BLOCK_ID.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.