LLVM
8.0.1
|
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 |
void | setSource (Value *Ptr) |
void | setSourceAlignment (unsigned Align) |
Common base class for all memory transfer intrinsics.
Simply provides common methods.
Definition at line 324 of file IntrinsicInst.h.
|
inline |
Return the arguments to the instruction.
Definition at line 330 of file IntrinsicInst.h.
Referenced by llvm::expandMemCpyAsLoop(), llvm::expandMemMoveAsLoop(), getComparePred(), llvm::MemoryLocation::getForSource(), getUnderlyingArgReg(), hasUndefContents(), isCallPromotable(), moveUp(), AllocaSlices::SliceBuilder::SliceBuilder(), llvm::sroa::AllocaSliceRewriter::visit(), and X86ChooseCmpImmediateOpcode().
|
inline |
Definition at line 333 of file IntrinsicInst.h.
|
inline |
Definition at line 336 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 341 of file IntrinsicInst.h.
Referenced by llvm::VNCoercion::analyzeLoadFromClobberingMemInst(), llvm::VNCoercion::getMemInstValueForLoadHelper(), hasUndefContents(), INITIALIZE_PASS(), isOnlyCopiedFromConstantGlobal(), and moveUp().
|
inline |
Definition at line 343 of file IntrinsicInst.h.
Referenced by getComparePred(), and X86ChooseCmpImmediateOpcode().
|
inline |
Definition at line 347 of file IntrinsicInst.h.
Referenced by llvm::expandMemCpyAsLoop(), llvm::expandMemMoveAsLoop(), getComparePred(), getUnderlyingArgReg(), hasUndefContents(), INITIALIZE_PASS(), isCallPromotable(), moveUp(), and llvm::sroa::AllocaSliceRewriter::visit().
|
inline |
Definition at line 351 of file IntrinsicInst.h.
Referenced by llvm::sroa::AllocaSliceRewriter::visit().
|
inline |
Definition at line 357 of file IntrinsicInst.h.
Referenced by llvm::sroa::AllocaSliceRewriter::visit().