[LLVMdev] LLVM and OpenMP
Devang Patel
dpatel at apple.com
Thu Nov 29 11:40:23 PST 2007
On Nov 29, 2007, at 11:11 AM, Wojciech Matyjewicz wrote:
> As you have noticed, loops aren't represented directly in the LLVM IR.
> However, there are analysis passes which may be helpful to
> "reconstruct"
> them. For example: LoopInfo pass detects natural loops (as sets of
> basic
> blocks) and ScalarEvolution pass finds loop induction variables (and
> also does many other things). Using them and some own solutions it
> should be possible to detect most loops that are potential candidates
> for parallelization. Is this what you would like to achieve
Right now, one big missing piece in this puzzle is - dependence
analysis.
-
Devang
More information about the llvm-dev
mailing list