LLVM API Documentation

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

Value * getRawDest () const
const Use & getRawDestUse () const
Use & getRawDestUse ()
Value * getLength () const
const Use & getLengthUse () const
Use & getLengthUse ()
ConstantInt * getAlignmentCst () const
unsigned getAlignment () const
ConstantInt * getVolatileCst () const
bool isVolatile () const
unsigned getDestAddressSpace () const
Value * getDest () const
void setDest (Value *Ptr)
void setLength (Value *L)
void setAlignment (Constant *A)
void setVolatile (Constant *V)
Type * getAlignmentType () 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 118 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 188 of file IntrinsicInst.h.

References classof().

Definition at line 132 of file IntrinsicInst.h.

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

Definition at line 128 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by getAlignment().

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

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

Referenced by AnalyzeLoadFromClobberingMemInst(), and llvm::NVPTXLowerAggrCopies::runOnFunction().

Definition at line 143 of file IntrinsicInst.h.

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

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

Definition at line 125 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 126 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 121 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 122 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 136 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by isVolatile().

Definition at line 166 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 154 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 170 of file IntrinsicInst.h.

References llvm::CallInst::setArgOperand().


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