MLIR  20.0.0git
Functions
LLVMInterfaces.cpp File Reference
#include "mlir/Dialect/LLVMIR/LLVMInterfaces.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/LLVMIR/LLVMInterfaces.cpp.inc"

Go to the source code of this file.

Functions

template<class AttrT >
static LogicalResult isArrayOf (Operation *op, ArrayAttr array)
 Verifies that all elements of array are instances of Attr. More...
 

Function Documentation

◆ isArrayOf()

template<class AttrT >
static LogicalResult isArrayOf ( Operation op,
ArrayAttr  array 
)
static

Verifies that all elements of array are instances of Attr.

Definition at line 21 of file LLVMInterfaces.cpp.

References mlir::Operation::emitOpError().