LLVM  8.0.1
Static Public Member Functions | Public Attributes | List of all members
llvm::DbgVariableLocation Struct Reference

Represents the location at which a variable is stored. More...

#include "llvm/CodeGen/DebugHandlerBase.h"

Collaboration diagram for llvm::DbgVariableLocation:
Collaboration graph
[legend]

Static Public Member Functions

static Optional< DbgVariableLocationextractFromMachineInstruction (const MachineInstr &Instruction)
 Extract a VariableLocation from a MachineInstr. More...
 

Public Attributes

unsigned Register
 Base register. More...
 
SmallVector< int64_t, 1 > LoadChain
 Chain of offsetted loads necessary to load the value if it lives in memory. More...
 
llvm::Optional< llvm::DIExpression::FragmentInfoFragmentInfo
 Present if the location is part of a larger variable. More...
 

Detailed Description

Represents the location at which a variable is stored.

Definition at line 32 of file DebugHandlerBase.h.

Member Function Documentation

◆ extractFromMachineInstruction()

Optional< DbgVariableLocation > DbgVariableLocation::extractFromMachineInstruction ( const MachineInstr Instruction)
static

Member Data Documentation

◆ FragmentInfo

llvm::Optional<llvm::DIExpression::FragmentInfo> llvm::DbgVariableLocation::FragmentInfo

Present if the location is part of a larger variable.

Definition at line 41 of file DebugHandlerBase.h.

Referenced by extractFromMachineInstruction().

◆ LoadChain

SmallVector<int64_t, 1> llvm::DbgVariableLocation::LoadChain

Chain of offsetted loads necessary to load the value if it lives in memory.

Every load except for the last is pointer-sized.

Definition at line 38 of file DebugHandlerBase.h.

Referenced by canUseReferenceType(), extractFromMachineInstruction(), and needsReferenceType().

◆ Register

unsigned llvm::DbgVariableLocation::Register

Base register.

Definition at line 34 of file DebugHandlerBase.h.

Referenced by extractFromMachineInstruction().


The documentation for this struct was generated from the following files: