LLVM
15.0.0git
|
Common base class for all memory transfer intrinsics. More...
#include "llvm/IR/IntrinsicInst.h"
Public Member Functions | |
Value * | getRawSource () const |
Return the arguments to the instruction. More... | |
const Use & | getRawSourceUse () const |
Use & | getRawSourceUse () |
Value * | getSource () const |
This is just like getRawSource, but it strips off any cast instructions that feed it, giving the original input. More... | |
unsigned | getSourceAddressSpace () const |
unsigned | getSourceAlignment () const |
FIXME: Remove this function once transition to Align is over. More... | |
MaybeAlign | getSourceAlign () const |
void | setSource (Value *Ptr) |
void | setSourceAlignment (unsigned Alignment) |
FIXME: Remove this function once transition to Align is over. More... | |
void | setSourceAlignment (MaybeAlign Alignment) |
void | setSourceAlignment (Align Alignment) |
Common base class for all memory transfer intrinsics.
Simply provides common methods.
Definition at line 788 of file IntrinsicInst.h.
|
inline |
Return the arguments to the instruction.
Definition at line 794 of file IntrinsicInst.h.
Referenced by canOverlap(), llvm::expandAtomicMemCpyAsLoop(), llvm::expandMemCpyAsLoop(), llvm::expandMemMoveAsLoop(), llvm::MemoryLocation::getForSource(), llvm::MemTransferBase< AnyMemIntrinsic >::getSource(), llvm::MemTransferBase< AnyMemIntrinsic >::getSourceAddressSpace(), and llvm::MemTransferBase< AnyMemIntrinsic >::setSource().
|
inline |
Definition at line 800 of file IntrinsicInst.h.
|
inline |
Definition at line 797 of file IntrinsicInst.h.
|
inline |
This is just like getRawSource, but it strips off any cast instructions that feed it, giving the original input.
The returned value is guaranteed to be a pointer.
Definition at line 805 of file IntrinsicInst.h.
Referenced by llvm::VNCoercion::analyzeLoadFromClobberingMemInst(), and llvm::VNCoercion::getMemInstValueForLoadHelper().
|
inline |
Definition at line 807 of file IntrinsicInst.h.
|
inline |
Definition at line 819 of file IntrinsicInst.h.
Referenced by llvm::expandAtomicMemCpyAsLoop(), llvm::expandMemCpyAsLoop(), and llvm::expandMemMoveAsLoop().
|
inline |
FIXME: Remove this function once transition to Align is over.
Use getSourceAlign() instead.
Definition at line 813 of file IntrinsicInst.h.
|
inline |
Definition at line 823 of file IntrinsicInst.h.
|
inline |
Definition at line 840 of file IntrinsicInst.h.
|
inline |
Definition at line 834 of file IntrinsicInst.h.
|
inline |
FIXME: Remove this function once transition to Align is over.
Use the version that takes MaybeAlign instead of this one.
Definition at line 831 of file IntrinsicInst.h.
Referenced by llvm::MemTransferBase< AnyMemIntrinsic >::setSourceAlignment().