[LLVMdev] Live variable analysis

kharchenko kharchenko at ispras.ru
Wed Mar 25 05:25:30 PDT 2015


Hi, I'm writing an LLVM pass for my research. As the part of that pass 
I need to find all live variables at the entry point of basic block and 
replace all usages of that variables, which are "lower" than that block 
(usages in successors of the block, in successors of successors and so 
on). Is there any suitable analysis for finding live variables at the 
entry point of the block and for determining if basic block is situated 
"lower" than some other block?

Thanks,
Natasha Kharchenko



More information about the llvm-dev mailing list