clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::CodeGen::TBAAAccessInfo Struct Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.h"

Collaboration diagram for clang::CodeGen::TBAAAccessInfo:
Collaboration graph
[legend]

Public Member Functions

 TBAAAccessInfo (llvm::MDNode *BaseType, llvm::MDNode *AccessType, uint64_t Offset)
 
 TBAAAccessInfo (llvm::MDNode *AccessType)
 
 TBAAAccessInfo ()
 

Public Attributes

llvm::MDNode * BaseType
 BaseType - The base/leading access type. More...
 
llvm::MDNode * AccessType
 AccessType - The final access type. More...
 
uint64_t Offset
 Offset - The byte offset of the final access within the base one. More...
 

Detailed Description

Definition at line 36 of file CodeGenTBAA.h.

Constructor & Destructor Documentation

◆ TBAAAccessInfo() [1/3]

clang::CodeGen::TBAAAccessInfo::TBAAAccessInfo ( llvm::MDNode *  BaseType,
llvm::MDNode *  AccessType,
uint64_t  Offset 
)
inline

Definition at line 37 of file CodeGenTBAA.h.

◆ TBAAAccessInfo() [2/3]

clang::CodeGen::TBAAAccessInfo::TBAAAccessInfo ( llvm::MDNode *  AccessType)
inlineexplicit

Definition at line 42 of file CodeGenTBAA.h.

◆ TBAAAccessInfo() [3/3]

clang::CodeGen::TBAAAccessInfo::TBAAAccessInfo ( )
inline

Definition at line 46 of file CodeGenTBAA.h.

Member Data Documentation

◆ AccessType

llvm::MDNode* clang::CodeGen::TBAAAccessInfo::AccessType

AccessType - The final access type.

May be null if there is no TBAA information available about this access.

Definition at line 57 of file CodeGenTBAA.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitLValueForField(), clang::CodeGen::CodeGenTBAA::getAccessTagInfo(), llvm::DenseMapInfo< clang::CodeGen::TBAAAccessInfo >::getHashValue(), and llvm::DenseMapInfo< clang::CodeGen::TBAAAccessInfo >::isEqual().

◆ BaseType

llvm::MDNode* clang::CodeGen::TBAAAccessInfo::BaseType

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 53 of file CodeGenTBAA.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitLValueForField(), clang::CodeGen::CodeGenTBAA::getAccessTagInfo(), llvm::DenseMapInfo< clang::CodeGen::TBAAAccessInfo >::getHashValue(), and llvm::DenseMapInfo< clang::CodeGen::TBAAAccessInfo >::isEqual().

◆ Offset

uint64_t clang::CodeGen::TBAAAccessInfo::Offset

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 61 of file CodeGenTBAA.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitLValueForField(), clang::CodeGen::CodeGenTBAA::getAccessTagInfo(), llvm::DenseMapInfo< clang::CodeGen::TBAAAccessInfo >::getHashValue(), and llvm::DenseMapInfo< clang::CodeGen::TBAAAccessInfo >::isEqual().


The documentation for this struct was generated from the following file: