LLVM API Documentation
#include <IntrinsicInst.h>
Inheritance diagram for llvm::MemCpyInst:
Public Member Functions | |
Value * | getRawSource () const |
Value * | getSource () const |
void | setSource (Value *Ptr) |
Static Public Member Functions | |
static bool | classof (const MemCpyInst *) |
static bool | classof (const IntrinsicInst *I) |
static bool | classof (const Value *V) |
Definition at line 235 of file IntrinsicInst.h.
static bool llvm::MemCpyInst::classof | ( | const Value * | V | ) | [inline, static] |
static bool llvm::MemCpyInst::classof | ( | const IntrinsicInst * | I | ) | [inline, static] |
Reimplemented from llvm::MemIntrinsic.
Definition at line 254 of file IntrinsicInst.h.
References llvm::IntrinsicInst::getIntrinsicID(), llvm::Intrinsic::memcpy_i32, and llvm::Intrinsic::memcpy_i64.
static bool llvm::MemCpyInst::classof | ( | const MemCpyInst * | ) | [inline, static] |
Value* llvm::MemCpyInst::getRawSource | ( | ) | const [inline] |
get* - Return the arguments to the instruction.
Definition at line 238 of file IntrinsicInst.h.
References llvm::User::getOperand().
Referenced by getSource(), and setSource().
Value* llvm::MemCpyInst::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 243 of file IntrinsicInst.h.
References getRawSource(), and llvm::IntrinsicInst::StripPointerCasts().
void llvm::MemCpyInst::setSource | ( | Value * | Ptr | ) | [inline] |
Definition at line 246 of file IntrinsicInst.h.
References getRawSource(), llvm::Value::getType(), and llvm::User::setOperand().