public class Swizzler
extends java.lang.Object
InductionVarAnalyzer| Constructor and Description |
|---|
Swizzler(Expr var,
Expr tgt,
Expr val,
Block phiblock)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
array() |
SCStmt |
aswizzle() |
Expr |
end_val() |
Expr |
ind_var() |
Expr |
init_val() |
Block |
phi_block() |
void |
set_array(Expr a) |
void |
set_aswizzle(SCStmt sc) |
void |
set_end_val(Expr end)
Sets the ending value for the induction variable.
|
Expr |
target() |
public Swizzler(Expr var, Expr tgt, Expr val, Block phiblock)
var - Induction variable. (An index variable for an array.)tgt - Target of the phi statement that defines the induction
variable.val - Initial value of the induction variable.phiblock - The block in which the phi statement resides.public void set_end_val(Expr end)
end - The final value the induction variable will take on.public void set_array(Expr a)
a - The array that is indexed by the induction variable.public void set_aswizzle(SCStmt sc)
sc - The aswizzle statement that could be removed from the block.public Expr ind_var()
public Expr target()
public Expr init_val()
public Expr end_val()
public Expr array()
public Block phi_block()
public SCStmt aswizzle()