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::SkeletonJITInfo Class Reference

#include <SkeletonJITInfo.h>

Inheritance diagram for llvm::SkeletonJITInfo:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SkeletonJITInfo (TargetMachine &tm)
virtual void addPassesToJITCompile (FunctionPassManager &PM)
virtual void replaceMachineCodeForFunction (void *Old, void *New)

Detailed Description

Definition at line 23 of file SkeletonJITInfo.h.


Constructor & Destructor Documentation

llvm::SkeletonJITInfo::SkeletonJITInfo TargetMachine tm  )  [inline]
 

Definition at line 26 of file SkeletonJITInfo.h.


Member Function Documentation

void SkeletonJITInfo::addPassesToJITCompile FunctionPassManager PM  )  [virtual]
 

addPassesToJITCompile - Add passes to the specified pass manager to implement a fast dynamic compiler for this target. Return true if this is not supported for this target.

Implements llvm::TargetJITInfo.

Definition at line 53 of file SkeletonTargetMachine.cpp.

References llvm::FunctionPassManager::add(), llvm::createPrologEpilogCodeInserter(), and llvm::createRegisterAllocator().

void SkeletonJITInfo::replaceMachineCodeForFunction void *  Old,
void *  New
[virtual]
 

replaceMachineCodeForFunction - Make it so that calling the function whose machine code is at OLD turns into a call to NEW, perhaps by overwriting OLD with a branch to NEW. This is used for self-modifying code.

Implements llvm::TargetJITInfo.

Definition at line 28 of file SkeletonJITInfo.cpp.


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