LLVM API Documentation
#include <Tool.h>
Public Member Functions | |
| virtual | ~Tool () |
| virtual Action | GenerateAction (const PathVector &inFiles, bool HasChildren, const llvm::sys::Path &TempDir, const InputLanguagesSet &InLangs, const LanguageMap &LangMap) const =0 |
| virtual Action | GenerateAction (const llvm::sys::Path &inFile, bool HasChildren, const llvm::sys::Path &TempDir, const InputLanguagesSet &InLangs, const LanguageMap &LangMap) const =0 |
| virtual const char * | Name () const =0 |
| virtual const char ** | InputLanguages () const =0 |
| virtual const char * | OutputLanguage () const =0 |
| virtual bool | IsJoin () const =0 |
Protected Member Functions | |
| llvm::sys::Path | OutFilename (const llvm::sys::Path &In, const llvm::sys::Path &TempDir, bool StopCompilation, const char *OutputSuffix) const |
| OutFileName - Generate the output file name. | |
Definition at line 32 of file Tool.h.
| virtual Action llvmc::Tool::GenerateAction | ( | const PathVector & | inFiles, | |
| bool | HasChildren, | |||
| const llvm::sys::Path & | TempDir, | |||
| const InputLanguagesSet & | InLangs, | |||
| const LanguageMap & | LangMap | |||
| ) | const [pure virtual] |
| virtual Action llvmc::Tool::GenerateAction | ( | const llvm::sys::Path & | inFile, | |
| bool | HasChildren, | |||
| const llvm::sys::Path & | TempDir, | |||
| const InputLanguagesSet & | InLangs, | |||
| const LanguageMap & | LangMap | |||
| ) | const [pure virtual] |
| virtual const char* llvmc::Tool::Name | ( | ) | const [pure virtual] |
Referenced by llvmc::CompilationGraph::insertNode().
| virtual const char** llvmc::Tool::InputLanguages | ( | ) | const [pure virtual] |
| virtual const char* llvmc::Tool::OutputLanguage | ( | ) | const [pure virtual] |
| virtual bool llvmc::Tool::IsJoin | ( | ) | const [pure virtual] |
Referenced by OutFilename().
| sys::Path Tool::OutFilename | ( | const llvm::sys::Path & | In, | |
| const llvm::sys::Path & | TempDir, | |||
| bool | StopCompilation, | |||
| const char * | OutputSuffix | |||
| ) | const [protected] |
OutFileName - Generate the output file name.
Definition at line 52 of file Tool.cpp.
References llvm::sys::Path::appendSuffix(), llvm::sys::Path::getBasename(), IsJoin(), MakeTempFile(), Out, OutputFilename, and llvm::sys::Path::set().