• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
          • Scopestack
          • Hid-tools
          • Filtering-by-name
          • Vl-interface-mocktype
          • Stripping-functions
          • Genblob
          • Expr-tools
          • Extract-vl-types
          • Hierarchy
          • Range-tools
          • Finding-by-name
          • Stmt-tools
            • Vl-rebuild-caselist
            • Vl-stmt-atomicstmts
            • Vl-compoundstmt->stmts
            • Vl-compoundstmt->exprs
            • Vl-compoundstmt->vardecls
            • Change-vl-compoundstmt
            • Vl-compoundstmt->paramdecls
            • Vl-compoundstmt->ctrl
            • Vl-atomicstmtlist-p
            • Vl-stmt->atts
            • Vl-atomicstmt-p
            • Vl-timingstmt-p
            • Vl-repeatstmt-p
            • Vl-foreverstmt-p
            • Vl-assignstmt-p
            • Vl-whilestmt-p
            • Vl-waitstmt-p
            • Vl-nullstmt-p
            • Vl-ifstmt-p
            • Vl-forstmt-p
            • Vl-dostmt-p
            • Vl-casestmt-p
            • Vl-callstmt-p
            • Vl-exprlistlist
          • Modnamespace
          • Flat-warnings
          • Reordering-by-name
          • Datatype-tools
          • Syscalls
          • Allexprs
          • Lvalues
          • Port-tools
        • Transforms
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Mlib

Stmt-tools

Additional functions for working with statements.

Subtopics

Vl-rebuild-caselist
Vl-stmt-atomicstmts
(vl-stmt-atomicstmts x) returns a flat list of all atomic statements in the statement x.
Vl-compoundstmt->stmts
Get all immediate sub-statements from any compound statement.
Vl-compoundstmt->exprs
Get all immediate sub-expressions from any compound statement.
Vl-compoundstmt->vardecls
Get the declarations, if any, from an arbitrary compound (non-atomic) statement.
Change-vl-compoundstmt
Mutate a compound statement.
Vl-compoundstmt->paramdecls
Get the declarations, if any, from an arbitrary compound (non-atomic) statement.
Vl-compoundstmt->ctrl
Get the timing control, if any, from an arbitrary compound (non-atomic) statement.
Vl-atomicstmtlist-p
(vl-atomicstmtlist-p x) recognizes lists where every element satisfies vl-atomicstmt-p.
Vl-stmt->atts
Get the attributes from any statement.
Vl-atomicstmt-p
Recognizer for atomic statements (those with no sub-statements).
Vl-timingstmt-p
Vl-repeatstmt-p
Vl-foreverstmt-p
Vl-assignstmt-p
Vl-whilestmt-p
Vl-waitstmt-p
Vl-nullstmt-p
Vl-ifstmt-p
Vl-forstmt-p
Vl-dostmt-p
Vl-casestmt-p
Vl-callstmt-p
Vl-exprlistlist
A list of vl-exprlist-p objects.