LLVM  6.0.0svn
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
llvm::InlineAsmIdentifierInfo Struct Reference

#include "llvm/MC/MCParser/MCAsmParser.h"

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

Classes

struct  EnumIdentifier
 
struct  LabelIdentifier
 
struct  VariableIdentifier
 

Public Types

enum  IdKind { IK_Invalid, IK_Label, IK_EnumVal, IK_Var }
 

Public Member Functions

bool isKind (IdKind kind) const
 
void setEnum (int64_t enumVal)
 
void setLabel (void *decl)
 
void setVar (void *decl, bool isGlobalLV, unsigned size, unsigned type)
 
 InlineAsmIdentifierInfo ()
 

Public Attributes

union {
   EnumIdentifier   Enum
 
   LabelIdentifier   Label
 
   VariableIdentifier   Var
 
}; 
 

Detailed Description

Definition at line 37 of file MCAsmParser.h.

Member Enumeration Documentation

◆ IdKind

Enumerator
IK_Invalid 
IK_Label 
IK_EnumVal 
IK_Var 

Definition at line 38 of file MCAsmParser.h.

Constructor & Destructor Documentation

◆ InlineAsmIdentifierInfo()

llvm::InlineAsmIdentifierInfo::InlineAsmIdentifierInfo ( )
inline

Definition at line 87 of file MCAsmParser.h.

Member Function Documentation

◆ isKind()

bool llvm::InlineAsmIdentifierInfo::isKind ( IdKind  kind) const
inline

Definition at line 66 of file MCAsmParser.h.

Referenced by CheckBaseRegAndIndexRegAndScale(), checkScale(), setEnum(), setLabel(), and setVar().

◆ setEnum()

void llvm::InlineAsmIdentifierInfo::setEnum ( int64_t  enumVal)
inline

◆ setLabel()

void llvm::InlineAsmIdentifierInfo::setLabel ( void *  decl)
inline

◆ setVar()

void llvm::InlineAsmIdentifierInfo::setVar ( void *  decl,
bool  isGlobalLV,
unsigned  size,
unsigned  type 
)
inline

Member Data Documentation

◆ @236

union { ... }

◆ Enum

EnumIdentifier llvm::InlineAsmIdentifierInfo::Enum

Definition at line 62 of file MCAsmParser.h.

Referenced by checkScale(), and setEnum().

◆ Label

LabelIdentifier llvm::InlineAsmIdentifierInfo::Label

Definition at line 63 of file MCAsmParser.h.

Referenced by CheckBaseRegAndIndexRegAndScale(), and setLabel().

◆ Var

VariableIdentifier llvm::InlineAsmIdentifierInfo::Var

Definition at line 64 of file MCAsmParser.h.

Referenced by CheckBaseRegAndIndexRegAndScale(), and setVar().


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