Displaying 3 results from an estimated 3 matches for "namerc".
Did you mean:
namer
2010 Nov 05
4
[LLVMdev] Basic block liveouts
Is there an easy way to obtain all liveout variables of a basic block? Liveins
can be found for each MachineBasicBlock, but I can only find liveouts for the
whole function, at MachineRegisterInfo. Do I need to find them out manually?
2010 Nov 05
0
[LLVMdev] Basic block liveouts
...t values may be
live out.
For instance the psudocode may look like:
BB0:
vreg1 = rand()
if( vreg1 > .5 ) goto BB1;
else goto BB2;
BB1:
vreg 2 = rand();
EAX = copy vreg2;
Return
BB2:
vreg 3 = rand() * rand()'
EAX = copy vreg3;
Return
On Fri, Nov 5, 2010 at 7:41 AM, s Last namerc <srcsrc84 at yahoo.com> wrote:
> Is there an easy way to obtain all liveout variables of a basic block?
> Liveins
> can be found for each MachineBasicBlock, but I can only find liveouts for
> the
> whole function, at MachineRegisterInfo. Do I need to find them out
> manuall...
2010 Nov 05
0
[LLVMdev] Basic block liveouts
...continue;
if( ! TargetRegisterInfo::isVirtualRegister(operand.getReg()) )
continue;
if( mbb != operand.getNextOperandForReg()->getParent()->getParent() )
liveout.push_back( operand.getReg() );
}
}
return liveout;
}
On Fri, Nov 5, 2010 at 7:41 AM, s Last namerc <srcsrc84 at yahoo.com> wrote:
> Is there an easy way to obtain all liveout variables of a basic block?
> Liveins
> can be found for each MachineBasicBlock, but I can only find liveouts for
> the
> whole function, at MachineRegisterInfo. Do I need to find them out
> manuall...