Class SCStmt


  • public class SCStmt
    extends Stmt
    SCStmt represents a swizzle check on an element in an array.
    • Constructor Detail

      • SCStmt

        public SCStmt​(Expr a,
                      Expr i)
        Constructor.
        Parameters:
        a - The array on which to place the swizzle check.
        i - The element in array a to swizzle.
    • Method Detail

      • array

        public Expr array()
      • index

        public Expr index()
      • redundant

        public boolean redundant()
        Returns:
        True, if the swizzle check is redundent.
      • set_redundant

        public void set_redundant​(boolean val)
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class Stmt
      • visitForceChildren

        public void visitForceChildren​(TreeVisitor visitor)
        Description copied from class: Node
        Visit the children of this node. Not all Nodes will have children to visit.
        Specified by:
        visitForceChildren in class Node