Enzyme main
Loading...
Searching...
No Matches
TBAAStructTagNodeImpl< MDNodeTy > Class Template Reference

This is a simple wrapper around an llvm::MDNode which provides a higher-level interface by hiding the details of how alias analysis information is encoded in its operands. More...

#include "TypeAnalysis/TBAA.h"

Public Member Functions

 TBAAStructTagNodeImpl (MDNodeTy *N)
 
MDNodeTy * getNode () const
 Get the llvm::MDNode for this TBAAStructTagNode.
 
bool isNewFormat () const
 isNewFormat - Return true iff the wrapped access tag is in the new size-aware format.
 
MDNodeTy * getBaseType () const
 
MDNodeTy * getAccessType () const
 
uint64_t getOffset () const
 
uint64_t getSize () const
 
bool isTypeImmutable () const
 Test if this TBAAStructTagNode represents a type for objects which are not modified (by any means) in the context where this AliasAnalysis is relevant.
 

Detailed Description

template<typename MDNodeTy>
class TBAAStructTagNodeImpl< MDNodeTy >

This is a simple wrapper around an llvm::MDNode which provides a higher-level interface by hiding the details of how alias analysis information is encoded in its operands.

Definition at line 100 of file TBAA.h.

Constructor & Destructor Documentation

◆ TBAAStructTagNodeImpl()

template<typename MDNodeTy >
TBAAStructTagNodeImpl< MDNodeTy >::TBAAStructTagNodeImpl ( MDNodeTy * N)
inlineexplicit

Definition at line 105 of file TBAA.h.

Member Function Documentation

◆ getAccessType()

template<typename MDNodeTy >
MDNodeTy * TBAAStructTagNodeImpl< MDNodeTy >::getAccessType ( ) const
inline

Definition at line 125 of file TBAA.h.

Referenced by TBAAStructTagNodeImpl< MDNodeTy >::isNewFormat().

◆ getBaseType()

template<typename MDNodeTy >
MDNodeTy * TBAAStructTagNodeImpl< MDNodeTy >::getBaseType ( ) const
inline

Definition at line 121 of file TBAA.h.

◆ getNode()

template<typename MDNodeTy >
MDNodeTy * TBAAStructTagNodeImpl< MDNodeTy >::getNode ( ) const
inline

Get the llvm::MDNode for this TBAAStructTagNode.

Definition at line 108 of file TBAA.h.

◆ getOffset()

template<typename MDNodeTy >
uint64_t TBAAStructTagNodeImpl< MDNodeTy >::getOffset ( ) const
inline

Definition at line 129 of file TBAA.h.

◆ getSize()

template<typename MDNodeTy >
uint64_t TBAAStructTagNodeImpl< MDNodeTy >::getSize ( ) const
inline

Definition at line 134 of file TBAA.h.

References TBAAStructTagNodeImpl< MDNodeTy >::isNewFormat().

◆ isNewFormat()

template<typename MDNodeTy >
bool TBAAStructTagNodeImpl< MDNodeTy >::isNewFormat ( ) const
inline

◆ isTypeImmutable()

template<typename MDNodeTy >
bool TBAAStructTagNodeImpl< MDNodeTy >::isTypeImmutable ( ) const
inline

Test if this TBAAStructTagNode represents a type for objects which are not modified (by any means) in the context where this AliasAnalysis is relevant.

Definition at line 144 of file TBAA.h.

References TBAAStructTagNodeImpl< MDNodeTy >::isNewFormat().


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