LLVM  mainline
Public Member Functions | Static Public Member Functions
llvm::MemIntrinsic Class 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
const UsegetRawDestUse () const
UsegetRawDestUse ()
ValuegetLength () const
const UsegetLengthUse () const
UsegetLengthUse ()
ConstantIntgetAlignmentCst () const
unsigned getAlignment () const
ConstantIntgetVolatileCst () const
bool isVolatile () const
unsigned getDestAddressSpace () const
ValuegetDest () const
void setDest (Value *Ptr)
void setLength (Value *L)
void setAlignment (Constant *A)
void setVolatile (Constant *V)
TypegetAlignmentType () const

Static Public Member Functions

static bool classof (const IntrinsicInst *I)
static bool classof (const Value *V)
 Methods for support type inquiry through isa, cast, and dyn_cast:

Detailed Description

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

Definition at line 143 of file IntrinsicInst.h.


Member Function Documentation

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

Methods for support type inquiry through isa, cast, and dyn_cast:

Reimplemented from llvm::IntrinsicInst.

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

Definition at line 213 of file IntrinsicInst.h.

References classof().

Definition at line 157 of file IntrinsicInst.h.

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

Definition at line 153 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by getAlignment().

Definition at line 199 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand(), and llvm::Value::getType().

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

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

Referenced by AnalyzeLoadFromClobberingMemInst().

Definition at line 168 of file IntrinsicInst.h.

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

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

Definition at line 150 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 151 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 146 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 147 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 161 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by isVolatile().

Definition at line 191 of file IntrinsicInst.h.

References llvm::CallInst::setArgOperand().

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

set* - Set the specified arguments of the instruction.

Definition at line 179 of file IntrinsicInst.h.

References getRawDest(), llvm::Value::getType(), and llvm::CallInst::setArgOperand().

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

Definition at line 195 of file IntrinsicInst.h.

References llvm::CallInst::setArgOperand().


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