MLIR 22.0.0git
AttrKindDetail.h File Reference
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "llvm/IR/Attributes.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::LLVM
namespace  mlir::LLVM::detail

Functions

static llvm::ArrayRef< std::pair< llvm::Attribute::AttrKind, llvm::StringRef > > mlir::LLVM::detail::getAttrKindToNameMapping ()
 Returns a list of pairs that each hold a mapping from LLVM attribute kinds to their corresponding string name in LLVM IR dialect.
static llvm::DenseMap< llvm::StringRef, llvm::Attribute::AttrKind > mlir::LLVM::detail::getAttrNameToKindMapping ()
 Returns a dense map from LLVM attribute name to their kind in LLVM IR dialect.