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::MemIntrinsic Struct Reference

#include <IntrinsicInst.h>

Inheritance diagram for llvm::MemIntrinsic:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

ValuegetRawDest () const
ValuegetLength () const
ConstantIntgetAlignment () const
ValuegetDest () const
void setDest (Value *Ptr)
void setLength (Value *L)
void setAlignment (ConstantInt *A)

Static Public Member Functions

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

Detailed Description

MemIntrinsic - This is the common base class for memset/memcpy/memmove.

Definition at line 99 of file IntrinsicInst.h.


Member Function Documentation

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

Reimplemented from llvm::CallInst.

Reimplemented in llvm::MemCpyInst, llvm::MemMoveInst, and llvm::MemSetInst.

Definition at line 144 of file IntrinsicInst.h.

References classof().

static bool llvm::MemIntrinsic::classof const CallInst I  )  [inline, static]
 

Reimplemented from llvm::CallInst.

Reimplemented in llvm::MemCpyInst, llvm::MemMoveInst, and llvm::MemSetInst.

Definition at line 133 of file IntrinsicInst.h.

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

static bool llvm::MemIntrinsic::classof const MemIntrinsic  )  [inline, static]
 

Reimplemented in llvm::MemCpyInst, llvm::MemMoveInst, and llvm::MemSetInst.

Definition at line 132 of file IntrinsicInst.h.

Referenced by classof().

ConstantInt* llvm::MemIntrinsic::getAlignment  )  const [inline]
 

Definition at line 103 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by setAlignment().

Value* llvm::MemIntrinsic::getDest  )  const [inline]
 

getDest - This is just like getRawDest, 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 110 of file IntrinsicInst.h.

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

Value* llvm::MemIntrinsic::getLength  )  const [inline]
 

Definition at line 102 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by setLength().

Value* llvm::MemIntrinsic::getRawDest  )  const [inline]
 

Definition at line 100 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by getDest(), and setDest().

void llvm::MemIntrinsic::setAlignment ConstantInt A  )  [inline]
 

Definition at line 125 of file IntrinsicInst.h.

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

void llvm::MemIntrinsic::setDest Value Ptr  )  [inline]
 

set* - Set the specified arguments of the instruction.

Definition at line 114 of file IntrinsicInst.h.

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

void llvm::MemIntrinsic::setLength Value L  )  [inline]
 

Definition at line 120 of file IntrinsicInst.h.

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


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