LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::ValID Struct Reference

#include <ParserInternals.h>

Collaboration diagram for llvm::ValID:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  NumberVal, NameVal, ConstSIntVal, ConstUIntVal,
  ConstFPVal, ConstNullVal, ConstUndefVal, ConstantVal
}

Public Member Functions

void destroy () const
ValID copy () const
std::string getName () const
bool operator< (const ValID &V) const

Static Public Member Functions

static ValID create (int Num)
static ValID create (char *Name)
static ValID create (int64_t Val)
static ValID create (uint64_t Val)
static ValID create (double Val)
static ValID createNull ()
static ValID createUndef ()
static ValID create (Constant *Val)

Public Attributes

enum llvm::ValID:: { ... }  Type
int Num
char * Name
int64_t ConstPool64
uint64_t UConstPool64
double ConstPoolFP
ConstantConstantValue

Detailed Description

Definition at line 72 of file ParserInternals.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
NumberVal 
NameVal 
ConstSIntVal 
ConstUIntVal 
ConstFPVal 
ConstNullVal 
ConstUndefVal 
ConstantVal 

Definition at line 73 of file ParserInternals.h.


Member Function Documentation

ValID llvm::ValID::copy  )  const [inline]
 

Definition at line 124 of file ParserInternals.h.

References Name, NameVal, and strdup.

static ValID llvm::ValID::create Constant Val  )  [inline, static]
 

Definition at line 115 of file ParserInternals.h.

References ConstantVal, ConstantValue, D, and Type.

static ValID llvm::ValID::create double  Val  )  [inline, static]
 

Definition at line 103 of file ParserInternals.h.

References ConstFPVal, ConstPoolFP, D, and Type.

static ValID llvm::ValID::create uint64_t  Val  )  [inline, static]
 

Definition at line 99 of file ParserInternals.h.

References ConstUIntVal, D, Type, and UConstPool64.

static ValID llvm::ValID::create int64_t  Val  )  [inline, static]
 

Definition at line 95 of file ParserInternals.h.

References ConstPool64, ConstSIntVal, D, and Type.

static ValID llvm::ValID::create char *  Name  )  [inline, static]
 

Definition at line 91 of file ParserInternals.h.

References D, Name, NameVal, and Type.

static ValID llvm::ValID::create int  Num  )  [inline, static]
 

Definition at line 87 of file ParserInternals.h.

References D, Num, NumberVal, and Type.

static ValID llvm::ValID::createNull  )  [inline, static]
 

Definition at line 107 of file ParserInternals.h.

References ConstNullVal, D, and Type.

static ValID llvm::ValID::createUndef  )  [inline, static]
 

Definition at line 111 of file ParserInternals.h.

References ConstUndefVal, D, and Type.

void llvm::ValID::destroy  )  const [inline]
 

Definition at line 119 of file ParserInternals.h.

References Name, and NameVal.

Referenced by getBBVal(), getTypeVal(), and getValNonImprovising().

std::string llvm::ValID::getName  )  const [inline]
 

Definition at line 131 of file ParserInternals.h.

References abort(), ConstantVal, ConstantValue, ConstFPVal, ConstNullVal, ConstPool64, ConstPoolFP, ConstSIntVal, ConstUIntVal, ConstUndefVal, llvm::ConstantBool::False, llvm::ftostr(), llvm::itostr(), Name, NameVal, Num, NumberVal, and llvm::ConstantBool::True.

Referenced by getBBVal(), ResolveDefinitions(), and ResolveTypes().

bool llvm::ValID::operator< const ValID V  )  const [inline]
 

Definition at line 151 of file ParserInternals.h.

References ConstantVal, ConstantValue, ConstFPVal, ConstNullVal, ConstPool64, ConstPoolFP, ConstSIntVal, ConstUIntVal, ConstUndefVal, Name, NameVal, Num, NumberVal, Type, and UConstPool64.


Member Data Documentation

Constant* llvm::ValID::ConstantValue
 

Definition at line 84 of file ParserInternals.h.

Referenced by create(), getName(), getValNonImprovising(), and operator<().

int64_t llvm::ValID::ConstPool64
 

Definition at line 81 of file ParserInternals.h.

Referenced by create(), getName(), getValNonImprovising(), and operator<().

double llvm::ValID::ConstPoolFP
 

Definition at line 83 of file ParserInternals.h.

Referenced by create(), getName(), getValNonImprovising(), and operator<().

char* llvm::ValID::Name
 

Definition at line 80 of file ParserInternals.h.

Referenced by copy(), create(), destroy(), getBBVal(), getName(), getTypeVal(), getValNonImprovising(), and operator<().

int llvm::ValID::Num
 

Definition at line 79 of file ParserInternals.h.

Referenced by create(), getBBVal(), getName(), getTypeVal(), getValNonImprovising(), operator<(), ResolveDefinitions(), and ResolveTypes().

enum { ... } llvm::ValID::Type
 

Referenced by create(), createNull(), createUndef(), getBBVal(), getTypeVal(), getValNonImprovising(), operator<(), ResolveDefinitions(), and ResolveTypes().

uint64_t llvm::ValID::UConstPool64
 

Definition at line 82 of file ParserInternals.h.

Referenced by create(), getValNonImprovising(), and operator<().


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