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

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

References classof().

Definition at line 147 of file IntrinsicInst.h.

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

Definition at line 143 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by getAlignment().

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

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

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

Definition at line 158 of file IntrinsicInst.h.

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

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

Definition at line 140 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 141 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 136 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 137 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 151 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by isVolatile().

Definition at line 181 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 169 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 185 of file IntrinsicInst.h.

References llvm::CallInst::setArgOperand().


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