LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::LoadInst:


Public Member Functions | |
| LoadInst (Value *Ptr, const std::string &NameStr, Instruction *InsertBefore) | |
| LoadInst (Value *Ptr, const std::string &NameStr, BasicBlock *InsertAtEnd) | |
| LoadInst (Value *Ptr, const std::string &NameStr, bool isVolatile=false, Instruction *InsertBefore=0) | |
| LoadInst (Value *Ptr, const std::string &NameStr, bool isVolatile, unsigned Align, Instruction *InsertBefore=0) | |
| LoadInst (Value *Ptr, const std::string &NameStr, bool isVolatile, BasicBlock *InsertAtEnd) | |
| LoadInst (Value *Ptr, const std::string &NameStr, bool isVolatile, unsigned Align, BasicBlock *InsertAtEnd) | |
| LoadInst (Value *Ptr, const char *NameStr, Instruction *InsertBefore) | |
| LoadInst (Value *Ptr, const char *NameStr, BasicBlock *InsertAtEnd) | |
| LoadInst (Value *Ptr, const char *NameStr=0, bool isVolatile=false, Instruction *InsertBefore=0) | |
| LoadInst (Value *Ptr, const char *NameStr, bool isVolatile, BasicBlock *InsertAtEnd) | |
| bool | isVolatile () const |
| void | setVolatile (bool V) |
| virtual LoadInst * | clone () const |
| unsigned | getAlignment () const |
| void | setAlignment (unsigned Align) |
| Value * | getPointerOperand () |
| const Value * | getPointerOperand () const |
Static Public Member Functions | |
| unsigned | getPointerOperandIndex () |
| bool | classof (const LoadInst *) |
| bool | classof (const Instruction *I) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| bool | classof (const Value *V) |
Definition at line 218 of file Instructions.h.
|
||||||||||||||||
|
Definition at line 769 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). Referenced by clone(). |
|
||||||||||||||||
|
Definition at line 778 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||||||
|
Definition at line 787 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||||||||||
|
Definition at line 797 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||||||
|
Definition at line 817 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||||||||||
|
Definition at line 807 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||
|
Definition at line 829 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||
|
Definition at line 838 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||||||
|
Definition at line 847 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
||||||||||||||||||||
|
Definition at line 857 of file Instructions.cpp. References llvm::cast(), llvm::Load, setAlignment(), llvm::Value::setName(), and setVolatile(). |
|
|
Reimplemented from llvm::UnaryInstruction. Definition at line 279 of file Instructions.h. |
|
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::UnaryInstruction. Definition at line 276 of file Instructions.h. References llvm::Instruction::getOpcode(). |
|
|
Definition at line 275 of file Instructions.h. |
|
|
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 2873 of file Instructions.cpp. References LoadInst(). |
|
|
getAlignment - Return the alignment of the access that is being performed Definition at line 264 of file Instructions.h. Referenced by llvm::SelectionDAGLowering::visitLoad(), and InstCombiner::visitLoadInst(). |
|
|
Definition at line 271 of file Instructions.h. |
|
|
Definition at line 270 of file Instructions.h. Referenced by llvm::MemoryDependenceAnalysis::getDependency(), DSE::handleEndBlock(), DSE::runOnBasicBlock(), and llvm::Interpreter::visitLoadInst(). |
|
|
Definition at line 272 of file Instructions.h. |
|
|
isVolatile - Return true if this is a load from a volatile memory location. Definition at line 252 of file Instructions.h. Referenced by llvm::AliasSetTracker::add(), AddressIsTaken(), AnalyzeGlobal(), PruningFunctionCloner::ConstantFoldMappedInstruction(), EvaluateFunction(), llvm::MemoryDependenceAnalysis::getDependency(), DSE::handleEndBlock(), InstCombineLoadCast(), llvm::isAllocaPromotable(), llvm::Instruction::isIdenticalTo(), LoopDeletion::IsLoopDead(), llvm::Instruction::isSameOperationAs(), llvm::SelectionDAGLowering::visitLoad(), InstCombiner::visitLoadInst(), and llvm::Interpreter::visitLoadInst(). |
|
|
Definition at line 867 of file Instructions.cpp. References llvm::Log2_32(). Referenced by MemCmpOpt::CallOptimizer(), LoadInst(), and InstCombiner::visitLoadInst(). |
|
|
setVolatile - Specify whether this is a volatile load or not. Definition at line 256 of file Instructions.h. Referenced by LoadInst(). |