Halide
Halide::Internal::AssociativeOp::Replacement Struct Reference

#include <Associativity.h>

Public Member Functions

 Replacement ()=default
 
 Replacement (const std::string &var, Expr expr)
 
bool operator== (const Replacement &other) const
 
bool operator!= (const Replacement &other) const
 

Public Attributes

std::string var
 Variable name that is used to replace the expr in 'op'. More...
 
Expr expr
 

Detailed Description

Definition at line 64 of file Associativity.h.

Constructor & Destructor Documentation

◆ Replacement() [1/2]

Halide::Internal::AssociativeOp::Replacement::Replacement ( )
default

◆ Replacement() [2/2]

Halide::Internal::AssociativeOp::Replacement::Replacement ( const std::string &  var,
Expr  expr 
)
inline

Definition at line 70 of file Associativity.h.

Member Function Documentation

◆ operator==()

bool Halide::Internal::AssociativeOp::Replacement::operator== ( const Replacement other) const
inline

Definition at line 74 of file Associativity.h.

References Halide::Internal::equal(), expr, and var.

◆ operator!=()

bool Halide::Internal::AssociativeOp::Replacement::operator!= ( const Replacement other) const
inline

Definition at line 77 of file Associativity.h.

Member Data Documentation

◆ var

std::string Halide::Internal::AssociativeOp::Replacement::var

Variable name that is used to replace the expr in 'op'.

Definition at line 66 of file Associativity.h.

Referenced by operator==().

◆ expr

Expr Halide::Internal::AssociativeOp::Replacement::expr

Definition at line 67 of file Associativity.h.

Referenced by operator==().


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