LLVM 22.0.0git
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
SmallVector< InterestingMemoryOperand, 1 > InterestingOperands

Detailed Description

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

Definition at line 75 of file TargetTransformInfo.h.

Member Function Documentation

◆ isUnordered()

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

Definition at line 94 of file TargetTransformInfo.h.

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

Member Data Documentation

◆ InterestingOperands

SmallVector<InterestingMemoryOperand, 1> llvm::MemIntrinsicInfo::InterestingOperands

Definition at line 92 of file TargetTransformInfo.h.

◆ IsVolatile

bool llvm::MemIntrinsicInfo::IsVolatile = false

Definition at line 90 of file TargetTransformInfo.h.

Referenced by isUnordered().

◆ MatchingId

unsigned short llvm::MemIntrinsicInfo::MatchingId = 0

Definition at line 86 of file TargetTransformInfo.h.

◆ Ordering

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

Definition at line 83 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 80 of file TargetTransformInfo.h.

Referenced by getAccessType(), and isAddressUse().

◆ ReadMem

bool llvm::MemIntrinsicInfo::ReadMem = false

Definition at line 88 of file TargetTransformInfo.h.

◆ WriteMem

bool llvm::MemIntrinsicInfo::WriteMem = false

Definition at line 89 of file TargetTransformInfo.h.


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