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 222 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 246 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 250 of file IntrinsicInst.h.

References classof().

get* - Return the arguments to the instruction.

Definition at line 226 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperand().

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

Definition at line 227 of file IntrinsicInst.h.

References llvm::CallInst::getArgOperandUse().

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

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

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

Definition at line 235 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: