search for: fnstate

Displaying 11 results from an estimated 11 matches for "fnstate".

Did you mean: nstate
2013 Nov 13
3
[LLVMdev] (Very) small patch for the jit event listener
...r. So, for the moment, I'm a little bit stuck with MCJIT. Something that could be really useful could be a mcjit that acts as a linker. If MCJIT could have a map like this (I give a pseudo-c++ code) class FnDescriptor { StringRef name; FunctionType fnType; LinkageType linkage; }; class FnState { llvm::Module* definedModule; /* maybe a llvm::ObjectImage* ? */ List<RelocationTable*>* users, void* currentPointer }; map<FnDescriptor, FnState> it could be really useful. Let's imagine the same scenario with f that calls g while g is not yet compiled. At the beginning o...
2013 Nov 14
0
[LLVMdev] (Very) small patch for the jit event listener
...r. So, for the moment, I'm a little bit stuck with MCJIT. Something that could be really useful could be a mcjit that acts as a linker. If MCJIT could have a map like this (I give a pseudo-c++ code) class FnDescriptor { StringRef name; FunctionType fnType; LinkageType linkage; }; class FnState { llvm::Module* definedModule; /* maybe a llvm::ObjectImage* ? */ List<RelocationTable*>* users, void* currentPointer }; map<FnDescriptor, FnState> it could be really useful. Let's imagine the same scenario with f that calls g while g is not yet compiled. At the beginning o...
2013 Nov 14
2
[LLVMdev] (Very) small patch for the jit event listener
...le bit stuck with MCJIT. Something that could be really useful could be a mcjit that acts as a linker. If MCJIT could have a map like this (I give a pseudo-c++ code) > > class FnDescriptor { > StringRef name; > FunctionType fnType; > LinkageType linkage; > }; > > class FnState { > llvm::Module* definedModule; > /* maybe a llvm::ObjectImage* ? */ > List<RelocationTable*>* users, > void* currentPointer > }; > > map<FnDescriptor, FnState> > > it could be really useful. Let's imagine the same scenario with f that calls g whil...
2013 Nov 14
0
[LLVMdev] (Very) small patch for the jit event listener
...with MCJIT. Something that > could be really useful could be a mcjit that acts as a linker. If > MCJIT could have a map like this (I give a pseudo-c++ code) > > class FnDescriptor { > StringRef name; > FunctionType fnType; > LinkageType linkage; > }; > > class FnState { > llvm::Module* definedModule; > /* maybe a llvm::ObjectImage* ? */ > List<RelocationTable*>* users, > void* currentPointer > }; > > map<FnDescriptor, FnState> > > it could be really useful. Let's imagine the same scenario with f that > calls...
2013 Nov 16
2
[LLVMdev] (Very) small patch for the jit event listener
...ould be really useful could be a mcjit that acts as a linker. If >> MCJIT could have a map like this (I give a pseudo-c++ code) >> >> class FnDescriptor { >> StringRef name; >> FunctionType fnType; >> LinkageType linkage; >> }; >> >> class FnState { >> llvm::Module* definedModule; >> /* maybe a llvm::ObjectImage* ? */ >> List<RelocationTable*>* users, >> void* currentPointer >> }; >> >> map<FnDescriptor, FnState> >> >> it could be really useful. Let's imagine the sa...
2013 Nov 16
0
[LLVMdev] (Very) small patch for the jit event listener
...it that acts as a linker. If >>> MCJIT could have a map like this (I give a pseudo-c++ code) >>> >>> class FnDescriptor { >>> StringRef name; >>> FunctionType fnType; >>> LinkageType linkage; >>> }; >>> >>> class FnState { >>> llvm::Module* definedModule; >>> /* maybe a llvm::ObjectImage* ? */ >>> List<RelocationTable*>* users, >>> void* currentPointer >>> }; >>> >>> map<FnDescriptor, FnState> >>> >>> it could be rea...
2013 Nov 13
0
[LLVMdev] (Very) small patch for the jit event listener
Hi Andy, We had previous discussions about this, I'd like to state more exactly what features would make MCJIT a replacement for the JIT. After putting significant effort trying to move to MCJIT, I'm currently back with the JIT. This is in a REPL environment where functions are added and removed dynamically and response time is important. The issue is the legacy JIT provides great
2013 Nov 18
2
[LLVMdev] (Very) small patch for the jit event listener
...t that acts as a linker. >>> If MCJIT could have a map like this (I give a pseudo-c++ code) >>> >>> class FnDescriptor { >>> StringRef name; >>> FunctionType fnType; >>> LinkageType linkage; >>> }; >>> >>> class FnState { >>> llvm::Module* definedModule; >>> /* maybe a llvm::ObjectImage* ? */ >>> List<RelocationTable*>* users, >>> void* currentPointer >>> }; >>> >>> map<FnDescriptor, FnState> >>> >>> it could be rea...
2013 Nov 19
0
[LLVMdev] (Very) small patch for the jit event listener
...t;> If MCJIT could have a map like this (I give a pseudo-c++ code) >>>> >>>> class FnDescriptor { >>>> StringRef name; >>>> FunctionType fnType; >>>> LinkageType linkage; >>>> }; >>>> >>>> class FnState { >>>> llvm::Module* definedModule; >>>> /* maybe a llvm::ObjectImage* ? */ >>>> List<RelocationTable*>* users, >>>> void* currentPointer >>>> }; >>>> >>>> map<FnDescriptor, FnState> >>>&...
2013 Nov 19
1
[LLVMdev] (Very) small patch for the jit event listener
...t;> If MCJIT could have a map like this (I give a pseudo-c++ code) >>>> >>>> class FnDescriptor { >>>> StringRef name; >>>> FunctionType fnType; >>>> LinkageType linkage; >>>> }; >>>> >>>> class FnState { >>>> llvm::Module* definedModule; >>>> /* maybe a llvm::ObjectImage* ? */ >>>> List<RelocationTable*>* users, >>>> void* currentPointer >>>> }; >>>> >>>> map<FnDescriptor, FnState> >>>&...
2013 Nov 13
3
[LLVMdev] (Very) small patch for the jit event listener
Hi Gaƫl, I'm not familiar enough with the details of the old JIT engine and its event interface to comment on whether or not your changes are appropriate, but I'm not sure anyone is so the patch is probably OK as is. I don't see any obvious problems with it. However, your description of the changes raises a bigger issue in my mind. I'm not sure if you are aware of this, but