|
MLIR 22.0.0git
|
Public Types | |
| using | PointerPair = llvm::PointerIntPair<StringAttr, 2> |
| using | KeyTy = std::tuple<StringAttr, ::llvm::ArrayRef<unsigned>> |
Public Member Functions | |
| FileLineColRangeAttrStorage (StringAttr filename, int numLocs) | |
| unsigned | size () const |
| bool | operator== (const KeyTy &tblgenKey) const |
| unsigned | getLineCols (unsigned index) const |
| unsigned | getStartLine () const |
| unsigned | getStartColumn () const |
| unsigned | getEndColumn () const |
| unsigned | getEndLine () const |
| Public Member Functions inherited from mlir::AttributeStorage | |
| const AbstractAttribute & | getAbstractAttribute () const |
| Return the abstract descriptor for this attribute. | |
Static Public Member Functions | |
| static FileLineColRangeAttrStorage * | construct (::mlir::AttributeStorageAllocator &allocator, KeyTy &&tblgenKey) |
| ::llvm::hash_code | hashKey (const KeyTy &tblgenKey) |
Public Attributes | |
| llvm::PointerIntPair< StringAttr, 2 > | filenameAndTrailing |
| unsigned | startLine = 0 |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::AttributeStorage | |
| void | initializeAbstractAttribute (const AbstractAttribute &abstractAttr) |
| Set the abstract attribute for this storage instance. | |
| void | initialize (MLIRContext *context) |
| Default initialization for attribute storage classes that require no additional initialization. | |
| Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
| BaseStorage ()=default | |
Definition at line 31 of file Location.cpp.
| using mlir::detail::FileLineColRangeAttrStorage::KeyTy = std::tuple<StringAttr, ::llvm::ArrayRef<unsigned>> |
Definition at line 36 of file Location.cpp.
| using mlir::detail::FileLineColRangeAttrStorage::PointerPair = llvm::PointerIntPair<StringAttr, 2> |
Definition at line 35 of file Location.cpp.
|
inline |
Definition at line 38 of file Location.cpp.
References filenameAndTrailing.
Referenced by construct().
|
inlinestatic |
Definition at line 42 of file Location.cpp.
References mlir::StorageUniquer::StorageAllocator::allocate(), FileLineColRangeAttrStorage(), result, and size().
|
inline |
Definition at line 88 of file Location.cpp.
References getLineCols(), getStartColumn(), and size().
|
inline |
Definition at line 93 of file Location.cpp.
References getLineCols(), getStartLine(), and size().
Definition at line 78 of file Location.cpp.
Referenced by getEndColumn(), getEndLine(), and getStartColumn().
|
inline |
Definition at line 83 of file Location.cpp.
References getLineCols(), and size().
Referenced by getEndColumn().
|
inline |
|
inlinestatic |
Definition at line 99 of file Location.cpp.
Definition at line 70 of file Location.cpp.
References filenameAndTrailing, size(), and startLine.
|
inline |
Definition at line 68 of file Location.cpp.
References filenameAndTrailing.
Referenced by construct(), getEndColumn(), getEndLine(), getStartColumn(), and operator==().
| llvm::PointerIntPair<StringAttr, 2> mlir::detail::FileLineColRangeAttrStorage::filenameAndTrailing |
Definition at line 108 of file Location.cpp.
Referenced by FileLineColRangeAttrStorage(), operator==(), and size().
| unsigned mlir::detail::FileLineColRangeAttrStorage::startLine = 0 |
Definition at line 109 of file Location.cpp.
Referenced by getStartLine(), and operator==().