MLIR  19.0.0git
Functions
Func.cpp File Reference
#include "mlir-c/Dialect/Func.h"
#include "mlir-c/IR.h"
#include "mlir-c/Support.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"

Go to the source code of this file.

Functions

void mlirFuncSetArgAttr (MlirOperation op, intptr_t pos, MlirStringRef name, MlirAttribute attr)
 Sets the argument attribute 'name' of an argument at index 'pos'. More...
 

Function Documentation

◆ mlirFuncSetArgAttr()

void mlirFuncSetArgAttr ( MlirOperation  op,
intptr_t  pos,
MlirStringRef  name,
MlirAttribute  attr 
)

Sets the argument attribute 'name' of an argument at index 'pos'.

Asserts that the operation is a FuncOp.

Definition at line 17 of file Func.cpp.