Jlm
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
jlm::tooling::JlcCommandLineOptions Class Referencefinal

#include <CommandLine.hpp>

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

Classes

class  Compilation
 

Public Types

enum class  OptimizationLevel { O0 , O1 , O2 , O3 }
 
enum class  LanguageStandard {
  None , Gnu89 , Gnu99 , C89 ,
  C99 , C11 , Cpp98 , Cpp03 ,
  Cpp11 , Cpp14
}
 

Public Member Functions

 JlcCommandLineOptions ()
 
void Reset () noexcept override
 
- Public Member Functions inherited from jlm::tooling::CommandLineOptions
virtual ~CommandLineOptions ()
 
 CommandLineOptions ()=default
 

Static Public Member Functions

static std::string_view ToString (const OptimizationLevel &optimizationLevel)
 
static std::string_view ToString (const LanguageStandard &languageStandard)
 

Public Attributes

bool OnlyPrintCommands_
 
bool GenerateDebugInformation_
 
bool Verbose_
 
bool Rdynamic_
 
bool Suppress_
 
bool UsePthreads_
 
bool Md_
 
OptimizationLevel OptimizationLevel_
 
LanguageStandard LanguageStandard_
 
util::FilePath OutputFile_
 
std::vector< std::string > Libraries_
 
std::vector< std::string > MacroDefinitions_
 
std::vector< std::string > LibraryPaths_
 
std::vector< std::string > Warnings_
 
std::vector< std::string > IncludePaths_
 
std::vector< std::string > Flags_
 
std::vector< JlmOptCommandLineOptions::OptimizationIdJlmOptOptimizations_
 
util::HashSet< util::Statistics::IdJlmOptPassStatistics_
 
std::vector< CompilationCompilations_
 

Detailed Description

Definition at line 218 of file CommandLine.hpp.

Member Enumeration Documentation

◆ LanguageStandard

Enumerator
None 
Gnu89 
Gnu99 
C89 
C99 
C11 
Cpp98 
Cpp03 
Cpp11 
Cpp14 

Definition at line 231 of file CommandLine.hpp.

◆ OptimizationLevel

Enumerator
O0 
O1 
O2 
O3 

Definition at line 223 of file CommandLine.hpp.

Constructor & Destructor Documentation

◆ JlcCommandLineOptions()

jlm::tooling::JlcCommandLineOptions::JlcCommandLineOptions ( )
inline

Definition at line 245 of file CommandLine.hpp.

Member Function Documentation

◆ Reset()

void jlm::tooling::JlcCommandLineOptions::Reset ( )
overridevirtualnoexcept

Resets the state of the instance.

Implements jlm::tooling::CommandLineOptions.

Definition at line 55 of file CommandLine.cpp.

◆ ToString() [1/2]

std::string_view jlm::tooling::JlcCommandLineOptions::ToString ( const LanguageStandard languageStandard)
static

Definition at line 36 of file CommandLine.cpp.

◆ ToString() [2/2]

std::string_view jlm::tooling::JlcCommandLineOptions::ToString ( const OptimizationLevel optimizationLevel)
static

Definition at line 22 of file CommandLine.cpp.

Member Data Documentation

◆ Compilations_

std::vector<Compilation> jlm::tooling::JlcCommandLineOptions::Compilations_

Definition at line 289 of file CommandLine.hpp.

◆ Flags_

std::vector<std::string> jlm::tooling::JlcCommandLineOptions::Flags_

Definition at line 285 of file CommandLine.hpp.

◆ GenerateDebugInformation_

bool jlm::tooling::JlcCommandLineOptions::GenerateDebugInformation_

Definition at line 268 of file CommandLine.hpp.

◆ IncludePaths_

std::vector<std::string> jlm::tooling::JlcCommandLineOptions::IncludePaths_

Definition at line 284 of file CommandLine.hpp.

◆ JlmOptOptimizations_

std::vector<JlmOptCommandLineOptions::OptimizationId> jlm::tooling::JlcCommandLineOptions::JlmOptOptimizations_

Definition at line 286 of file CommandLine.hpp.

◆ JlmOptPassStatistics_

util::HashSet<util::Statistics::Id> jlm::tooling::JlcCommandLineOptions::JlmOptPassStatistics_

Definition at line 287 of file CommandLine.hpp.

◆ LanguageStandard_

LanguageStandard jlm::tooling::JlcCommandLineOptions::LanguageStandard_

Definition at line 277 of file CommandLine.hpp.

◆ Libraries_

std::vector<std::string> jlm::tooling::JlcCommandLineOptions::Libraries_

Definition at line 280 of file CommandLine.hpp.

◆ LibraryPaths_

std::vector<std::string> jlm::tooling::JlcCommandLineOptions::LibraryPaths_

Definition at line 282 of file CommandLine.hpp.

◆ MacroDefinitions_

std::vector<std::string> jlm::tooling::JlcCommandLineOptions::MacroDefinitions_

Definition at line 281 of file CommandLine.hpp.

◆ Md_

bool jlm::tooling::JlcCommandLineOptions::Md_

Definition at line 274 of file CommandLine.hpp.

◆ OnlyPrintCommands_

bool jlm::tooling::JlcCommandLineOptions::OnlyPrintCommands_

Definition at line 267 of file CommandLine.hpp.

◆ OptimizationLevel_

OptimizationLevel jlm::tooling::JlcCommandLineOptions::OptimizationLevel_

Definition at line 276 of file CommandLine.hpp.

◆ OutputFile_

util::FilePath jlm::tooling::JlcCommandLineOptions::OutputFile_

Definition at line 279 of file CommandLine.hpp.

◆ Rdynamic_

bool jlm::tooling::JlcCommandLineOptions::Rdynamic_

Definition at line 270 of file CommandLine.hpp.

◆ Suppress_

bool jlm::tooling::JlcCommandLineOptions::Suppress_

Definition at line 271 of file CommandLine.hpp.

◆ UsePthreads_

bool jlm::tooling::JlcCommandLineOptions::UsePthreads_

Definition at line 272 of file CommandLine.hpp.

◆ Verbose_

bool jlm::tooling::JlcCommandLineOptions::Verbose_

Definition at line 269 of file CommandLine.hpp.

◆ Warnings_

std::vector<std::string> jlm::tooling::JlcCommandLineOptions::Warnings_

Definition at line 283 of file CommandLine.hpp.


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