Displaying 2 results from an estimated 2 matches for "clearallglobalmap".
2004 Dec 14
0
[LLVMdev] misc. patches
...; retrieving revision 1.30
> diff -u -r1.30 ExecutionEngine.h
> --- include/llvm/ExecutionEngine/ExecutionEngine.h 22 Nov 2004 16:54:54 -0000 1.30
> +++ include/llvm/ExecutionEngine/ExecutionEngine.h 3 Dec 2004 13:50:59 -0000
> @@ -93,6 +93,13 @@
> }
> }
>
> + /// clearAllGlobalMappings - Clear all global mappings and start over again
> + /// use in dynamic compilation scenarios when you want to move globals
> + void clearAllGlobalMappings() {
> + GlobalAddressMap.clear();
> + GlobalAddressReverseMap.clear();
> + }
> +
> /// updateGlobalMappin...
2004 Dec 13
6
[LLVMdev] misc. patches
Hi,
here are some minor patches that for various reasons I've not submitted
yet - I'm just trying to clear my list of differences before christmas...
First of all the clear.patch file contains a patch that enables the JIT
to drop all global mappings. I need this because when I have N threads I
compile N different versions of my functions using different memory
areas for global