search for: origval

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

Did you mean: orignal
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...what the original function is. > > If you want to find the corresponding DSNode for some instruction, you must call > > PA::FuncInfo::MapValueToOriginal( value ) > > Then you can get the DSNode from the DSGraph: > > llvm::DSNodeHandle handle = _dsg->getNodeForValue(origVal); > DSNode *node = handle.getNode(); > > origVal is obtained by calling MapValueToOriginal on a cloned Value. > > All those mappings are quite confusing. I've been thinking about splitting Pool allocation in two phases, > one in which the clones are generated (which shoul...
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...rmation if a function is a clone and what the original function is. If you want to find the corresponding DSNode for some instruction, you must call PA::FuncInfo::MapValueToOriginal( value ) Then you can get the DSNode from the DSGraph: llvm::DSNodeHandle handle = _dsg->getNodeForValue(origVal); DSNode *node = handle.getNode(); origVal is obtained by calling MapValueToOriginal on a cloned Value. All those mappings are quite confusing. I've been thinking about splitting Pool allocation in two phases, one in which the clones are generated (which should be internal functions) and...
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Harmen, your suggestion of inverting the mapping almost worked (and Andrew was correct that the function I need is the same as the one in which poolinit appears). Unfortunately, it appears that this mapping only considers the original function and not any of its clones. Since the pool descriptor in question may very well only exist in a clone, I can't use this. Is there another way?
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
...gt;> >> If you want to find the corresponding DSNode for some instruction, you must call >> >> PA::FuncInfo::MapValueToOriginal( value ) >> >> Then you can get the DSNode from the DSGraph: >> >> llvm::DSNodeHandle handle = _dsg->getNodeForValue(origVal); >> DSNode *node = handle.getNode(); >> >> origVal is obtained by calling MapValueToOriginal on a cloned Value. >> >> All those mappings are quite confusing. I've been thinking about splitting Pool allocation in two phases, >> one in which the clones ar...