MLIR  19.0.0git
Public Types | Public Member Functions | Friends | List of all members
mlir::affine::AffineBound Class Reference

AffineBound represents a lower or upper bound in the for operation. More...

#include "mlir/Dialect/Affine/IR/AffineOps.h"

Public Types

using operand_iterator = AffineForOp::operand_iterator
using operand_range = AffineForOp::operand_range

Public Member Functions

AffineForOp getAffineForOp ()
AffineMap getMap ()
unsigned getNumOperands ()
Value getOperand (unsigned idx)
operand_iterator operandBegin ()
operand_iterator operandEnd ()
operand_range getOperands ()


class AffineForOp

Detailed Description

AffineBound represents a lower or upper bound in the for operation.

This class does not own the underlying operands. Instead, it refers to the operands stored in the AffineForOp. Its life span should not exceed that of the for operation it refers to.

Definition at line 497 of file AffineOps.h.

Member Typedef Documentation

◆ operand_iterator

using mlir::affine::AffineBound::operand_iterator = AffineForOp::operand_iterator

Definition at line 507 of file AffineOps.h.

◆ operand_range

using mlir::affine::AffineBound::operand_range = AffineForOp::operand_range

Definition at line 508 of file AffineOps.h.

Member Function Documentation

◆ getAffineForOp()

AffineForOp mlir::affine::AffineBound::getAffineForOp ( )

Definition at line 499 of file AffineOps.h.

◆ getMap()

AffineMap mlir::affine::AffineBound::getMap ( )

◆ getNumOperands()

unsigned mlir::affine::AffineBound::getNumOperands ( )

◆ getOperand()

Value mlir::affine::AffineBound::getOperand ( unsigned  idx)

◆ getOperands()

operand_range mlir::affine::AffineBound::getOperands ( )

Definition at line 512 of file AffineOps.h.

References operandBegin(), and operandEnd().

Referenced by mlir::affine::coalesceLoops().

◆ operandBegin()

operand_iterator mlir::affine::AffineBound::operandBegin ( )

Definition at line 510 of file AffineOps.h.

Referenced by getOperands().

◆ operandEnd()

operand_iterator mlir::affine::AffineBound::operandEnd ( )

Definition at line 511 of file AffineOps.h.

Referenced by getOperands().

Friends And Related Function Documentation

◆ AffineForOp

friend class AffineForOp

Definition at line 525 of file AffineOps.h.

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