MLIR  14.0.0git
Classes | Namespaces
InterfaceSupport.h File Reference
#include "mlir/Support/TypeID.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Support/TypeName.h"
Include dependency graph for InterfaceSupport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >
 This class represents an abstract interface. More...
 
struct  mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >::Trait< ConcreteT >
 This is a special trait that registers a given interface with an object. More...
 
struct  mlir::detail::FilterTypeT< bool >
 Utility to filter a given sequence of types base upon a predicate. More...
 
struct  mlir::detail::FilterTypeT< false >
 
struct  mlir::detail::FilterTypes< Pred, Es >
 
class  mlir::detail::InterfaceMap
 This class provides an efficient mapping between a given Interface type, and a particular implementation of its concept. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 

Variable Documentation

◆ value

constexpr const bool value = true
static

Definition at line 161 of file InterfaceSupport.h.

Referenced by mlir::FlatAffineConstraints::addBound(), mlir::ValueDecomposer::addDecomposeValueConversion(), mlir::ConversionTarget::addDynamicallyLegalOp(), addExecuteResults(), mlir::tblgen::Constructor::addMemberInitializer(), addMissingLoopIVBounds(), addNamedOpBuilderImpl(), addResumeFunction(), mlir::TypeConverter::addTargetMaterialization(), mlir::OperationState::addTypes(), mlir::AsmParserState::addUses(), mlir::linalg::applyPermutationToVector(), areAllLLVMTypes(), mlir::AsmPrinter::AsmPrinter(), mlir::detail::ElementsAttrIndexer::at(), mlir::Op< AffineDmaStartOp, OpTrait::MemRefsNormalizable, OpTrait::VariadicOperands, OpTrait::ZeroResult, AffineMapAccessInterface::Trait >::attachInterface(), broadcast(), broadcastIfNeeded(), mlir::BufferPlacementAllocs::BufferPlacementAllocs(), buildCostGraph(), buildMinMaxReductionSeq(), buildPredicateList(), buildVectorWrite(), canonicalizeMapOrSetAndOperands(), mlir::python::PyValue::checkValid(), mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT, Traits >::classof(), mlir::DebugAction< ParameterTs >::Handler::classof(), mlir::FlatAffineValueConstraints::classof(), mlir::Op< AffineDmaStartOp, OpTrait::MemRefsNormalizable, OpTrait::VariadicOperands, OpTrait::ZeroResult, AffineMapAccessInterface::Trait >::classof(), mlir::spirv::Deserializer::collect(), computeNecessaryMaterializations(), computeReshapeCollapsedType(), computeTensorReshapeCollapsedType(), mlir::detail::constructContainerOpForParserIfNecessary(), mlir::tblgen::Constructor::Constructor(), convertStructType(), mlir::OperationFolder::create(), mlir::RewritePattern::create(), createCastToIndexLike(), mlir::python::PyValue::createFromCapsule(), createI32ConstantOf(), mlir::ConvertToLLVMPattern::createIndexAttrConstant(), mlir::linalg::createLinalgOpOnBuffers(), mlir::createLoopFusionPass(), createReassociationMapsForCollapse(), mlir::python::adaptors::pure_subclass::def_classmethod(), mlir::python::adaptors::pure_subclass::def_staticmethod(), mlir::spirv::Deserializer::processOp< spirv::FunctionCallOp >(), diag(), mlir::IROperand< OpOperand, Value >::drop(), dropRefIfNoUses(), eachHasOnlyOneOfTypes(), mlir::BufferViewFlowAnalysis::end(), mlir::eraseUnreachableBlocks(), executeGetOperandsResults(), exp2I32(), extractCompositeElement(), mlir::FailureOr< T >::FailureOr(), mlir::detail::PassCrashReproducerGenerator::finalize(), findDuplicateElement(), findLiveUserOfReplaced(), mlir::tblgen::FmtObject< Tuple >::FmtObject(), foldMinMaxOp(), mlir::op_definition_impl::foldTrait(), mlir::op_definition_impl::foldTraits(), mlir::op_definition_impl::foldTraitsImpl(), foldTransferInBoundsAttribute(), mlir::LLVM::ModuleTranslation::forgetMapping(), frexp(), mlir::SideEffects::Effect::get(), mlir::ThreadLocalCache< llvm::StringMap< llvm::StringMapEntry< llvm::NoneType > *> >::get(), mlir::DenseElementsAttr::get(), mlir::IROperand< OpOperand, Value >::get(), mlir::detail::TypeUniquer::get(), mlir::spirv::ImageType::get(), mlir::detail::AttributeUniquer::get(), mlir::detail::InterfaceMap::get(), mlir::FlatSymbolRefAttr::get(), mlir::python::PyValue::get(), mlir::detail::AnalysisMap::getAnalysis(), mlir::Diagnostic::getArguments(), mlir::ComputationSliceState::getAsConstraints(), mlir::PDLValue::getAsOpaquePointer(), getAsValues(), mlir::BlockAndValueMapping::getBlockMap(), mlir::tblgen::InterfaceMethod::getBody(), mlir::tblgen::TypeConstraint::getBuilderCall(), mlir::tblgen::TypeConstraint::getCPPClassName(), mlir::tblgen::InterfaceMethod::getDefaultImplementation(), mlir::tblgen::Builder::Parameter::getDefaultValue(), mlir::tblgen::InterfaceMethod::getDescription(), mlir::tblgen::Interface::getDescription(), mlir::tblgen::Dialect::getExtraClassDeclaration(), mlir::tblgen::Interface::getExtraClassDeclaration(), mlir::tblgen::AttrOrTypeDef::getExtraDecls(), mlir::tblgen::Interface::getExtraTraitClassDeclaration(), mlir::getFusionComputeCost(), mlir::Builder::getIntegerAttr(), getLastDependentOpInRange(), mlir::detail::ForwardDataFlowAnalysisBase::getLatticeElement(), getLLVMAtomicOrdering(), mlir::getMemRefSizeInBytes(), mlir::PDLPatternModule::getModule(), getNonCastedValue(), getOperandTreePredicates(), mlir::Liveness::getOperation(), getOption(), mlir::SideEffects::EffectInstance< EffectT >::getParameters(), mlir::getReachableAffineApplyOps(), mlir::DenseElementsAttr::getSplatValue(), mlir::ForwardDataFlowAnalysis< ValueT >::getSuccessorsForOperands(), mlir::AffineDmaWaitOp::getTagMapAttrName(), getTreePredicates(), mlir::Builder::getType(), mlir::ConversionPattern::getTypeConverter(), mlir::linalg::getUpperBoundForIndex(), mlir::BlockOperand::getUseList(), mlir::NamedAttribute::getValue(), llvm::cl::OptionValue< PassArgData >::getValue(), mlir::getValueOrCreateConstantIndexOp(), mlir::tblgen::Interface::getVerify(), mlir::Op< AffineDmaStartOp, OpTrait::MemRefsNormalizable, OpTrait::VariadicOperands, OpTrait::ZeroResult, AffineMapAccessInterface::Trait >::hasTrait(), inferExtractOpResultType(), mlir::python::PyInferTypeOpInterface::inferReturnTypes(), mlir::detail::StringAttrStorage::initialize(), mlir::detail::PDLByteCode::initializeMutableState(), mlir::detail::InterfaceMap::insert(), mlir::python::PySymbolTable::insert(), mlir::RewritePatternSet::insert(), insertCopies(), mlir::detail::Interface< ConcreteType, Type, Traits, Type, TypeTrait::TraitBase >::Interface(), mlir::detail::AnalysisMap::invalidate(), mlir::IROperand< OpOperand, Value >::is(), mlir::AffineExpr::isa(), mlir::PDLValue::isa(), isContiguousAccess(), isDefinedByCallTo(), mlir::detail::analysis_impl::isInvalidated(), isPermutation(), isShapePreserving(), mlir::linalg::comprehensive_bufferize::tensor_ext::isSourceEquivalentToAMatchingInplaceExtractSliceOp(), isUnitDimExpansionOnly(), legalizeUnresolvedMaterialization(), linalgOpToLoopsImpl(), linearizeCollapsedDims(), pybind11::detail::type_caster< MlirAffineMap >::load(), pybind11::detail::MlirDefaultingCaster< mlir::python::DefaultingPyMlirContext >::load(), pybind11::detail::type_caster< MlirAttribute >::load(), pybind11::detail::type_caster< MlirContext >::load(), pybind11::detail::type_caster< MlirLocation >::load(), pybind11::detail::type_caster< MlirModule >::load(), pybind11::detail::type_caster< MlirOperation >::load(), pybind11::detail::type_caster< MlirPassManager >::load(), pybind11::detail::type_caster< MlirType >::load(), logFailure(), mlir::BlockAndValueMapping::map(), mlir::DenseElementsAttr::ComplexFloatElementIterator::mapElement(), mlir::LLVM::ModuleTranslation::mapValue(), mlir::ForwardDataFlowAnalysis< ValueT >::markAllPessimisticFixpoint(), mlir::ConversionTarget::markOpRecursivelyLegal(), mlir::detail::constant_int_value_matcher< TargetValue >::match(), mlir::detail::constant_int_not_value_matcher< TargetNotValue >::match(), mlir::detail::PatternMatcherValue::match(), mlir::math::ErfPolynomialApproximation::matchAndRewrite(), mlir::OpToFuncCallLowering< SourceOp >::matchAndRewrite(), mlir::VectorConvertToLLVMPattern< SourceOp, TargetOp >::matchAndRewrite(), mlir::detail::matchOperandOrValueAtIndex(), matchSelectReduction(), mlir::TypeConverter::materializeTargetConversion(), mlir::lsp::MessageHandler::MessageHandler(), mlirPythonCapsuleToValue(), mlirValueIsNull(), mlir::moveLoopInvariantCode(), mlir::LLVM::detail::LLVMStructTypeStorage::mutate(), mlir::StorageUniquer::mutate(), mlir::PDLValue::operator bool(), mlir::python::PyValue::operator MlirValue(), mlir::detail::PassOptions::ListOption< DataType, OptionParser >::operator*(), mlir::ThreadLocalCache< llvm::StringMap< llvm::StringMapEntry< llvm::NoneType > *> >::operator->(), mlir::Diagnostic::operator<<(), mlir::operator<<(), mlir::IROperand< OpOperand, Value >::operator=(), mlir::Pass::Statistic::operator=(), mlir::vector::detail::BitmaskEnumStorage::operator==(), mlir::detail::StringAttrStorage::operator==(), optionallyBroadcast(), optionallyTruncateOrExtend(), mlir::LivenessBlockInfo::out(), outlineExecuteOp(), mlir::parallelForEach(), mlir::FieldParser< AttributeT, std::enable_if_t< std::is_base_of< Attribute, AttributeT >::value, AttributeT > >::parse(), mlir::FieldParser< TypeT, std::enable_if_t< std::is_base_of< Type, TypeT >::value, TypeT > >::parse(), mlir::FieldParser< IntT, std::enable_if_t< std::is_integral< IntT >::value, IntT > >::parse(), mlir::FieldParser< std::string >::parse(), parseAllocaOp(), parseAndVerify< unsigned >(), parseAtomicWriteOp(), parseConstantOp(), parseElementAttrHexValues(), parseExecutionModeOp(), mlir::detail::Parser::parseFloatFromIntegerLiteral(), parseForOp(), mlir::detail::PassOptions::parseFromString(), parseGlobalOp(), parseImageType(), parseInsertElementOp(), parseInsertValueOp(), parseStoreOp(), mlir::NamedAttrList::pop_back(), mlir::Liveness::print(), mlir::PDLValue::print(), print(), printConstantOp(), mlir::AsmPrinter::Impl::printIntegerSet(), printOperation(), printSynchronizationHint(), printValueInfo(), propagateLiveness(), mlir::StorageUniquer::registerParametricStorageType(), remainsLegalAfterInline(), mlir::replaceAllMemRefUsesWith(), replaceIterArgsAndYieldResults(), mlir::OpAsmParser::resolveOperands(), mlir::runRegionDCE(), mlir::spirv::Serializer::processOp< spirv::FunctionCallOp >(), mlir::IROperand< OpOperand, Value >::set(), mlir::NamedAttrList::set(), mlir::OpTrait::FunctionLike< ConcreteType >::setAllArgAttrs(), mlir::Operation::setAttr(), llvm::cl::OptionValue< PassArgData >::setValue(), mlir::ShapedTypeComponents::ShapedTypeComponents(), shiftValue(), shouldPrintElementsAttrWithHex(), sourceMaterializationCallback(), mlir::Block::splitBlock(), mlir::LLVM::ModuleTranslation::stackPush(), mlir::LLVM::ModuleTranslation::stackWalk(), mlir::Region::takeBody(), mlir::PySinglePartStringAccumulator::takeValue(), mlir::scf::tileParallelLoop(), mlir::OpBuilder::tryFold(), mlir::TypeRange::TypeRange(), unwrapList(), mlir::RewriterBase::updateRootInPlace(), mlir::ResultRange::use_empty(), validateSupportedControlFlow(), mlir::DenseElementsAttr::value_end(), valueAt(), mlir::ValueRange::ValueRange(), verify(), verifyAllocLikeOp(), verifySynchronizationHint(), mlir::AffineExprVisitor< HasAffineDimExprVisitor, bool >::visit(), visitInPrettyBlockOrder(), visitUpward(), mlir::detail::walk(), mlir::Region::walk(), mlir::Block::walk(), mlir::AffineExprVisitor< HasAffineDimExprVisitor, bool >::walkPostOrder(), walkReferenceCountedValues(), walkSymbolUses(), and mlir::detail::InterfaceMap::~InterfaceMap().