[LLVMdev] about getNodeForValue()

Xiaodong Li xli3 at csil-suna48.cs.uiuc.edu
Mon Nov 11 01:17:01 PST 2002


I have a question about the getNodeForValue() function. If I have the
following code:

struct a *p;
p = malloc( sizeof(struct a));

If I call DSGraph->getNodeForValue(p).getNode(). Will the returned Node
be p node or the actual memory location node?

Thanks,
xiaodong




More information about the llvm-dev mailing list