LLVM API Documentation

Public Member Functions
llvm::CPPTargetMachine Struct Reference

#include <CPPTargetMachine.h>

Inheritance diagram for llvm::CPPTargetMachine:
Inheritance graph
[legend]
Collaboration diagram for llvm::CPPTargetMachine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CPPTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
virtual bool addPassesToEmitFile (PassManagerBase &PM, formatted_raw_ostream &Out, CodeGenFileType FileType, bool DisableVerify, AnalysisID StartAfter, AnalysisID StopAfter)
virtual const DataLayoutgetDataLayout () const

Detailed Description

Definition at line 24 of file CPPTargetMachine.h.


Constructor & Destructor Documentation

llvm::CPPTargetMachine::CPPTargetMachine ( const Target T,
StringRef  TT,
StringRef  CPU,
StringRef  FS,
const TargetOptions Options,
Reloc::Model  RM,
CodeModel::Model  CM,
CodeGenOpt::Level  OL 
) [inline]

Definition at line 25 of file CPPTargetMachine.h.


Member Function Documentation

bool CPPTargetMachine::addPassesToEmitFile ( PassManagerBase ,
formatted_raw_ostream ,
CodeGenFileType  ,
bool  ,
AnalysisID  StartAfter,
AnalysisID  StopAfter 
) [virtual]

addPassesToEmitFile - Add passes to the specified pass manager to get the specified file emitted. Typically this will involve several steps of code generation. This method should return true if emission of this file type is not supported, or false on success.

Reimplemented from llvm::TargetMachine.

Definition at line 2105 of file CPPBackend.cpp.

References llvm::PassManagerBase::add(), and llvm::TargetMachine::CGFT_AssemblyFile.

virtual const DataLayout* llvm::CPPTargetMachine::getDataLayout ( ) const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 38 of file CPPTargetMachine.h.


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