search for: fndescriptor

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

2013 Nov 13
3
[LLVMdev] (Very) small patch for the jit event listener
...d in g's module represent the same function, I think that I will have a problem latter. 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 t...
2013 Nov 14
0
[LLVMdev] (Very) small patch for the jit event listener
...d in g's module represent the same function, I think that I will have a problem latter. 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 t...
2013 Nov 14
2
[LLVMdev] (Very) small patch for the jit event listener
...e represent the same function, I think that I will have a problem latter. > > 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<FnDescript...
2013 Nov 14
0
[LLVMdev] (Very) small patch for the jit event listener
...the same function, I think that I will have a problem latter. > > 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<FnDescript...
2013 Nov 16
2
[LLVMdev] (Very) small patch for the jit event listener
...hink that I will have a problem latter. >> >> 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* currentPoi...
2013 Nov 16
0
[LLVMdev] (Very) small patch for the jit event listener
...problem latter. >>> >>> 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*>...
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
...oblem latter. >>> >>> 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*>...
2013 Nov 19
0
[LLVMdev] (Very) small patch for the jit event listener
...>> >>>> 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* ? */ >>&gt...
2013 Nov 19
1
[LLVMdev] (Very) small patch for the jit event listener
...gt;> >>>> 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* ? */ >>&gt...
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