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)
const CPPSubtargetgetSubtargetImpl () const override
bool addPassesToEmitFile (PassManagerBase &PM, formatted_raw_ostream &Out, CodeGenFileType FileType, bool DisableVerify, AnalysisID StartAfter, AnalysisID StopAfter) override

Detailed Description

Definition at line 28 of file CPPTargetMachine.h.


Constructor & Destructor Documentation

Definition at line 29 of file CPPTargetMachine.h.


Member Function Documentation

bool CPPTargetMachine::addPassesToEmitFile ( PassManagerBase &  ,
formatted_raw_ostream ,
CodeGenFileType  ,
bool  ,
AnalysisID  ,
AnalysisID   
) [override, 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 2148 of file CPPBackend.cpp.

References llvm::TargetMachine::CGFT_AssemblyFile.

const CPPSubtarget* llvm::CPPTargetMachine::getSubtargetImpl ( ) const [inline, override, virtual]

getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInfo-derived member variable.

Reimplemented from llvm::TargetMachine.

Definition at line 38 of file CPPTargetMachine.h.


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