LLVM API Documentation

llvm::DIEString Class Reference

#include <DIE.h>

Inheritance diagram for llvm::DIEString:
[legend]
Collaboration diagram for llvm::DIEString:
[legend]

List of all members.

Public Member Functions

 DIEString (const std::string &S)
virtual void EmitValue (Dwarf *D, unsigned Form) const
virtual unsigned SizeOf (const TargetData *, unsigned) const
virtual void Profile (FoldingSetNodeID &ID)
virtual void print (std::ostream &O)

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, const std::string &Str)
static bool classof (const DIEString *)
static bool classof (const DIEValue *S)


Detailed Description

DIEString - A string value DIE.

Definition at line 307 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEString::DIEString ( const std::string &  S  )  [inline, explicit]

Definition at line 310 of file DIE.h.


Member Function Documentation

void DIEString::EmitValue ( Dwarf *  D,
unsigned  Form 
) const [virtual]

EmitValue - Emit string value.

Implements llvm::DIEValue.

Definition at line 257 of file DIE.cpp.

References llvm::AsmPrinter::EmitString(), and llvm::Dwarf::getAsm().

virtual unsigned llvm::DIEString::SizeOf ( const TargetData *  ,
unsigned   
) const [inline, virtual]

SizeOf - Determine size of string value in bytes.

Implements llvm::DIEValue.

Definition at line 318 of file DIE.h.

void DIEString::Profile ( FoldingSetNodeID &  ID,
const std::string &  Str 
) [static]

Profile - Used to gather unique data for the value folding set.

Definition at line 263 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddString(), and llvm::DIEValue::isString.

Referenced by Profile().

void DIEString::Profile ( FoldingSetNodeID &  ID  )  [virtual]

Profile - Used to gather unique data for the value folding set.

Implements llvm::DIEValue.

Definition at line 267 of file DIE.cpp.

References Profile().

static bool llvm::DIEString::classof ( const DIEString *   )  [inline, static]

Definition at line 328 of file DIE.h.

static bool llvm::DIEString::classof ( const DIEValue *  S  )  [inline, static]

Reimplemented from llvm::DIEValue.

Definition at line 329 of file DIE.h.

References llvm::DIEValue::getType().

void DIEString::print ( std::ostream &  O  )  [virtual]

Implements llvm::DIEValue.

Definition at line 272 of file DIE.cpp.


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