Displaying 1 result from an estimated 1 matches for "insf".
Did you mean:
ins
2012 Oct 31
1
[LLVMdev] Lifetime analysis of variables within a module
...and every BasicBlock).
By creating a pass inheriting from ModulePass I can reach up to here:
virtual bool runOnFunction(Function &F) {
...
for (Function::iterator bbi = F.begin(), bbf = F.end(); bbi != bbf;
bbi++)
{
...
for (BasicBlock::iterator insi = bbi->begin(), insf = bbi->end();
insi != insf; insi++)
{
...
for (User::op_iterator opi = insi->op_begin(), opf =
insi->op_end(); opi != opf; opi++)
{
if(isa<Instruction>(opi) || isa<Argument>(opi))
{...