40 #if defined(ENABLE_IFCONV)
55 # if defined(ENABLE_VERIFIER)
117 namespace compiler2 {
119 #define DEBUG_NAME "compiler2"
162 #
if defined(ENABLE_LSRA) || defined(ENABLE_SSA)
168 #if defined(ENABLE_DEBUG_FILTER)
193 if (m->
jcode == NULL) {
202 #if 0 && defined(ENABLE_STATISTICS)
210 #if defined(WITH_JAVA_RUNTIME_LIBRARY_OPENJDK)
216 # if defined(ENABLE_VERIFIER)
228 code->prev = m->
code;
236 assert(code->entrypoint);
246 if (entrypoint == NULL) {
254 #if 0 && defined(ENABLE_STATISTICS)
257 if (opt_getcompilingtime)
void code_codeinfo_free(codeinfo *code)
Table containing all native methods registered with the VM.
NativeMethods & get_nativemethods()
Each instance of PassRunner represents a single run of the compiler2.
#define JITDATA_FLAG_DEOPTIMIZE
void jit_jitdata_init_for_recompilation(jitdata *jd)
bool typecheck(jitdata *jd)
#define JITDATA_FLAG_VERIFY
MachineCode * compile(methodinfo *m)
Second stage compiler class.
static u1 * do_nothing_function(void)
jitdata * get_jitdata() const
#define RT_REGISTER_GROUP(var, name, description)
Register a new (toplevel) group.
#define RT_REGISTER_GROUP_TIMER(var, name, description, group)
Register a new timer.
jitdata * jit_jitdata_new(methodinfo *m)
Option< bool > enabled("DebugCompiler2","compiler with compiler2", false, option::xx_root())
This file contains the statistics framework.
#define STAT_REGISTER_GROUP(var, name, description)
Register a statistics group.
void jit_generated(methodinfo *m, codeinfo *code)
Hook point just after code was generated.
bool class_issubclass(classinfo *sub, classinfo *super)
static void reset()
Reset static infos (run by Compiler)
This file contains the real-time timing utilities.
void * resolve_method(methodinfo *m)
Resolves a native method, maybe from a dynamic library.
#define LOG(STMT)
Analogous to DEBUG.
void show_filters_apply(methodinfo *m)
static codeinfo * generate(methodinfo *m, functionptr f)
Wrapper for codegen_emit_stub_native.
void runPasses(JITData &JD)
run passes
void compilingtime_stop(void)
static VM * get_current()