Class SCStmt
java.lang.Object
EDU.purdue.cs.bloat.tree.Node
EDU.purdue.cs.bloat.tree.Stmt
EDU.purdue.cs.bloat.tree.SCStmt
SCStmt represents a swizzle check on an element in an array.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray()clone()index()booleanvoidset_redundant(boolean val) voidvisit(TreeVisitor visitor) voidvisitForceChildren(TreeVisitor visitor) Visit the children of this node.Methods inherited from class Stmt
cleanupOnlyMethods inherited from class Node
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly
-
Constructor Details
-
SCStmt
-
-
Method Details
-
array
-
index
-
redundant
public boolean redundant()- Returns:
- True, if the swizzle check is redundent.
-
set_redundant
public void set_redundant(boolean val) -
visit
-
clone
-
visitForceChildren
Description copied from class:NodeVisit the children of this node. Not all Nodes will have children to visit.- Specified by:
visitForceChildrenin classNode
-