Halide
Halide::Internal::ApplySplitResult Struct Reference

#include <ApplySplit.h>

Public Types

enum  Type { Substitution = 0, LetStmt, Predicate }
 

Public Member Functions

 ApplySplitResult (const std::string &n, Expr val, Type t)
 
 ApplySplitResult (Expr val)
 
bool is_substitution () const
 
bool is_let () const
 
bool is_predicate () const
 

Public Attributes

std::string name
 
Expr value
 
Type type
 

Detailed Description

Definition at line 21 of file ApplySplit.h.

Member Enumeration Documentation

◆ Type

Enumerator
Substitution 
LetStmt 
Predicate 

Definition at line 30 of file ApplySplit.h.

Constructor & Destructor Documentation

◆ ApplySplitResult() [1/2]

Halide::Internal::ApplySplitResult::ApplySplitResult ( const std::string &  n,
Expr  val,
Type  t 
)
inline

Definition at line 35 of file ApplySplit.h.

◆ ApplySplitResult() [2/2]

Halide::Internal::ApplySplitResult::ApplySplitResult ( Expr  val)
inline

Definition at line 38 of file ApplySplit.h.

Member Function Documentation

◆ is_substitution()

bool Halide::Internal::ApplySplitResult::is_substitution ( ) const
inline

Definition at line 42 of file ApplySplit.h.

References Substitution, and type.

◆ is_let()

bool Halide::Internal::ApplySplitResult::is_let ( ) const
inline

Definition at line 45 of file ApplySplit.h.

References type.

◆ is_predicate()

bool Halide::Internal::ApplySplitResult::is_predicate ( ) const
inline

Definition at line 48 of file ApplySplit.h.

References Predicate, and type.

Member Data Documentation

◆ name

std::string Halide::Internal::ApplySplitResult::name

Definition at line 27 of file ApplySplit.h.

◆ value

Expr Halide::Internal::ApplySplitResult::value

Definition at line 28 of file ApplySplit.h.

◆ type

Type Halide::Internal::ApplySplitResult::type

Definition at line 33 of file ApplySplit.h.

Referenced by is_let(), is_predicate(), and is_substitution().


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