MLIR  20.0.0git
Classes | Namespaces | Macros | Functions
Location.h File Reference
#include "mlir/IR/Attributes.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include "mlir/IR/BuiltinLocationAttributes.h.inc"

Go to the source code of this file.

Classes

class  mlir::LocationAttr
 Location objects represent source locations information in MLIR. More...
 
class  mlir::Location
 This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around a LocationAttr. More...
 
class  mlir::FusedLocWith< MetadataT >
 This class represents a fused location whose metadata is known to be an instance of the given type. More...
 
struct  mlir::AttrTypeSubElementHandler< Location >
 Enable locations to be introspected as sub-elements. More...
 
struct  llvm::DenseMapInfo< mlir::Location >
 
struct  llvm::PointerLikeTypeTraits< mlir::Location >
 We align LocationStorage by 8, so allow LLVM to steal the low bits. More...
 
struct  llvm::ValueIsPresent< mlir::Location >
 The constructors in mlir::Location ensure that the class is a non-nullable wrapper around mlir::LocationAttr. More...
 
struct  llvm::CastInfo< To, From, std::enable_if_t< std::is_same_v< mlir::Location, std::remove_const_t< From > >||std::is_base_of_v< mlir::Location, From > > >
 Add support for llvm style casts. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 

Macros

#define GET_ATTRDEF_CLASSES
 

Functions

raw_ostream & mlir::operator<< (raw_ostream &os, const Location &loc)
 
inline ::llvm::hash_code mlir::hash_value (Location arg)
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 139 of file Location.h.