LLVM API Documentation

Defines | Functions | Variables
MipsJITInfo.cpp File Reference
#include "MipsJITInfo.h"
#include "MipsInstrInfo.h"
#include "MipsRelocations.h"
#include "MipsSubtarget.h"
#include "llvm/CodeGen/JITCodeEmitter.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Memory.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdlib>
Include dependency graph for MipsJITInfo.cpp:

Go to the source code of this file.

Defines

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

Functions

void MipsCompilationCallback ()
void MipsCompilationCallbackC (intptr_t StubAddr)

Variables

static TargetJITInfo::JITCompilerFn JITCompilerFunction

Define Documentation

Definition at line 85 of file MipsJITInfo.cpp.

Definition at line 89 of file MipsJITInfo.cpp.

#define DEBUG_TYPE   "jit"

Definition at line 27 of file MipsJITInfo.cpp.

#define GETASMPREFIX (   X)    GETASMPREFIX2(X)

Definition at line 88 of file MipsJITInfo.cpp.

#define GETASMPREFIX2 (   X)    #X

Definition at line 87 of file MipsJITInfo.cpp.


Function Documentation

void MipsCompilationCallbackC ( intptr_t  StubAddr)

MipsCompilationCallbackC - 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 165 of file MipsJITInfo.cpp.

References llvm::HexagonISD::Hi, llvm::sys::Memory::InvalidateInstructionCache(), JITCompilerFunction, and llvm::HexagonISD::Lo.


Variable Documentation

TargetJITInfo::JITCompilerFn JITCompilerFunction [static]

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

Definition at line 81 of file MipsJITInfo.cpp.

Referenced by llvm::MipsJITInfo::getLazyResolverFunction(), and MipsCompilationCallbackC().