LLVM API Documentation

llvm::MemIntrinsic Struct Reference

#include <IntrinsicInst.h>

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

List of all members.

Public Member Functions

Value * getRawDest () const
Value * getLength () const
ConstantInt * getAlignment () const
Value * getDest () 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 175 of file IntrinsicInst.h.


Member Function Documentation

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

Definition at line 176 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by getDest(), and setDest().

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

Definition at line 178 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by setLength().

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

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

References getRawDest(), and llvm::Value::stripPointerCasts().

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

set* - Set the specified arguments of the instruction.

Definition at line 190 of file IntrinsicInst.h.

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

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

Definition at line 196 of file IntrinsicInst.h.

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

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

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

Definition at line 208 of file IntrinsicInst.h.

Referenced by classof().

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

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 218 of file IntrinsicInst.h.

References classof().


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