LLVM API Documentation

llvm::MemCpyInst Struct Reference

#include <IntrinsicInst.h>

Inheritance diagram for llvm::MemCpyInst:

Inheritance graph
[legend]
Collaboration diagram for llvm::MemCpyInst:

Collaboration graph
[legend]
List of all members.

Public Member Functions

ValuegetRawSource () const
ValuegetSource () 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)

Detailed Description

MemCpyInst - This class wraps the llvm.memcpy intrinsic.

Definition at line 236 of file IntrinsicInst.h.


Member Function Documentation

Value* llvm::MemCpyInst::getRawSource (  )  const [inline]

get* - Return the arguments to the instruction.

Definition at line 239 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 244 of file IntrinsicInst.h.

References getRawSource(), and llvm::IntrinsicInst::StripPointerCasts().

void llvm::MemCpyInst::setSource ( Value Ptr  )  [inline]

Definition at line 247 of file IntrinsicInst.h.

References getRawSource(), llvm::Value::getType(), and llvm::User::setOperand().

static bool llvm::MemCpyInst::classof ( const MemCpyInst  )  [inline, static]

Definition at line 254 of file IntrinsicInst.h.

Referenced by classof().

static bool llvm::MemCpyInst::classof ( const IntrinsicInst I  )  [inline, static]

Reimplemented from llvm::MemIntrinsic.

Definition at line 255 of file IntrinsicInst.h.

References llvm::IntrinsicInst::getIntrinsicID(), llvm::Intrinsic::memcpy_i32, and llvm::Intrinsic::memcpy_i64.

static bool llvm::MemCpyInst::classof ( const Value V  )  [inline, static]

Reimplemented from llvm::MemIntrinsic.

Definition at line 259 of file IntrinsicInst.h.

References classof(), and V.


The documentation for this struct was generated from the following file: