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 * getAlignmentCst () const
unsigned getAlignment () const
Value * getDest () const
void setDest (Value *Ptr)
void setLength (Value *L)
void setAlignment (Constant *A)
const Type * getAlignmentType () const

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::getAlignmentCst (  )  const [inline]

Definition at line 179 of file IntrinsicInst.h.

References llvm::User::getOperand().

Referenced by getAlignment().

unsigned llvm::MemIntrinsic::getAlignment (  )  const [inline]

Definition at line 183 of file IntrinsicInst.h.

References getAlignmentCst(), and llvm::ConstantInt::getZExtValue().

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

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

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

Definition at line 200 of file IntrinsicInst.h.

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

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

Definition at line 206 of file IntrinsicInst.h.

References llvm::User::setOperand().

const Type* llvm::MemIntrinsic::getAlignmentType (  )  const [inline]

Definition at line 210 of file IntrinsicInst.h.

References llvm::User::getOperand(), and llvm::Value::getType().

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]

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

Reimplemented from llvm::IntrinsicInst.

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

Definition at line 225 of file IntrinsicInst.h.

References classof().


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