LLVM API Documentation
#include <MachineDebugInfo.h>
Collaboration diagram for llvm::SourceFileInfo:
Public Member Functions | |
SourceFileInfo (unsigned D, const std::string &N) | |
unsigned | getDirectoryID () const |
const std::string & | getName () const |
bool | operator== (const SourceFileInfo &SI) const |
bool | operator< (const SourceFileInfo &SI) const |
SourceFileInfo (const GlobalVariable *Desc, const SourceLanguage &Lang) | |
~SourceFileInfo () | |
const std::string & | getBaseName () const |
const std::string & | getDirectory () const |
unsigned | getDebugVersion () const |
const GlobalVariable * | getDescriptor () const |
SourceFile & | getSourceText () const |
const SourceLanguage & | getLanguage () const |
Definition at line 862 of file MachineDebugInfo.h.
llvm::SourceFileInfo::SourceFileInfo | ( | unsigned | D, | |
const std::string & | N | |||
) | [inline] |
Definition at line 868 of file MachineDebugInfo.h.
SourceFileInfo::SourceFileInfo | ( | const GlobalVariable * | Desc, | |
const SourceLanguage & | Lang | |||
) |
Definition at line 108 of file ProgramInfo.cpp.
References llvm::GlobalVariable::getInitializer(), and llvm::GlobalVariable::hasInitializer().
SourceFileInfo::~SourceFileInfo | ( | ) |
Definition at line 125 of file ProgramInfo.cpp.
unsigned llvm::SourceFileInfo::getDirectoryID | ( | ) | const [inline] |
const std::string& llvm::SourceFileInfo::getName | ( | ) | const [inline] |
bool llvm::SourceFileInfo::operator== | ( | const SourceFileInfo & | SI | ) | const [inline] |
operator== - Used by UniqueVector to locate entry.
Definition at line 876 of file MachineDebugInfo.h.
References getDirectoryID(), and getName().
bool llvm::SourceFileInfo::operator< | ( | const SourceFileInfo & | SI | ) | const [inline] |
operator< - Used by UniqueVector to locate entry.
Definition at line 882 of file MachineDebugInfo.h.
References getDirectoryID(), and getName().
const std::string& llvm::SourceFileInfo::getBaseName | ( | ) | const [inline] |
const std::string& llvm::SourceFileInfo::getDirectory | ( | ) | const [inline] |
Definition at line 75 of file ProgramInfo.h.
unsigned llvm::SourceFileInfo::getDebugVersion | ( | ) | const [inline] |
Definition at line 76 of file ProgramInfo.h.
const GlobalVariable* llvm::SourceFileInfo::getDescriptor | ( | ) | const [inline] |
Definition at line 77 of file ProgramInfo.h.
SourceFile & SourceFileInfo::getSourceText | ( | ) | const |
Definition at line 129 of file ProgramInfo.cpp.
References llvm::sys::Path::appendComponent(), llvm::sys::Path::canRead(), llvm::sys::Path::set(), and llvm::sys::Path::toString().
const SourceLanguage& llvm::SourceFileInfo::getLanguage | ( | ) | const [inline] |