LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::CTargetMachine Struct Reference

#include <CTargetMachine.h>

Inheritance diagram for llvm::CTargetMachine:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CTargetMachine (const Module &M, IntrinsicLowering *IL)
virtual bool addPassesToEmitAssembly (PassManager &PM, std::ostream &Out)

Static Public Member Functions

static unsigned getModuleMatchQuality (const Module &M)

Detailed Description

Definition at line 22 of file CTargetMachine.h.


Constructor & Destructor Documentation

llvm::CTargetMachine::CTargetMachine const Module M,
IntrinsicLowering IL
[inline]
 

Definition at line 23 of file CTargetMachine.h.


Member Function Documentation

bool CTargetMachine::addPassesToEmitAssembly PassManager PM,
std::ostream &  o
[virtual]
 

addPassesToEmitAssembly - Add passes to the specified pass manager to get assembly langage code emitted. Typically this will involve several steps of code generation. This method should return true if assembly emission is not supported.

Reimplemented from llvm::TargetMachine.

Definition at line 1664 of file Target/CBackend/Writer.cpp.

References llvm::PassManager::add(), llvm::createLowerAllocationsPass(), llvm::createLowerGCPass(), llvm::createLowerInvokePass(), and llvm::TargetMachine::getIntrinsicLowering().

static unsigned llvm::CTargetMachine::getModuleMatchQuality const Module M  )  [inline, static]
 

getModuleMatchQuality - This static method should be implemented by targets to indicate how closely they match the specified module. This is used by the LLC tool to determine which target to use when an explicit -march option is not specified. If a target returns zero, it will never be chosen without an explicit -march option.

Reimplemented from llvm::TargetMachine.

Definition at line 30 of file CTargetMachine.h.


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