LLVM API Documentation
#include "SparcJITInfo.h"#include "SparcRelocations.h"#include "llvm/CodeGen/JITCodeEmitter.h"#include "llvm/Support/Memory.h"
Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "jit" |
| #define | HI(Val) (((unsigned)(Val)) >> 10) |
| #define | LO(Val) (((unsigned)(Val)) & 0x3FF) |
| #define | SETHI_INST(imm, rd) (0x01000000 | ((rd) << 25) | ((imm) & 0x3FFFFF)) |
| #define | JMP_INST(rs1, imm, rd) |
| #define | NOP_INST SETHI_INST(0, 0) |
Functions | |
| void | SparcCompilationCallback () |
| void * | SparcCompilationCallbackC (intptr_t StubAddr) |
Variables | |
| static TargetJITInfo::JITCompilerFn | JITCompilerFunction |
| #define DEBUG_TYPE "jit" |
Definition at line 13 of file SparcJITInfo.cpp.
| #define HI | ( | Val | ) | (((unsigned)(Val)) >> 10) |
Definition at line 58 of file SparcJITInfo.cpp.
Referenced by llvm::SparcJITInfo::emitFunctionStub(), performDivRemCombine(), llvm::DwarfAccelTable::print(), and SparcCompilationCallbackC().
| #define JMP_INST | ( | rs1, | |
| imm, | |||
| rd | |||
| ) |
Definition at line 62 of file SparcJITInfo.cpp.
Referenced by llvm::SparcJITInfo::emitFunctionStub(), and SparcCompilationCallbackC().
| #define LO | ( | Val | ) | (((unsigned)(Val)) & 0x3FF) |
Definition at line 59 of file SparcJITInfo.cpp.
Referenced by llvm::SparcJITInfo::emitFunctionStub(), llvm::ARM::isBitFieldInvertedMask(), performDivRemCombine(), and SparcCompilationCallbackC().
| #define NOP_INST SETHI_INST(0, 0) |
Definition at line 64 of file SparcJITInfo.cpp.
Referenced by llvm::SparcJITInfo::emitFunctionStub(), and SparcCompilationCallbackC().
| #define SETHI_INST | ( | imm, | |
| rd | |||
| ) | (0x01000000 | ((rd) << 25) | ((imm) & 0x3FFFFF)) |
Definition at line 61 of file SparcJITInfo.cpp.
Referenced by llvm::SparcJITInfo::emitFunctionStub(), and SparcCompilationCallbackC().
| void SparcCompilationCallback | ( | ) |
Definition at line 51 of file SparcJITInfo.cpp.
References llvm_unreachable.
Referenced by llvm::SparcJITInfo::emitFunctionStub(), and llvm::SparcJITInfo::getLazyResolverFunction().
| void* SparcCompilationCallbackC | ( | intptr_t | StubAddr | ) |
Definition at line 66 of file SparcJITInfo.cpp.
References HI, llvm::sys::Memory::InvalidateInstructionCache(), JITCompilerFunction, JMP_INST, LO, NOP_INST, and SETHI_INST.
|
static |
JITCompilerFunction - This contains the address of the JIT function used to compile a function lazily.
Definition at line 24 of file SparcJITInfo.cpp.
Referenced by llvm::SparcJITInfo::getLazyResolverFunction(), and SparcCompilationCallbackC().