Lines Matching full:phi
171 %iftmp = phi double [ %calltmp, %then ], [ %calltmp1, %else ]
208 `Phi
214 "execution" of the Phi operation requires "remembering" which block
215 control came from. The Phi operation takes on the value corresponding to
227 Phi nodes:
231 Phi node in this case.
237 can insert Phi nodes directly, if convenient. In this case, it is really
238 really easy to generate the Phi node, so we choose to do it directly.
292 * phi. We create a new name because one is used for the phi node, and the
305 issue is that when we create the Phi node in the merge block, we need to
306 set up the block/value pairs that indicate how the Phi will work.
307 Importantly, the Phi node expects to have an entry for each predecessor
314 value for code that will set up the Phi node.
324 * phi. *)
336 let phi = build_phi incoming "iftmp" builder in
341 that is done, we need to create the PHI node and set up the block/value
342 pairs for the PHI.
365 phi
376 Finally, the CodeGen function returns the phi node as the value computed
504 ; initial value = 1.0 (inlined into phi)
508 %i = phi double [ 1.000000e+00, %entry ], [ %nextvar, %loop ]
525 This loop contains all the same constructs we saw before: a phi node,
562 need it to create the Phi node, we remember the block that falls through
572 (* Start the PHI node with an entry for start. *)
577 create the PHI node for the loop induction variable. Since we already
578 know the incoming value for the starting value, we add it to the Phi
579 node. Note that the Phi will eventually get a second value for the
584 (* Within the loop, the variable is defined equal to the PHI node. If it
658 phi node), then creates the block for the loop exit ("afterloop"). Based
666 (* Add a new entry to the PHI node for the backedge. *)
679 "``next_var``" value, we can add the incoming value to the loop PHI
1079 * phi. We create a new name because one is used for the phi node, and the
1089 * phi. *)
1096 let phi = build_phi incoming "iftmp" builder in
1110 phi
1128 (* Start the PHI node with an entry for start. *)
1131 (* Within the loop, the variable is defined equal to the PHI node. If it
1171 (* Add a new entry to the PHI node for the backedge. *)