search for: allocanode

Displaying 4 results from an estimated 4 matches for "allocanode".

2002 Nov 10
2
[LLVMdev] Find mallocs from a DSNode
Is there some efficient way to find the malloc instructions which point to the memory represented by a DSNode? Right now the only way I see is by iterating through the value map in the DSGraph object and finding every value that points to my DSNode. A possibly related question: is there a way to tell that the node has been merged, and if so, what types of nodes went into the merge? Thanks,
2002 Oct 28
3
[LLVMdev] Alias for reporting LLVM bugs or patches
We have created a new alias -- llvmbugs at cs.uiuc.edu. Please use this for reporting bugs or turning in patches for LLVM. Any such feedback would be appreciated! Please continue to use llvmdev to post questions or have discussions about LLVM. --Vikram http://www.cs.uiuc.edu/~vadve
2002 Nov 10
0
[LLVMdev] Find mallocs from a DSNode
...entational problem. Sorry :) > A possibly related question: is there a way to tell that the node has > been merged, and if so, what types of nodes went into the merge? Yup, DSNode::NodeType contains flags for the node. There are four flags that indicate the composition of the node: DSNode::AllocaNode, HeapNode, GlobalNode, UnknownNode. When two nodes are merged, their Flags are bitwise or'd together... -Chris -- http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/
2002 Nov 10
2
[LLVMdev] Find mallocs from a DSNode
...ugh. > > A possibly related question: is there a way to tell that the node has > > been merged, and if so, what types of nodes went into the merge? > > Yup, DSNode::NodeType contains flags for the node. There are four flags > that indicate the composition of the node: DSNode::AllocaNode, HeapNode, > GlobalNode, UnknownNode. > > When two nodes are merged, their Flags are bitwise or'd together... I realized that, but what if two nodes of the same type are merged? Their flags will not indicate that a merge has occurred. I'm concerned about the case where two mallo...