mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 15:08:59 +00:00
Add accessor function prototypes for reoptimizer support passes.
Make accessors return FunctionPass* as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6672f86a4d
commit
f858f7f380
@ -16,14 +16,29 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Pass;
|
||||
class ModulePass;
|
||||
class FunctionPass;
|
||||
|
||||
// Reoptimizer support pass: add instrumentation calls to back-edges of loops
|
||||
ModulePass *createLoopInstrumentationPass ();
|
||||
|
||||
// Reoptimizer support pass: combine multiple back-edges w/ same target into one
|
||||
FunctionPass *createCombineBranchesPass();
|
||||
|
||||
// Reoptimizer support pass: emit table of global functions
|
||||
FunctionPass *createEmitFunctionTablePass ();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Support for inserting LLVM code to print values at basic block and function
|
||||
// exits.
|
||||
//
|
||||
Pass *createTraceValuesPassForFunction(); // Just trace function entry/exit
|
||||
Pass *createTraceValuesPassForBasicBlocks(); // Trace BB's and methods
|
||||
|
||||
// Just trace function entry/exit
|
||||
FunctionPass *createTraceValuesPassForBasicBlocks();
|
||||
|
||||
// Trace BB's and methods
|
||||
FunctionPass *createTraceValuesPassForFunction();
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user