LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::LoadInst:
Public Member Functions | |
LoadInst (Value *Ptr, const std::string &Name, Instruction *InsertBefore) | |
LoadInst (Value *Ptr, const std::string &Name, BasicBlock *InsertAtEnd) | |
LoadInst (Value *Ptr, const std::string &Name="", bool isVolatile=false, Instruction *InsertBefore=0) | |
LoadInst (Value *Ptr, const std::string &Name, bool isVolatile, BasicBlock *InsertAtEnd) | |
bool | isVolatile () const |
void | setVolatile (bool V) |
virtual LoadInst * | clone () const |
virtual bool | mayWriteToMemory () const |
Value * | getPointerOperand () |
const Value * | getPointerOperand () const |
Static Public Member Functions | |
static unsigned | getPointerOperandIndex () |
static bool | classof (const LoadInst *) |
static bool | classof (const Instruction *I) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const Value *V) |
Definition at line 174 of file Instructions.h.
|
Definition at line 352 of file Instructions.cpp. References llvm::cl::init(). |
|
Definition at line 358 of file Instructions.cpp. References llvm::cl::init(). |
|
Definition at line 364 of file Instructions.cpp. References llvm::cl::init(). |
|
Definition at line 371 of file Instructions.cpp. References llvm::cl::init(). |
|
Reimplemented from llvm::Instruction. Definition at line 211 of file Instructions.h. References classof(). |
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::Instruction. Definition at line 208 of file Instructions.h. References llvm::Instruction::getOpcode(), and llvm::Instruction::Load. |
|
Definition at line 207 of file Instructions.h. Referenced by classof(). |
|
clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name Implements llvm::Instruction. Definition at line 808 of file Instructions.cpp. |
|
Definition at line 203 of file Instructions.h. References llvm::User::getOperand(). |
|
Definition at line 202 of file Instructions.h. References llvm::User::getOperand(). Referenced by llvm::ConvertExpressionToType(), llvm::ExpressionConvertibleToType(), llvm::ModRefInfoBuilder::visitLoadInst(), and llvm::Interpreter::visitLoadInst(). |
|
Definition at line 204 of file Instructions.h. References U. |
|
isVolatile - Return true if this is a load from a volatile memory location. Definition at line 192 of file Instructions.h. Referenced by llvm::AliasSetTracker::add(), InstCombineLoadCast(), isSafeToFoldLoadIntoInstruction(), and mayWriteToMemory(). |
|
mayWriteToMemory - Return true if this instruction may modify memory. Reimplemented from llvm::Instruction. Definition at line 200 of file Instructions.h. References isVolatile(). |
|
setVolatile - Specify whether this is a volatile load or not. Definition at line 196 of file Instructions.h. |