LLVM API Documentation
#include <DIE.h>
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) |
Definition at line 307 of file DIE.h.
| llvm::DIEString::DIEString | ( | const std::string & | S | ) | [inline, explicit] |
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.
| 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().
Reimplemented from llvm::DIEValue.
Definition at line 329 of file DIE.h.
References llvm::DIEValue::getType().
| void DIEString::print | ( | std::ostream & | O | ) | [virtual] |