LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MemIntrinsicInfo Struct Reference

Information about a load/store intrinsic defined by the target. More...

#include "llvm/Analysis/TargetTransformInfo.h"

Public Member Functions

bool isUnordered () const
 

Public Attributes

ValuePtrVal = nullptr
 This is the pointer that the intrinsic is loading from or storing to.
 
AtomicOrdering Ordering = AtomicOrdering::NotAtomic
 
unsigned short MatchingId = 0
 
bool ReadMem = false
 
bool WriteMem = false
 
bool IsVolatile = false
 

Detailed Description

Information about a load/store intrinsic defined by the target.

Definition at line 72 of file TargetTransformInfo.h.

Member Function Documentation

◆ isUnordered()

bool llvm::MemIntrinsicInfo::isUnordered ( ) const
inline

Definition at line 89 of file TargetTransformInfo.h.

References IsVolatile, llvm::NotAtomic, Ordering, and llvm::Unordered.

Member Data Documentation

◆ IsVolatile

bool llvm::MemIntrinsicInfo::IsVolatile = false

Definition at line 87 of file TargetTransformInfo.h.

Referenced by isUnordered().

◆ MatchingId

unsigned short llvm::MemIntrinsicInfo::MatchingId = 0

Definition at line 83 of file TargetTransformInfo.h.

◆ Ordering

AtomicOrdering llvm::MemIntrinsicInfo::Ordering = AtomicOrdering::NotAtomic

Definition at line 80 of file TargetTransformInfo.h.

Referenced by isUnordered().

◆ PtrVal

Value* llvm::MemIntrinsicInfo::PtrVal = nullptr

This is the pointer that the intrinsic is loading from or storing to.

If this is non-null, then analysis/optimization passes can assume that this intrinsic is functionally equivalent to a load/store from this pointer.

Definition at line 77 of file TargetTransformInfo.h.

Referenced by getAccessType(), and isAddressUse().

◆ ReadMem

bool llvm::MemIntrinsicInfo::ReadMem = false

Definition at line 85 of file TargetTransformInfo.h.

◆ WriteMem

bool llvm::MemIntrinsicInfo::WriteMem = false

Definition at line 86 of file TargetTransformInfo.h.


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