Hi,<div> This is Ashwin studying M.Tech CSE I year in VIT University. would you please help me for creating this pass.</div><div><br></div><div><div>1. Write a pass (or a set of passes) that</div><div>recognizes the vector init (initialization of a</div>
<div>vector with a constant)</div><div>• Example: for(i=0;i<5;i++)</div><div> v[i]=42;</div><div>• The pass should report:</div><div>– Matched computation, operand, size etc.</div><div>– Alternatively replace matched loops by an</div>
<div>equivalent function call</div></div><div><br></div><div>2. Write a pass to find all loops in the given program?</div>