convert-phi ( insn preds -- )


Vocabulary
compiler.cfg.ssa.cssa

Inputs
insnan object
predsan object


Outputs
None

Definition


:: convert-phi ( insn preds -- )
insn dst>> :> dst dst rep-of :> rep insn inputs>> :> inputs
rep next-vreg-rep :> dst' { dst dst' } phi-copies get push
dst' insn dst<< preds [| pred |
pred inputs [ pred rep convert-operand ] change-at
] each ;