[LLVMdev] LLVM pass for vector init and loop

kavali ashwinkumar kavaliashwinkumar at gmail.com
Mon Mar 18 08:29:00 PDT 2013


Hi,
 This is Ashwin studying M.Tech CSE I year in VIT University. would you
please help me for creating this pass.

1. Write a pass (or a set of passes) that
recognizes the vector init (initialization of a
vector with a constant)
• Example: for(i=0;i<5;i++)
                 v[i]=42;
• The pass should report:
– Matched computation, operand, size etc.
– Alternatively replace matched loops by an
equivalent function call

2. Write a pass to find all loops in the given program?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130318/5512931a/attachment.html>


More information about the llvm-dev mailing list