LLVM  8.0.1
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"

Collaboration diagram for llvm::MemIntrinsicInfo:
Collaboration graph
[legend]

Public Member Functions

bool isUnordered () const
 

Public Attributes

ValuePtrVal = nullptr
 This is the pointer that the intrinsic is loading from or storing to. More...
 
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 53 of file TargetTransformInfo.h.

Member Function Documentation

◆ isUnordered()

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

Member Data Documentation

◆ IsVolatile

bool llvm::MemIntrinsicInfo::IsVolatile = false

Definition at line 68 of file TargetTransformInfo.h.

Referenced by llvm::GCNTTIImpl::getTgtMemIntrinsic().

◆ MatchingId

unsigned short llvm::MemIntrinsicInfo::MatchingId = 0

Definition at line 64 of file TargetTransformInfo.h.

Referenced by llvm::AArch64TTIImpl::getTgtMemIntrinsic().

◆ Ordering

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

Definition at line 61 of file TargetTransformInfo.h.

Referenced by llvm::GCNTTIImpl::getTgtMemIntrinsic().

◆ 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 58 of file TargetTransformInfo.h.

Referenced by getAccessType(), llvm::AArch64TTIImpl::getTgtMemIntrinsic(), llvm::GCNTTIImpl::getTgtMemIntrinsic(), and isAddressUse().

◆ ReadMem

bool llvm::MemIntrinsicInfo::ReadMem = false

◆ WriteMem

bool llvm::MemIntrinsicInfo::WriteMem = false

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