LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

Value * getRawSource () const
Value * getSource () const
void setSource (Value *Ptr)

Static Public Member Functions

static bool classof (const MemCpyInst *)
static bool classof (const MemIntrinsic *I)
static bool classof (const CallInst *I)
static bool classof (const Value *V)

Detailed Description

MemCpyInst - This class wraps the llvm.memcpy intrinsic.

Definition at line 152 of file IntrinsicInst.h.


Member Function Documentation

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

Reimplemented from llvm::MemIntrinsic.

Definition at line 180 of file IntrinsicInst.h.

References classof().

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

Reimplemented from llvm::MemIntrinsic.

Definition at line 174 of file IntrinsicInst.h.

References llvm::CallInst::getCalledFunction(), and llvm::Intrinsic::memcpy.

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

Reimplemented from llvm::MemIntrinsic.

Definition at line 171 of file IntrinsicInst.h.

References llvm::CallInst::getCalledFunction(), llvm::Function::getIntrinsicID(), and llvm::Intrinsic::memcpy.

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

Definition at line 170 of file IntrinsicInst.h.

Referenced by classof().

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

get* - Return the arguments to the instruction.

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

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

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

Definition at line 163 of file IntrinsicInst.h.

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


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