Halide 22.0.0
Halide compiler and libraries
IRVisitor.h File Reference

Defines the base class for things that recursively walk over the IR. More...

#include <set>
#include "IR.h"

Go to the source code of this file.

Classes

class  Halide::Internal::IRVisitor
 A base class for algorithms that need to recursively walk over the IR. More...
 
struct  Halide::Internal::LambdaVisitor< Lambdas >
 A lambda-based IR visitor that accepts multiple lambdas for different node types. More...
 
class  Halide::Internal::IRGraphVisitor
 A base class for algorithms that walk recursively over the IR without visiting the same node twice. More...
 
class  Halide::Internal::VariadicVisitor< T, ExprRet, StmtRet >
 A visitor/mutator capable of passing arbitrary arguments to the visit methods using CRTP and returning any types from them. More...
 

Namespaces

namespace  Halide
 This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
 
namespace  Halide::Internal
 

Functions

template<typename... Lambdas>
void Halide::Internal::visit_with (const IRNode *ir, Lambdas &&...lambdas)
 
template<typename... Lambdas>
void Halide::Internal::visit_with (const IRHandle &ir, Lambdas &&...lambdas)
 

Detailed Description

Defines the base class for things that recursively walk over the IR.

Definition in file IRVisitor.h.