LLVM API Documentation

X86JITInfo.cpp File Reference

#include "X86JITInfo.h"
#include "X86Relocations.h"
#include "X86Subtarget.h"
#include "llvm/Function.h"
#include "llvm/CodeGen/MachineCodeEmitter.h"
#include "llvm/Config/alloca.h"
#include "llvm/Support/Compiler.h"
#include <cstdlib>
#include <cstring>

Include dependency graph for X86JITInfo.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "jit"
#define GETASMPREFIX2(X)   #X
#define GETASMPREFIX(X)   GETASMPREFIX2(X)
#define ASMPREFIX   GETASMPREFIX(__USER_LABEL_PREFIX__)
#define ASMCALLSUFFIX
#define CFI(x)

Functions

void X86CompilationCallback ()
void ATTRIBUTE_USED X86CompilationCallback2 (intptr_t *StackPtr, intptr_t RetAddr)

Variables

static TargetJITInfo::JITCompilerFn JITCompilerFunction


Define Documentation

#define ASMCALLSUFFIX

Definition at line 59 of file X86JITInfo.cpp.

#define ASMPREFIX   GETASMPREFIX(__USER_LABEL_PREFIX__)

Definition at line 53 of file X86JITInfo.cpp.

#define CFI ( x   ) 

Definition at line 71 of file X86JITInfo.cpp.

#define DEBUG_TYPE   "jit"

Definition at line 14 of file X86JITInfo.cpp.

#define GETASMPREFIX ( X   )     GETASMPREFIX2(X)

Definition at line 52 of file X86JITInfo.cpp.

#define GETASMPREFIX2 ( X   )     #X

Definition at line 51 of file X86JITInfo.cpp.


Function Documentation

void X86CompilationCallback (  ) 

void ATTRIBUTE_USED X86CompilationCallback2 ( intptr_t *  StackPtr,
intptr_t  RetAddr 
)

X86CompilationCallback - This is the target-specific function invoked by the function stub when we did not know the real target of a call. This function must locate the start of the stub or call site and pass it into the JIT compiler function.

Definition at line 320 of file X86JITInfo.cpp.

References DOUT, and JITCompilerFunction.


Variable Documentation

TargetJITInfo::JITCompilerFn JITCompilerFunction [static]

JITCompilerFunction - This contains the address of the JIT function used to compile a function lazily.

Definition at line 45 of file X86JITInfo.cpp.