My Project
Public Member Functions | Static Public Member Functions | List of all members
mlir::ConstantIndexOp Class Reference

#include <Ops.h>

Inheritance diagram for mlir::ConstantIndexOp:
Inheritance graph
[legend]
Collaboration diagram for mlir::ConstantIndexOp:
Collaboration graph
[legend]

Public Member Functions

int64_t getValue ()
 

Static Public Member Functions

static void build (Builder *builder, OperationState &result, int64_t value)
 Build a constant int op producing an index. More...
 
static bool classof (Operation *op)
 ConstantIndexOp only matches values whose result type is Index. More...
 

Detailed Description

This is a refinement of the "constant" op for the case where it is returning an integer value of Index type.

%1 = "std.constant"(){value: 99} : () -> index

Member Function Documentation

◆ build()

void ConstantIndexOp::build ( Builder builder,
OperationState result,
int64_t  value 
)
static

Build a constant int op producing an index.

◆ classof()

bool ConstantIndexOp::classof ( Operation op)
static

ConstantIndexOp only matches values whose result type is Index.

◆ getValue()

int64_t mlir::ConstantIndexOp::getValue ( )
inline

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