38 #define DEBUG_NAME "compiler2/DisassemblerPass"
47 #if defined(ENABLE_DISASSEMBLER)
53 LOG2(
"DisassemblerPass: start: " << start <<
" end " << end <<
nl);
58 for (CodeGenPass::BasicBlockMap::const_iterator
i = CG->
begin(),
e = CG->
end();
i !=
e ; ++
i) {
59 u1 *end = start +
i->second;
virtual PassUsage & get_PassUsage(PassUsage &PU) const
Set the requirements for the pass.
u1 * disassinstr(u1 *code)
virtual bool run(JITData &JD)
Run the Pass.
CodeGenPass TODO: more info.
jitdata * get_jitdata() const
BasicBlockMap::const_iterator begin() const
Stores the interdependencies of a pass.
static Option< bool > enabled
void disassemble(u1 *start, u1 *end)
OStream & print_ptr_container(OStream &OS, _ForwardIterator i, const _ForwardIterator &e)
BasicBlockMap::const_iterator end() const
static PassRegistry< BasicBlockSchedulingPass > X("BasicBlockSchedulingPass")
OStream & dbg()
The default destination for logging messages.
void add_requires()
PassName is required.