Halide 21.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Internal::Acquire Struct Reference

#include <IR.h>

Inheritance diagram for Halide::Internal::Acquire:
Halide::Internal::StmtNode< Acquire > Halide::Internal::BaseStmtNode Halide::Internal::IRNode

Static Public Member Functions

static Stmt make (Expr semaphore, Expr count, Stmt body)

Public Attributes

Expr semaphore
Expr count
Stmt body
Public Attributes inherited from Halide::Internal::IRNode
RefCount ref_count
 These classes are all managed with intrusive reference counting, so we also track a reference count.
IRNodeType node_type
 Each IR node subclass has a unique identifier.

Static Public Attributes

static const IRNodeType _node_type = IRNodeType::Acquire

Additional Inherited Members

Public Member Functions inherited from Halide::Internal::StmtNode< Acquire >
void accept (IRVisitor *v) const override
 We use the visitor pattern to traverse IR nodes throughout the compiler, so we have a virtual accept method which accepts visitors.
Stmt mutate_stmt (IRMutator *v) const override
 StmtNode ()
 ~StmtNode () override=default
Public Member Functions inherited from Halide::Internal::BaseStmtNode
 BaseStmtNode (IRNodeType t)
Public Member Functions inherited from Halide::Internal::IRNode
 IRNode (IRNodeType t)
virtual ~IRNode ()=default

Detailed Description

Definition at line 872 of file IR.h.

Member Function Documentation

◆ make()

Stmt Halide::Internal::Acquire::make ( Expr semaphore,
Expr count,
Stmt body )
static

References body, count, and semaphore.

Member Data Documentation

◆ semaphore

Expr Halide::Internal::Acquire::semaphore

Definition at line 873 of file IR.h.

Referenced by make().

◆ count

Expr Halide::Internal::Acquire::count

Definition at line 874 of file IR.h.

Referenced by make().

◆ body

Stmt Halide::Internal::Acquire::body

Definition at line 875 of file IR.h.

Referenced by make().

◆ _node_type

const IRNodeType Halide::Internal::Acquire::_node_type = IRNodeType::Acquire
static

Definition at line 879 of file IR.h.


The documentation for this struct was generated from the following file: