search for: transformbody

Displaying 6 results from an estimated 6 matches for "transformbody".

2010 Mar 17
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...SNodes are pool allocated, those DSNodes originate from a complete DSNode somewhere higher in the call chain. Per function, a pool-allocated version can be generated. After that, function calls are rewritten to call the pool allocated version. This is done in TransformFunctionBody.cpp. by calling TransformBody from PoolAllocate.cpp. Harmen Patrick Alexander Simmons wrote: > I figure (hopefully correctly) that I can iterate over all pool > descriptors in a program by iterating over all users of poolinit and > looking at the first argument. However, once I have a pool descriptor, > I...
2010 Mar 16
4
[LLVMdev] Getting the DSNode from a Pool Descriptor?
I figure (hopefully correctly) that I can iterate over all pool descriptors in a program by iterating over all users of poolinit and looking at the first argument. However, once I have a pool descriptor, I need to get its corresponding DSNode in the function in which it is complete (or in the global graph if it is a global). How do I do this? Thanks, --Patrick
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...d, those DSNodes originate from a complete DSNode > somewhere higher in the call chain. > > Per function, a pool-allocated version can be generated. After that, > function calls are rewritten to call the pool allocated version. This is > done in TransformFunctionBody.cpp. by calling TransformBody from > PoolAllocate.cpp. > > > > Harmen > > > > Patrick Alexander Simmons wrote: > >> I figure (hopefully correctly) that I can iterate over all pool >> descriptors in a program by iterating over all users of poolinit and >> looking at the first...
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...from a complete DSNode >>> somewhere higher in the call chain. >>> >>> Per function, a pool-allocated version can be generated. After that, >>> function calls are rewritten to call the pool allocated version. This is done in TransformFunctionBody.cpp. by calling TransformBody from PoolAllocate.cpp. >>> >>> >>> >>> Harmen >>> >>> >>> >>> Patrick Alexander Simmons wrote: >>> >>> >>>> I figure (hopefully correctly) that I can iterate over all pool descriptors in a...
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...Nodes originate from a complete DSNode >> somewhere higher in the call chain. >> >> Per function, a pool-allocated version can be generated. After that, >> function calls are rewritten to call the pool allocated version. This is done in TransformFunctionBody.cpp. by calling TransformBody from PoolAllocate.cpp. >> >> >> >> Harmen >> >> >> >> Patrick Alexander Simmons wrote: >> >>> I figure (hopefully correctly) that I can iterate over all pool descriptors in a program by iterating over all users of poolinit and l...
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...DSNode >>>> somewhere higher in the call chain. >>>> >>>> Per function, a pool-allocated version can be generated. After that, >>>> function calls are rewritten to call the pool allocated version. This is done in TransformFunctionBody.cpp. by calling TransformBody from PoolAllocate.cpp. >>>> >>>> >>>> >>>> Harmen >>>> >>>> >>>> >>>> Patrick Alexander Simmons wrote: >>>> >>>> >>>> >>>>> I figure (h...