Displaying 1 result from an estimated 1 matches for "usebb_iter".
Did you mean:
use_iter
2011 Jul 13
1
[LLVMdev] Confusion with GetElementPtr and Defs/Uses
...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() << *((*use_iter).f...