MLIR 22.0.0git
IRDLOps.cpp File Reference
#include "mlir/Dialect/IRDL/IR/IRDL.h"
#include "mlir/Dialect/IRDL/IRDLSymbols.h"
#include "mlir/IR/ValueRange.h"
#include <optional>

Go to the source code of this file.

Functions

static SmallVector< unsignedgetConstraintIndicesForArgs (mlir::OperandRange args, ArrayRef< Value > valueToConstr)
 Maps given args to the index in the valueToConstr

Function Documentation

◆ getConstraintIndicesForArgs()

SmallVector< unsigned > getConstraintIndicesForArgs ( mlir::OperandRange args,
ArrayRef< Value > valueToConstr )
static

Maps given args to the index in the valueToConstr

Definition at line 19 of file IRDLOps.cpp.