#include "mlir/Dialect/SPIRV/IR/SPIRVAttributes.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVDialect.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVTypes.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/DialectImplementation.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVAttrUtils.inc"
#include "mlir/Dialect/SPIRV/IR/SPIRVAttributes.cpp.inc"
Go to the source code of this file.
◆ GET_ATTRDEF_CLASSES
#define GET_ATTRDEF_CLASSES |
◆ GET_ATTRDEF_LIST
◆ parseInterfaceVarABIAttr()
Parses a spirv::InterfaceVarABIAttr.
Definition at line 382 of file SPIRVAttributes.cpp.
References mlir::AsmParser::emitError(), mlir::spirv::InterfaceVarABIAttr::get(), mlir::AsmParser::getBuilder(), mlir::AsmParser::getCurrentLocation(), mlir::Builder::getI32IntegerAttr(), mlir::AsmParser::parseComma(), mlir::AsmParser::parseGreater(), mlir::AsmParser::parseKeyword(), mlir::AsmParser::parseLess(), mlir::AsmParser::parseLParen(), mlir::AsmParser::parseOptionalComma(), mlir::AsmParser::parseOptionalInteger(), and mlir::AsmParser::parseRParen().
◆ parseKeywordList()
◆ parseTargetEnvAttr()
Parses a spirv::TargetEnvAttr.
Definition at line 525 of file SPIRVAttributes.cpp.
References mlir::AsmParser::emitError(), mlir::spirv::TargetEnvAttr::get(), mlir::AsmParser::getCurrentLocation(), mlir::spirv::TargetEnvAttr::kUnknownDeviceID, mlir::AsmParser::parseAttribute(), mlir::AsmParser::parseComma(), mlir::AsmParser::parseEqual(), mlir::AsmParser::parseGreater(), mlir::AsmParser::parseInteger(), mlir::AsmParser::parseKeyword(), mlir::AsmParser::parseLess(), mlir::AsmParser::parseOptionalColon(), and mlir::AsmParser::parseOptionalKeyword().
◆ parseVerCapExtAttr()
Definition at line 450 of file SPIRVAttributes.cpp.
References mlir::AsmParser::emitError(), mlir::spirv::VerCapExtAttr::get(), mlir::Builder::getArrayAttr(), mlir::AsmParser::getBuilder(), mlir::AsmParser::getCurrentLocation(), mlir::Builder::getI32IntegerAttr(), mlir::Builder::getStringAttr(), mlir::AsmParser::parseComma(), mlir::AsmParser::parseGreater(), mlir::AsmParser::parseKeyword(), parseKeywordList(), and mlir::AsmParser::parseLess().
◆ print() [1/3]
◆ print() [2/3]
◆ print() [3/3]
Definition at line 623 of file SPIRVAttributes.cpp.
References mlir::spirv::VerCapExtAttr::getCapabilities(), mlir::spirv::VerCapExtAttr::getExtensionsAttr(), mlir::spirv::VerCapExtAttr::getKindName(), mlir::AsmPrinter::getStream(), and mlir::spirv::VerCapExtAttr::getVersion().
Referenced by mlir::Block::dump(), mlir::Operation::dump(), mlir::presburger::Matrix< T >::dump(), mlir::OperationName::dump(), mlir::Value::dump(), mlir::operator<<(), print(), impl::MemRefDataPrinter< T >::print(), impl::MemRefDataPrinter< T >::printFirst(), impl::MemRefDataPrinter< T >::printLast(), printMemRefMetaData(), mlir::detail::pass_options::printOptionValue(), mlir::DynamicOpDefinition::setPrintFn(), mlir::DynamicAttrDefinition::setPrintFn(), and mlir::DynamicTypeDefinition::setPrintFn().