Displaying 6 results from an estimated 6 matches for "getpool".
Did you mean:
get_pool
2009 Jun 10
2
[LLVMdev] Pool Allocation and DSA
...ols, if there are
multiple callers) that is not in the DSGraph of that function. For
example, on page 3 of the 2005 PLDI paper, the DSGraph given for
createnode(), Data is pointing to an unlabeled node in the graph. I
would like to know specifically what this node is and what would happen
if getPool() were called on it. My best guess is that getPool() would
return NULL.
Moreover, it seems like it should be possible to call a Function with a
pointer without passing in the pointer's pool, as long as no allocations
are done using the pointer. What will the DSNode for that pointer in
th...
2009 Jun 11
0
[LLVMdev] Pool Allocation and DSA
...ultiple callers) that is not in the DSGraph of that function. For
> example, on page 3 of the 2005 PLDI paper, the DSGraph given for
> createnode(), Data is pointing to an unlabeled node in the graph. I
> would like to know specifically what this node is and what would happen
> if getPool() were called on it. My best guess is that getPool() would
> return NULL.
>
Ah. I think I see the issue now. There may be some instances in which
pool allocation may not need to pass a pointer's pool into a function
because there are no allocations or deallocations from that pool....
2009 Jun 08
2
[LLVMdev] Pool Allocation and DSA
...must be pointed
to by some other pool which either is in categories 1-4 or is pointed to
by some other node, for which the same condition must hold. That is to
say, all nodes in the graph must be reachable by following the edges of
the nodes in categories 1-4.
I'm guessing that the "getPool()" function in
llvm-poolalloc/include/poolalloc/PoolAllocate.h will return NULL if the
DSNode is in categories 3 or 5, will return a pointer to the Instruction
that created the pool for category 2, will return a pointer to the
global Value representing the pool for category 1, and will ret...
2009 Jun 09
0
[LLVMdev] Pool Allocation and DSA
...he pointers
in a program and the pool in which those pointers were assigned (more
accurately, the pool in which the memory objects pointed to by those
pointers were allocated). The easiest way to do this was to have
SAFECode query Automatic Pool Allocation. This is, therefore, the
purpose of getPool(): it allows other LLVM passes to ask Automatic Pool
Allocation what pool a particular LLVM Value lives in. The pool is
returned as an LLVM Value *. Depending on whether the pool is global,
stack allocated, or passed into the function determines whether it is an
LLVM GlobalVariable *, LLVM Al...
2010 Mar 19
1
[LLVMdev] Getting the DSNode from a Pool Descriptor?
On 03/19/10 08:56, John Criswell wrote:
> Patrick Simmons wrote:
>> Thanks for all your help so far.
>>
>> My problem is that what I have are the pool descriptors, which I by
>> traversing the uses of poolinit and accessing the first argument of
>> each call. I need to find the DSNode (in the original function) to
>> which this pool descriptor
2011 Apr 01
0
Wine release 1.3.17
...dd refcount test for the device.
include: Fix ID3DXEffectCompiler interface.
d3dx9: Add ID3DXBaseEffect interface.
d3dx9: Forward ID3DXEffect to ID3DXBaseEffect.
d3dx9: Add ID3DXEffectCompiler interface.
d3dx9: Fix some style issues.
d3dx9: Implement ID3DXEffect::GetPool().
d3dx9: Implement ID3DXEffect::GetDevice().
d3dx9: ID3DXEffect::QueryInterface() does not support IID_ID3DXBaseEffect.
d3dx9/tests: Add ID3DXEffect::GetPool() and ID3DXEffect::GetDevice() tests.
d3dx9/tests: Add ID3DXEffectCompiler test.
d3dx9: Don't zero memory...