LLVM API Documentation

llvm::IntrinsicInst Class Reference

#include <IntrinsicInst.h>

Inheritance diagram for llvm::IntrinsicInst:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

Intrinsic::ID getIntrinsicID () const

Static Public Member Functions

static ValueStripPointerCasts (Value *Ptr)
static bool classof (const IntrinsicInst *)
static bool classof (const CallInst *I)
static bool classof (const Value *V)

Detailed Description

IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic functions. This allows the standard isa/dyncast/cast functionality to work with calls to intrinsic functions.

Definition at line 37 of file IntrinsicInst.h.


Member Function Documentation

Value * IntrinsicInst::StripPointerCasts ( Value Ptr  )  [static]

StripPointerCasts - This static method strips off any unneeded pointer casts from the specified value, returning the original uncasted value. Note that the returned value is guaranteed to have pointer type.

Definition at line 227 of file Function.cpp.

References llvm::Instruction::Cast.

Referenced by llvm::MemIntrinsic::getDest(), llvm::MemMoveInst::getSource(), and llvm::MemCpyInst::getSource().

Intrinsic::ID llvm::IntrinsicInst::getIntrinsicID (  )  const [inline]

getIntrinsicID - Return the intrinsic ID of this intrinsic.

Definition at line 50 of file IntrinsicInst.h.

References llvm::CallInst::getCalledFunction(), and llvm::Function::getIntrinsicID().

Referenced by llvm::MemSetInst::classof(), llvm::MemMoveInst::classof(), llvm::MemCpyInst::classof(), llvm::MemIntrinsic::classof(), llvm::DbgDeclareInst::classof(), llvm::DbgRegionEndInst::classof(), llvm::DbgRegionStartInst::classof(), llvm::DbgFuncStartInst::classof(), llvm::DbgStopPointInst::classof(), and llvm::DbgInfoIntrinsic::classof().

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

Reimplemented in llvm::DbgInfoIntrinsic, llvm::DbgStopPointInst, llvm::DbgFuncStartInst, llvm::DbgRegionStartInst, llvm::DbgRegionEndInst, llvm::DbgDeclareInst, llvm::MemIntrinsic, llvm::MemCpyInst, llvm::MemMoveInst, and llvm::MemSetInst.

Definition at line 55 of file IntrinsicInst.h.

Referenced by classof().

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

Reimplemented from llvm::CallInst.

Definition at line 56 of file IntrinsicInst.h.

References llvm::CallInst::getCalledFunction().

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

Reimplemented from llvm::CallInst.

Reimplemented in llvm::DbgInfoIntrinsic, llvm::DbgStopPointInst, llvm::DbgFuncStartInst, llvm::DbgRegionStartInst, llvm::DbgRegionEndInst, llvm::DbgDeclareInst, llvm::MemIntrinsic, llvm::MemCpyInst, llvm::MemMoveInst, and llvm::MemSetInst.

Definition at line 61 of file IntrinsicInst.h.

References classof(), and V.


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