LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::MemTransferInst Class Reference

#include <IntrinsicInst.h>

Inheritance diagram for llvm::MemTransferInst:
Inheritance graph
[legend]
Collaboration diagram for llvm::MemTransferInst:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ValuegetRawSource () const
const UsegetRawSourceUse () const
UsegetRawSourceUse ()
ValuegetSource () const
unsigned getSourceAddressSpace () const
void setSource (Value *Ptr)

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

MemTransferInst - This class wraps the llvm.memcpy/memmove intrinsics.

Definition at line 220 of file IntrinsicInst.h.


Member Function Documentation

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

Reimplemented from llvm::MemIntrinsic.

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

Definition at line 244 of file IntrinsicInst.h.

References llvm::IntrinsicInst::getIntrinsicID(), llvm::LibFunc::memcpy, and llvm::LibFunc::memmove.

Referenced by classof().

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

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

Reimplemented from llvm::MemIntrinsic.

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

Definition at line 248 of file IntrinsicInst.h.

References classof().

get* - Return the arguments to the instruction.

Definition at line 224 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

Referenced by llvm::AliasAnalysis::getLocationForSource(), getSource(), getSourceAddressSpace(), and setSource().

Definition at line 225 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

Definition at line 226 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

getSource - This is just like getRawSource, 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 231 of file IntrinsicInst.h.

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

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

Definition at line 233 of file IntrinsicInst.h.

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

void llvm::MemTransferInst::setSource ( Value Ptr) [inline]

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