LLVM API Documentation
#include <IntrinsicInst.h>
Public Member Functions | |
Value * | getRawSource () const |
const Use & | getRawSourceUse () const |
Use & | getRawSourceUse () |
Value * | getSource () const |
unsigned | getSourceAddressSpace () const |
void | setSource (Value *Ptr) |
Static Public Member Functions | |
static bool | classof (const IntrinsicInst *I) |
static bool | classof (const Value *V) |
Methods for support type inquiry through isa, cast, and dyn_cast: |
MemTransferInst - This class wraps the llvm.memcpy/memmove intrinsics.
Definition at line 220 of file IntrinsicInst.h.
static bool llvm::MemTransferInst::classof | ( | const IntrinsicInst * | I | ) | [inline, static] |
Reimplemented from llvm::MemIntrinsic.
Reimplemented in llvm::MemMoveInst, and llvm::MemCpyInst.
Definition at line 244 of file IntrinsicInst.h.
References llvm::IntrinsicInst::getIntrinsicID(), llvm::LibFunc::memcpy, and llvm::LibFunc::memmove.
Referenced by classof().
static bool llvm::MemTransferInst::classof | ( | const Value * | V | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:
Reimplemented from llvm::MemIntrinsic.
Reimplemented in llvm::MemMoveInst, and llvm::MemCpyInst.
Definition at line 248 of file IntrinsicInst.h.
References classof().
Value* llvm::MemTransferInst::getRawSource | ( | ) | const [inline] |
get* - Return the arguments to the instruction.
Definition at line 224 of file IntrinsicInst.h.
References llvm::CallInst::getArgOperand().
Referenced by llvm::AliasAnalysis::getLocationForSource(), getSource(), getSourceAddressSpace(), and setSource().
const Use& llvm::MemTransferInst::getRawSourceUse | ( | ) | const [inline] |
Definition at line 225 of file IntrinsicInst.h.
References llvm::CallInst::getArgOperandUse().
Use& llvm::MemTransferInst::getRawSourceUse | ( | ) | [inline] |
Definition at line 226 of file IntrinsicInst.h.
References llvm::CallInst::getArgOperandUse().
Value* llvm::MemTransferInst::getSource | ( | ) | const [inline] |
getSource - 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 231 of file IntrinsicInst.h.
References getRawSource(), and llvm::Value::stripPointerCasts().
Referenced by AnalyzeLoadFromClobberingMemInst(), GetMemInstValueForLoad(), isOnlyCopiedFromConstantGlobal(), and llvm::NVPTXLowerAggrCopies::runOnFunction().
unsigned llvm::MemTransferInst::getSourceAddressSpace | ( | ) | const [inline] |
Definition at line 233 of file IntrinsicInst.h.
References getRawSource(), and llvm::Value::getType().
void llvm::MemTransferInst::setSource | ( | Value * | Ptr | ) | [inline] |
Definition at line 237 of file IntrinsicInst.h.
References getRawSource(), llvm::Value::getType(), and llvm::CallInst::setArgOperand().