|
LLVM
10.0.0
|
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 389 of file IntrinsicInst.h.
|
inline |
Return the arguments to the instruction.
Definition at line 395 of file IntrinsicInst.h.
Referenced by llvm::expandMemCpyAsLoop(), llvm::expandMemMoveAsLoop(), FixedPointIntrinsicToOpcode(), getComparePred(), llvm::MemoryLocation::getForSource(), hasUndefContents(), isCallPromotable(), moveUp(), AllocaSlices::SliceBuilder::SliceBuilder(), and llvm::sroa::AllocaSliceRewriter::visit().
|
inline |
Definition at line 398 of file IntrinsicInst.h.
|
inline |
Definition at line 401 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 406 of file IntrinsicInst.h.
Referenced by llvm::VNCoercion::getMemInstValueForLoadHelper(), hasUndefContents(), INITIALIZE_PASS(), isOnlyCopiedFromConstantGlobal(), and moveUp().
|
inline |
Definition at line 408 of file IntrinsicInst.h.
Referenced by getComparePred(), llvm::ARMTTIImpl::getMemcpyCost(), and AllocaSlices::SliceBuilder::SliceBuilder().
|
inline |
Definition at line 418 of file IntrinsicInst.h.
Referenced by isCallPromotable(), and moveUp().
|
inline |
FIXME: Remove this function once transition to Align is over.
Use getSourceAlign() instead.
Definition at line 414 of file IntrinsicInst.h.
Referenced by llvm::expandMemCpyAsLoop(), llvm::expandMemMoveAsLoop(), FixedPointIntrinsicToOpcode(), getComparePred(), llvm::ARMTTIImpl::getMemcpyCost(), hasUndefContents(), INITIALIZE_PASS(), and llvm::sroa::AllocaSliceRewriter::visit().
|
inline |
Definition at line 422 of file IntrinsicInst.h.
Referenced by llvm::sroa::AllocaSliceRewriter::visit().
|
inline |
FIXME: Remove this function once transition to Align is over.
Use the version that takes MaybeAlign instead of this one.
Definition at line 430 of file IntrinsicInst.h.
Referenced by llvm::sroa::AllocaSliceRewriter::visit().
|
inline |
Definition at line 433 of file IntrinsicInst.h.
|
inline |
Definition at line 439 of file IntrinsicInst.h.
1.8.13