search for: _expand

Displaying 3 results from an estimated 3 matches for "_expand".

Did you mean: expand
2008 May 22
1
[LLVMdev] Deleting order and acquiring generated function
...solution to write my own JITMemoryManager, however I noticed that the JIT doesn't know the length of the binary function before it is actually emitted. This is a bit inconvenient especially since I have to generate new functions at irregular times. I'm not too keen on using the non-standard _expand function to resize memory to the right size. Anyway, I also noticed that it's also possible to do the following: executionEngine->removeModuleProvider(moduleProvider); delete moduleProvider; module->dropAllReferences(); delete module; This way the memory overhead of the...
2008 May 21
0
[LLVMdev] Deleting order and acquiring generated function
When JITEmitter is teared down, it also deletes the JITMemoryManager instance. That in turns release the memory of the generated functions. Is this what you are referring to? The DefaultJITMemoryManager is pretty simple. You can obviously write your own memory manager class that maps the memory in a way that's persistent. Then all you have to do is to pass a handle of it to
2008 May 21
2
[LLVMdev] Deleting order and acquiring generated function
Hi all, I'm using LLVM to generate a fairly large number of separate functions at run-time. To minimize the memory overhead, I'd like to delete the IR and everything else that is no longer needed after a function has been generated (I don't use lazy compilation or anything like that). I noticed that deleting the ExecutionEngine deletes everything (Module, Function(s),