Displaying 2 results from an estimated 2 matches for "loop_i".
Did you mean:
loop_1
2012 Dec 03
2
[LLVMdev] Which transform passes to apply?
Hello, I'm a new LLVM user working on a C++ EDSL for image processing. I have
a function, which after applying createInstructionCombiningPass() and
createDeadCodeEliminationPass() looks like:
define void @jitcv_sum_64sf1001(%Matrix* %src, %Matrix* %dst, i32 %len) {
entry:
br label %loop_i
loop_i: ; preds = %loop_i_end,
%entry
%i = phi i32 [ 0, %entry ], [ %increment_i, %loop_i_end ]
%0 = getelementptr inbounds %Matrix* %dst, i32 0, i32 2
%dst_columns = load i32* %0
*%dst_yRem = urem i32 %i, %dst_columns
%dst_y = urem i32 %i, %dst_...
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
...te loop.Rnw file, then:
1. run everything before the loop through R for initialization
2. Sweave loop.Rnw; shell("move loop.tex loop_1.tex")
Sweave loop.Rnw; shell("move loop.tex loop_2.tex")
...
Sweave loop.Rnw; shell("move loop.tex loop_n.tex")
3. \input all loop_i.tex files into master.Rnw and Sweave master.Rnw
This does what I need, however, it is a major pain code-wise, e.g., there appears to be no way to control the loop during execution (n must be known in advance), and I need to control all graphics using \includegraphics with the iteration counter pas...