search for: ptrnode

Displaying 1 result from an estimated 1 matches for "ptrnode".

2002 Nov 08
1
[LLVMdev] Iterating on the DSGraph... (fwd)
...anyone, I'll assume you all are.) > > For now, here's a useful message about traversing DSGraphs. > Let me add one more tip: > > To get the node pointed to be a scalar pointer, you simply say: > > Value* ptr = ... // the scalar pointer > DSNodeHandle& ptrNode = funcGraph.getNodeForValue(ptr); > DSNode* target = ptrNode.getNode(); // cannot be NULL > > > (Chris, am I right that a scalar pointer always points to some > graph node?) > > --Vikram > > > From llvmdev-admin at cs.uiuc.edu Fri Nov 8 17:18 CST 2002 > Re...