LLVM API Documentation

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 IntrinsicInst *I)
static bool classof (const Value *V)

Detailed Description

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

Definition at line 182 of file IntrinsicInst.h.


Member Function Documentation

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

Definition at line 183 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by getDest(), and setDest().

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

Definition at line 185 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by setLength().

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

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

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

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

set* - Set the specified arguments of the instruction.

Definition at line 197 of file IntrinsicInst.h.

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

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

Definition at line 203 of file IntrinsicInst.h.

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

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

Definition at line 208 of file IntrinsicInst.h.

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

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

Definition at line 215 of file IntrinsicInst.h.

Referenced by classof().

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

Reimplemented from llvm::IntrinsicInst.

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

Definition at line 216 of file IntrinsicInst.h.

References llvm::IntrinsicInst::getIntrinsicID(), llvm::Intrinsic::memcpy_i32, llvm::Intrinsic::memcpy_i64, llvm::Intrinsic::memmove_i32, llvm::Intrinsic::memmove_i64, llvm::Intrinsic::memset_i32, and llvm::Intrinsic::memset_i64.

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

Reimplemented from llvm::IntrinsicInst.

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

Definition at line 228 of file IntrinsicInst.h.

References classof(), and V.


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