CACAO
|
Public Member Functions | |
ScheduleClickPass () | |
virtual bool | run (JITData &JD) |
Run the Pass. More... | |
virtual PassUsage & | get_PassUsage (PassUsage &PU) const |
Set the requirements for the pass. More... | |
virtual bool | verify () const |
Verify the Result. More... | |
![]() | |
Pass () | |
void | set_PassManager (PassManager *PM) |
template<class _PassClass > | |
_PassClass * | get_Pass () const |
Get the result of a previous compiler pass. More... | |
template<class _PassClass > | |
_PassClass * | get_Pass_if_available () const |
Get the result of a previous compiler pass. More... | |
virtual void | initialize () |
Initialize the Pass. More... | |
virtual void | finalize () |
Finalize the Pass. More... | |
virtual | ~Pass () |
Destructor. More... | |
![]() | |
GlobalSchedule () | |
void | add_Instruction (Instruction *I, BeginInst *BI) |
BeginInst * | operator[] (const Instruction *I) const |
BeginInst * | get (const Instruction *I) const |
const_inst_iterator | inst_begin (const BeginInst *BI) const |
const_inst_iterator | inst_end (const BeginInst *BI) const |
Static Public Attributes | |
static char | ID = 0 |
Private Attributes | |
GlobalSchedule * | late |
Method * | M |
Additional Inherited Members | |
![]() | |
typedef alloc::unordered_set < Instruction * > ::type::const_iterator | const_inst_iterator |
![]() | |
static void * | operator new (std::size_t size) throw (std::bad_alloc) |
normal new More... | |
static void * | operator new (std::size_t size, void *ptr) throw () |
placement new More... | |
static void * | operator new (std::size_t size, const std::nothrow_t &nt) throw () |
nothrow new More... | |
static void | operator delete (void *pMemory) throw () |
normal delete More... | |
static void | operator delete (void *pMemory, void *ptr) throw () |
placement delete More... | |
static void | operator delete (void *pMemory, const std::nothrow_t &) throw () |
nothrow delete More... | |
static void * | operator new[] (std::size_t size) throw (std::bad_alloc) |
normal new[] More... | |
static void * | operator new[] (std::size_t size, void *ptr) throw () |
placement new[] More... | |
static void * | operator new[] (std::size_t size, const std::nothrow_t &nt) throw () |
nothrow new[] More... | |
static void | operator delete[] (void *pMemory) throw () |
normal delete[] More... | |
static void | operator delete[] (void *pMemory, void *ptr) throw () |
placement delete[] More... | |
static void | operator delete[] (void *pMemory, const std::nothrow_t &) throw () |
nothrow delete[] More... | |
![]() | |
void | set_schedule (const Method *M) |
![]() | |
alloc::unordered_map< const Instruction *, BeginInst * > ::type | map |
alloc::unordered_map< const BeginInst *, alloc::unordered_set < Instruction * >::type > ::type | bb_map |
Based on the algorithm in Click's Phd Thesis, Chapter 6 [2].
Definition at line 46 of file ScheduleClickPass.hpp.
|
inline |
Definition at line 52 of file ScheduleClickPass.hpp.
Set the requirements for the pass.
Reimplemented from cacao::jit::compiler2::Pass.
Definition at line 72 of file ScheduleClickPass.cpp.
|
virtual |
Run the Pass.
This method implements the compiler pass.
Implements cacao::jit::compiler2::Pass.
Definition at line 40 of file ScheduleClickPass.cpp.
|
virtual |
Verify the Result.
This method is used to verify the result of the pass. It has the same motivation than the assert() statement. It should be only used for debugging purposes and might not be called in release builds.
Reimplemented from cacao::jit::compiler2::Pass.
Definition at line 62 of file ScheduleClickPass.cpp.
|
static |
Definition at line 51 of file ScheduleClickPass.hpp.
|
private |
Definition at line 48 of file ScheduleClickPass.hpp.
|
private |
Definition at line 49 of file ScheduleClickPass.hpp.