Base class for variables.
Synopsis
Declared in <llvm/IR/DebugInfoMetadata.h>
class DIVariable
: public DINode
Description
Uses the SubclassData32 Metadata slot.
Base Classes
Name |
Description |
Tagged DWARF‐like metadata node. |
Type Aliases
Enums
Name |
Description |
Debug info flags. |
|
Member Functions
Name |
Description |
|
|
Create a (temporary) clone of this. |
|
User‐friendly dump. |
|
User‐friendly dump in tree shape. |
|
Return number of MDNode operands. |
|
Return the signedness of this variable's type, or std::nullopt if this type is neither signed nor unsigned. |
|
Determines the size of the variable's type. |
|
Check if node is fully resolved. |
|
Check whether MDNode is a vtable access. |
|
|
|
Print. |
|
Print as operand. |
|
Print in tree shape. |
|
RAUW a temporary. |
|
Replace a specific operand. |
|
Resolve a unique, unresolved node. |
|
Resolve cycles. |
Static Member Functions
Name |
Description |
Methods for metadata merging. |
|
Deallocate a node created by getTemporary. |
|
Convert CaptureComponents to !captures metadata. The return value may be nullptr. |
|
Merge !prof metadata from two instructions. Currently only implemented with direct callsites with branch weights. |
|
Replace a temporary node with a distinct one. |
|
Replace a temporary node with a permanent one. |
|
Replace a temporary node with a uniqued one. |
|
Split up a flags bitfield. |
|
Convert !captures metadata to CaptureComponents. MD may be nullptr. |
Static Data Members
Name |
Description |
Metadata IDs that may generate poison. |
Protected Type Aliases
Protected Enums
Name |
Description |
Active type of storage. |
Protected Member Functions
Name |
Description |
|
|
|
Destructor |
Default handling of a changed operand, which asserts. |
|
Required by std, but never called. |
|
Resize the node to hold NumOps operands. |
|
Set an operand. |
|
Allow subclasses to mutate the tag. |
|
Protected Static Member Functions
Protected Data Members
Name |
Description |
Storage flag for non‐uniqued, otherwise unowned, metadata. |
|
Non-Member Functions
Name |
Description |
Lookup or compute a mapping for a piece of metadata. |
|
Version of MapMetadata with type safety for MDNode. |
|
If the given TBAA tag uses the scalar TBAA format, create a new node corresponding to the upgrade to the struct‐path aware TBAA format. Otherwise return the |
|
Compute known bits from the range metadata. |
|
Extract branch weights from MD_prof metadata |
|
Faster version of extractBranchWeights() that skips checks and must only be called with "branch_weights" metadata nodes. Supports uint32_t. |
|
Faster version of extractBranchWeights() that skips checks and must only be called with "branch_weights" metadata nodes. Supports uint64_t. |
|
Retrieve the total of all weights from MD_prof data. |
|
Find and return the loop attribute node for the attribute |
|
Return the offset to the first branch weight data |
|
Parse out a conservative ConstantRange from !range metadata. |
|
Find subprogram that is enclosing this scope. |
|
Check if Branch Weight Metadata has an "expected" field from an llvm.expect* intrinsic |
|
Checks if an MDNode contains Branch Weight Metadata |
|
Return whether an MDNode might represent an access group. |
|
Checks if an MDNode contains value profiling Metadata |
|
Create a new loop identifier for a loop created from a loop transformation. |
|
Compute the union of two access‐group lists. |
|
Upgrade the loop attachment metadata node. |
|
Returns the allocation type from an MIB metadata node. |
|
Returns the stack node from an MIB metadata node. |
Derived Classes
Name |
Description |
Global variables. |
|
Local variable. |
Created with MrDocs