Halide 22.0.0 Halide compiler and libraries

Public Member Functions | Protected Member Functions | List of all members
Halide::Internal::IRVisitor Class Reference

A base class for algorithms that need to recursively walk over the IR. More...

`#include <IRVisitor.h>`

Inheritance diagram for Halide::Internal::IRVisitor:

## Public Member Functions
| IRVisitor ()=default
virtual | ~IRVisitor ()=default

## Protected Member Functions
virtual void | visit (const IntImm *)
virtual void | visit (const UIntImm *)
virtual void | visit (const FloatImm *)
virtual void | visit (const StringImm *)
virtual void | visit (const Cast *)
virtual void | visit (const Reinterpret *)
virtual void | visit (const Variable *)
virtual void | visit (const Add *)
virtual void | visit (const Sub *)
virtual void | visit (const Mul *)
virtual void | visit (const Div *)
virtual void | visit (const Mod *)
virtual void | visit (const Min *)
virtual void | visit (const Max *)
virtual void | visit (const EQ *)
virtual void | visit (const NE *)
virtual void | visit (const LT *)
virtual void | visit (const LE *)
virtual void | visit (const GT *)
virtual void | visit (const GE *)
virtual void | visit (const And *)
virtual void | visit (const Or *)
virtual void | visit (const Not *)
virtual void | visit (const Select *)
virtual void | visit (const Load *)
virtual void | visit (const Ramp *)
virtual void | visit (const Broadcast *)
virtual void | visit (const Call *)
virtual void | visit (const Let *)
virtual void | visit (const LetStmt *)
virtual void | visit (const AssertStmt *)
virtual void | visit (const ProducerConsumer *)
virtual void | visit (const For *)
virtual void | visit (const Store *)
virtual void | visit (const Provide *)
virtual void | visit (const Allocate *)
virtual void | visit (const Free *)
virtual void | visit (const Realize *)
virtual void | visit (const Block *)
virtual void | visit (const IfThenElse *)
virtual void | visit (const Evaluate *)
virtual void | visit (const Shuffle *)
virtual void | visit (const VectorReduce *)
virtual void | visit (const Prefetch *)
virtual void | visit (const Fork *)
virtual void | visit (const Acquire *)
virtual void | visit (const Atomic *)
virtual void | visit (const HoistedStorage *)

## Detailed Description

A base class for algorithms that need to recursively walk over the IR.

The default implementations just recursively walk over the children. Override the ones you care about.

Definition at line 19 of file IRVisitor.h.

## Constructor & Destructor Documentation

## ◆ IRVisitor()

Halide::Internal::IRVisitor::IRVisitor | ( |  | ) |
| default

## ◆ ~IRVisitor()

virtual Halide::Internal::IRVisitor::~IRVisitor | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ visit() [1/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const IntImm * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

Referenced by Halide::SimdOpCheckTest::check_one().

## ◆ visit() [2/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const UIntImm * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [3/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const FloatImm * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [4/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const StringImm * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [5/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Cast * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [6/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Reinterpret * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [7/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Variable * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::Closure.

## ◆ visit() [8/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Add * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [9/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Sub * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [10/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Mul * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [11/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Div * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [12/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Mod * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [13/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Min * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [14/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Max * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [15/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const EQ * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [16/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const NE * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [17/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const LT * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [18/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const LE * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [19/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const GT * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [20/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const GE * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [21/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const And * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [22/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Or * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [23/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Not * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [24/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Select * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [25/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Load * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::Closure.

## ◆ visit() [26/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Ramp * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [27/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Broadcast * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [28/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Call * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, Halide::Internal::CodeGen_GPU_C, and Halide::Internal::HostClosure.

## ◆ visit() [29/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Let * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::Closure.

## ◆ visit() [30/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const LetStmt * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::Closure.

## ◆ visit() [31/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const AssertStmt * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [32/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const ProducerConsumer * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [33/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const For * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, Halide::Internal::HostClosure, and Halide::Internal::Closure.

## ◆ visit() [34/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Store * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::Closure.

## ◆ visit() [35/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Provide * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [36/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Allocate * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, and Halide::Internal::Closure.

## ◆ visit() [37/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Free * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, Halide::Internal::CodeGen_LLVM, and Halide::Internal::CodeGen_Posix.

## ◆ visit() [38/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Realize * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [39/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Block * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [40/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const IfThenElse * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [41/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Evaluate * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [42/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Shuffle * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::CodeGen_GPU_C.

## ◆ visit() [43/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const VectorReduce * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [44/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Prefetch * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [45/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Fork * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [46/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Acquire * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

## ◆ visit() [47/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const Atomic * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::IRPrinter, Halide::Internal::IRGraphVisitor, and Halide::Internal::Closure.

## ◆ visit() [48/48]

virtual void Halide::Internal::IRVisitor::visit | ( | const HoistedStorage * |  | ) |
| protected virtual

Reimplemented in Halide::Internal::Closure, Halide::Internal::CodeGen_LLVM, Halide::Internal::CodeGen_Posix, Halide::Internal::CodeGen_C, Halide::Internal::CodeGen_GPU_C, Halide::Internal::IRPrinter, and Halide::Internal::IRGraphVisitor.

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

- src/IRVisitor.h