|
clang 24.0.0git
|
Describes a memory access in terms of TBAA. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenTBAA.h"
Public Member Functions | |
| TBAAAccessInfo (TBAAAccessKind kind, cir::TBAATypeDescriptorAttr baseType, cir::TBAATypeDescriptorAttr accessType, uint64_t offset, uint64_t size) | |
| TBAAAccessInfo (cir::TBAATypeDescriptorAttr baseType, cir::TBAATypeDescriptorAttr accessType, uint64_t offset, uint64_t size) | |
| TBAAAccessInfo (cir::TBAATypeDescriptorAttr accessType, uint64_t size) | |
| TBAAAccessInfo () | |
| bool | isMayAlias () const |
| bool | isIncomplete () const |
| bool | operator== (const TBAAAccessInfo &other) const |
| bool | operator!= (const TBAAAccessInfo &other) const |
| operator bool () const | |
Static Public Member Functions | |
| static TBAAAccessInfo | getMayAliasInfo () |
| static TBAAAccessInfo | getIncompleteInfo () |
Public Attributes | |
| TBAAAccessKind | kind |
| The kind of the access descriptor. | |
| cir::TBAATypeDescriptorAttr | baseType |
| The base/leading access type. | |
| cir::TBAATypeDescriptorAttr | accessType |
| The final access type. | |
| uint64_t | offset |
| The byte offset of the final access within the base one. | |
| uint64_t | size |
| The size of access, in bytes. | |
Describes a memory access in terms of TBAA.
Definition at line 44 of file CIRGenTBAA.h.
|
inline |
Definition at line 45 of file CIRGenTBAA.h.
References accessType, baseType, kind, offset, size, and uint64_t.
Referenced by getIncompleteInfo(), getMayAliasInfo(), operator!=(), operator==(), TBAAAccessInfo(), TBAAAccessInfo(), and TBAAAccessInfo().
|
inline |
Definition at line 51 of file CIRGenTBAA.h.
References accessType, baseType, offset, clang::CIRGen::Ordinary, size, TBAAAccessInfo(), and uint64_t.
|
inlineexplicit |
Definition at line 57 of file CIRGenTBAA.h.
References accessType, size, TBAAAccessInfo(), and uint64_t.
|
inline |
Definition at line 60 of file CIRGenTBAA.h.
References TBAAAccessInfo().
Referenced by getIncompleteInfo(), getMayAliasInfo(), and operator bool().
|
inlinestatic |
Definition at line 69 of file CIRGenTBAA.h.
References clang::CIRGen::Incomplete, TBAAAccessInfo(), and TBAAAccessInfo().
Referenced by clang::CIRGen::CIRGenTBAA::getAccessInfo().
|
inlinestatic |
Definition at line 62 of file CIRGenTBAA.h.
References clang::CIRGen::MayAlias, TBAAAccessInfo(), and TBAAAccessInfo().
Referenced by emitAsmStores(), clang::CIRGen::CIRGenFunction::emitLValueForField(), clang::CIRGen::CIRGenTBAA::getAccessInfo(), clang::CIRGen::CIRGenModule::getTBAAInfoForSubobject(), clang::CIRGen::CIRGenTBAA::mergeTBAAInfoForCast(), and clang::CIRGen::CIRGenTBAA::mergeTBAAInfoForConditionalOperator().
|
inline |
Definition at line 74 of file CIRGenTBAA.h.
References clang::CIRGen::Incomplete, and kind.
|
inline |
Definition at line 67 of file CIRGenTBAA.h.
References kind, and clang::CIRGen::MayAlias.
Referenced by clang::CIRGen::CIRGenFunction::emitLValueForField(), clang::CIRGen::CIRGenModule::getTBAAInfoForSubobject(), clang::CIRGen::CIRGenTBAA::mergeTBAAInfoForCast(), and clang::CIRGen::CIRGenTBAA::mergeTBAAInfoForConditionalOperator().
|
inlineexplicit |
Definition at line 86 of file CIRGenTBAA.h.
References TBAAAccessInfo().
|
inline |
Definition at line 82 of file CIRGenTBAA.h.
References TBAAAccessInfo().
|
inline |
Definition at line 76 of file CIRGenTBAA.h.
References accessType, baseType, kind, offset, size, and TBAAAccessInfo().
| cir::TBAATypeDescriptorAttr clang::CIRGen::TBAAAccessInfo::accessType |
The final access type.
May be null if there is no TBAA information available about this access.
Definition at line 98 of file CIRGenTBAA.h.
Referenced by clang::CIRGen::CIRGenFunction::emitLValueForField(), operator==(), TBAAAccessInfo(), TBAAAccessInfo(), and TBAAAccessInfo().
| cir::TBAATypeDescriptorAttr clang::CIRGen::TBAAAccessInfo::baseType |
The base/leading access type.
May be null if this access descriptor represents an access that is not considered to be an access to an aggregate or union member.
Definition at line 94 of file CIRGenTBAA.h.
Referenced by clang::CIRGen::CIRGenFunction::emitLValueForField(), operator==(), TBAAAccessInfo(), and TBAAAccessInfo().
| TBAAAccessKind clang::CIRGen::TBAAAccessInfo::kind |
The kind of the access descriptor.
Definition at line 89 of file CIRGenTBAA.h.
Referenced by isIncomplete(), isMayAlias(), operator==(), and TBAAAccessInfo().
| uint64_t clang::CIRGen::TBAAAccessInfo::offset |
The byte offset of the final access within the base one.
Must be zero if the base access type is not specified.
Definition at line 102 of file CIRGenTBAA.h.
Referenced by clang::CIRGen::CIRGenFunction::emitLValueForField(), operator==(), TBAAAccessInfo(), and TBAAAccessInfo().
| uint64_t clang::CIRGen::TBAAAccessInfo::size |
The size of access, in bytes.
Definition at line 105 of file CIRGenTBAA.h.
Referenced by clang::CIRGen::CIRGenFunction::emitLValueForField(), operator==(), TBAAAccessInfo(), TBAAAccessInfo(), and TBAAAccessInfo().