Enzyme main
Loading...
Searching...
No Matches
TBAANodeImpl< 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

 TBAANodeImpl ()=default
 
 TBAANodeImpl (MDNodeTy *N)
 
MDNodeTy * getNode () const
 getNode - Get the llvm::MDNode for this TBAANode.
 
bool isNewFormat () const
 isNewFormat - Return true iff the wrapped type node is in the new size-aware format.
 
TBAANodeImpl< MDNodeTy > getParent () const
 getParent - Get this TBAANode's Alias tree parent.
 
bool isTypeImmutable () const
 Test if this TBAANode 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 TBAANodeImpl< 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 48 of file TBAA.h.

Constructor & Destructor Documentation

◆ TBAANodeImpl() [1/2]

template<typename MDNodeTy >
TBAANodeImpl< MDNodeTy >::TBAANodeImpl ( )
default

◆ TBAANodeImpl() [2/2]

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

Definition at line 53 of file TBAA.h.

Member Function Documentation

◆ getNode()

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

getNode - Get the llvm::MDNode for this TBAANode.

Definition at line 56 of file TBAA.h.

◆ getParent()

template<typename MDNodeTy >
TBAANodeImpl< MDNodeTy > TBAANodeImpl< MDNodeTy >::getParent ( ) const
inline

getParent - Get this TBAANode's Alias tree parent.

Definition at line 63 of file TBAA.h.

References TBAANodeImpl< MDNodeTy >::isNewFormat(), and TBAANodeImpl< MDNodeTy >::TBAANodeImpl().

◆ isNewFormat()

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

isNewFormat - Return true iff the wrapped type node is in the new size-aware format.

Definition at line 60 of file TBAA.h.

References isNewFormatTypeNode().

Referenced by TBAANodeImpl< MDNodeTy >::getParent().

◆ isTypeImmutable()

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

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

Definition at line 79 of file TBAA.h.


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