Jlm
Public Member Functions | Static Public Member Functions | Static Private Member Functions | List of all members
jlm::tooling::JhlsCommandGraphGenerator Class Referencefinal

#include <CommandGraphGenerator.hpp>

Inheritance diagram for jlm::tooling::JhlsCommandGraphGenerator:
Inheritance graph
[legend]
Collaboration diagram for jlm::tooling::JhlsCommandGraphGenerator:
Collaboration graph
[legend]

Public Member Functions

 ~JhlsCommandGraphGenerator () noexcept override
 
 JhlsCommandGraphGenerator ()=default
 
std::unique_ptr< CommandGraphGenerateCommandGraph (const JhlsCommandLineOptions &commandLineOptions) override
 
- Public Member Functions inherited from jlm::tooling::CommandGraphGenerator< JhlsCommandLineOptions >
virtual ~CommandGraphGenerator () noexcept=default
 

Static Public Member Functions

static std::unique_ptr< CommandGraphGenerate (const JhlsCommandLineOptions &commandLineOptions)
 

Static Private Member Functions

static util::FilePath CreateParserCommandOutputFile (const util::FilePath &tmpDirectory, const util::FilePath &inputFile)
 
static util::FilePath CreateJlmOptCommandOutputFile (const util::FilePath &tmpDirectory, const util::FilePath &inputFile)
 
static ClangCommand::LanguageStandard ConvertLanguageStandard (const JhlsCommandLineOptions::LanguageStandard &languageStandard)
 
static LlcCommand::OptimizationLevel ConvertOptimizationLevel (const JhlsCommandLineOptions::OptimizationLevel &optimizationLevel)
 

Detailed Description

Command graph generator for the jhls command line tool.

Definition at line 86 of file CommandGraphGenerator.hpp.

Constructor & Destructor Documentation

◆ ~JhlsCommandGraphGenerator()

jlm::tooling::JhlsCommandGraphGenerator::~JhlsCommandGraphGenerator ( )
overridedefaultnoexcept

◆ JhlsCommandGraphGenerator()

jlm::tooling::JhlsCommandGraphGenerator::JhlsCommandGraphGenerator ( )
default

Member Function Documentation

◆ ConvertLanguageStandard()

ClangCommand::LanguageStandard jlm::tooling::JhlsCommandGraphGenerator::ConvertLanguageStandard ( const JhlsCommandLineOptions::LanguageStandard languageStandard)
staticprivate

Definition at line 221 of file CommandGraphGenerator.cpp.

◆ ConvertOptimizationLevel()

LlcCommand::OptimizationLevel jlm::tooling::JhlsCommandGraphGenerator::ConvertOptimizationLevel ( const JhlsCommandLineOptions::OptimizationLevel optimizationLevel)
staticprivate

Definition at line 250 of file CommandGraphGenerator.cpp.

◆ CreateJlmOptCommandOutputFile()

util::FilePath jlm::tooling::JhlsCommandGraphGenerator::CreateJlmOptCommandOutputFile ( const util::FilePath tmpDirectory,
const util::FilePath inputFile 
)
staticprivate

Definition at line 213 of file CommandGraphGenerator.cpp.

◆ CreateParserCommandOutputFile()

util::FilePath jlm::tooling::JhlsCommandGraphGenerator::CreateParserCommandOutputFile ( const util::FilePath tmpDirectory,
const util::FilePath inputFile 
)
staticprivate

Definition at line 205 of file CommandGraphGenerator.cpp.

◆ Generate()

static std::unique_ptr<CommandGraph> jlm::tooling::JhlsCommandGraphGenerator::Generate ( const JhlsCommandLineOptions commandLineOptions)
inlinestatic

Definition at line 97 of file CommandGraphGenerator.hpp.

◆ GenerateCommandGraph()

std::unique_ptr< CommandGraph > jlm::tooling::JhlsCommandGraphGenerator::GenerateCommandGraph ( const JhlsCommandLineOptions commandLineOptions)
overridevirtual

Generate a command graph.

Parameters
commandLineOptionsAn instance of a CommandLineOptions class.
Returns
An instance of a CommandGraph class.

Implements jlm::tooling::CommandGraphGenerator< JhlsCommandLineOptions >.

Definition at line 266 of file CommandGraphGenerator.cpp.


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