MLIR  16.0.0git
Public Types | Public Member Functions | Friends | List of all members
mlir::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 ()
 

Friends

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 491 of file AffineOps.h.

Member Typedef Documentation

◆ operand_iterator

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

Definition at line 499 of file AffineOps.h.

◆ operand_range

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

Definition at line 500 of file AffineOps.h.

Member Function Documentation

◆ getAffineForOp()

AffineForOp mlir::AffineBound::getAffineForOp ( )
inline

Definition at line 493 of file AffineOps.h.

◆ getMap()

AffineMap mlir::AffineBound::getMap ( )
inline

◆ getNumOperands()

unsigned mlir::AffineBound::getNumOperands ( )
inline

◆ getOperand()

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

◆ getOperands()

operand_range mlir::AffineBound::getOperands ( )
inline

Definition at line 504 of file AffineOps.h.

References operandBegin(), and operandEnd().

Referenced by mlir::coalesceLoops(), and mlir::normalizeAffineFor().

◆ operandBegin()

operand_iterator mlir::AffineBound::operandBegin ( )
inline

Definition at line 502 of file AffineOps.h.

Referenced by getOperands().

◆ operandEnd()

operand_iterator mlir::AffineBound::operandEnd ( )
inline

Definition at line 503 of file AffineOps.h.

Referenced by getOperands().

Friends And Related Function Documentation

◆ AffineForOp

friend class AffineForOp
friend

Definition at line 518 of file AffineOps.h.


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