Displaying 1 result from an estimated 1 matches for "useinfo".
Did you mean:
userinfo
2011 Jul 13
1
[LLVMdev] Confusion with GetElementPtr and Defs/Uses
...s is
the current use of the defInsn
}*
However, this code later on does not work and shows the def of %29 to have
no uses [not the case] (pIRI here is a data structure we've created which
keeps track of defs and useBBs. The defs part works fine.):
*for (std::map<BasicBlock*, InstrRelInfo::UseInfo*>::iterator useBB_iter =
pIRI->useBBs.begin();
useBB_iter != pIRI->useBBs.end(); ++useBB_iter) {
for (InstrRelInfo::UseInfo::iterator use_iter =
(*useBB_iter).second->begin();
use_iter != (*useBB_iter).second->end(); ++use_iter) {
DEBUG(dbgs(...