Lines Matching defs:JITEmitter
1 //===-- JITEmitter.cpp - Write machine code to executable memory ----------===//
72 class JITEmitter;
192 JITEmitter &JE;
198 explicit JITResolver(JIT &jit, JITEmitter &je)
281 /// JITEmitter - The JIT implementation of the MachineCodeEmitter, which is
283 class JITEmitter : public JITCodeEmitter {
354 typedef JITEmitter *ExtraData;
355 static void onDelete(JITEmitter *, const Function*);
356 static void onRAUW(JITEmitter *, const Function*, const Function*);
369 JITEmitter(JIT &jit, JITMemoryManager *JMM, TargetMachine &TM)
383 ~JITEmitter() {
695 // JITEmitter code.
697 void *JITEmitter::getPointerToGlobal(GlobalValue *V, void *Reference,
736 void *JITEmitter::getPointerToGVIndirectSym(GlobalValue *V, void *Reference) {
744 void JITEmitter::processDebugLoc(DebugLoc DL, bool BeforePrintingInsn) {
776 void JITEmitter::startFunction(MachineFunction &F) {
812 bool JITEmitter::finishFunction(MachineFunction &F) {
1007 void JITEmitter::retryWithMoreMemory(MachineFunction &F) {
1025 void JITEmitter::deallocateMemForFunction(const Function *F) {
1042 void *JITEmitter::allocateSpace(uintptr_t Size, unsigned Alignment) {
1054 void *JITEmitter::allocateGlobal(uintptr_t Size, unsigned Alignment) {
1059 void JITEmitter::emitConstantPool(MachineConstantPool *MCP) {
1099 void JITEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
1122 void JITEmitter::emitJumpTableInfo(MachineJumpTableInfo *MJTI) {
1180 void JITEmitter::startGVStub(const GlobalValue* GV,
1190 void JITEmitter::startGVStub(void *Buffer, unsigned StubSize) {
1199 void JITEmitter::finishGVStub() {
1207 void *JITEmitter::allocIndirectGV(const GlobalValue *GV,
1219 uintptr_t JITEmitter::getConstantPoolEntryAddress(unsigned ConstantNum) const {
1228 uintptr_t JITEmitter::getJumpTableEntryAddress(unsigned Index) const {
1243 void JITEmitter::EmittedFunctionConfig::onDelete(
1244 JITEmitter *Emitter, const Function *F) {
1247 void JITEmitter::EmittedFunctionConfig::onRAUW(
1248 JITEmitter *, const Function*, const Function*) {
1260 return new JITEmitter(jit, JMM, tm);
1273 JITEmitter *JE = static_cast<JITEmitter*>(getCodeEmitter());
1279 JITEmitter *JE = static_cast<JITEmitter*>(getCodeEmitter());
1300 static_cast<JITEmitter*>(JCE)->deallocateMemForFunction(F);