Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/IR/Instructions.h
Show First 20 Lines • Show All 331 Lines • ▼ Show 20 Lines | protected: | ||||
StoreInst *cloneImpl() const; | StoreInst *cloneImpl() const; | ||||
public: | public: | ||||
StoreInst(Value *Val, Value *Ptr, Instruction *InsertBefore); | StoreInst(Value *Val, Value *Ptr, Instruction *InsertBefore); | ||||
StoreInst(Value *Val, Value *Ptr, BasicBlock *InsertAtEnd); | StoreInst(Value *Val, Value *Ptr, BasicBlock *InsertAtEnd); | ||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile = false, | StoreInst(Value *Val, Value *Ptr, bool isVolatile = false, | ||||
Instruction *InsertBefore = nullptr); | Instruction *InsertBefore = nullptr); | ||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, BasicBlock *InsertAtEnd); | StoreInst(Value *Val, Value *Ptr, bool isVolatile, BasicBlock *InsertAtEnd); | ||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, | StoreInst(Value *Val, Value *Ptr, bool isVolatile, MaybeAlign Align, | ||||
unsigned Align, Instruction *InsertBefore = nullptr); | |||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, | |||||
unsigned Align, BasicBlock *InsertAtEnd); | |||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, | |||||
unsigned Align, AtomicOrdering Order, | |||||
SyncScope::ID SSID = SyncScope::System, | |||||
Instruction *InsertBefore = nullptr); | Instruction *InsertBefore = nullptr); | ||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, | StoreInst(Value *Val, Value *Ptr, bool isVolatile, MaybeAlign Align, | ||||
unsigned Align, AtomicOrdering Order, SyncScope::ID SSID, | |||||
BasicBlock *InsertAtEnd); | BasicBlock *InsertAtEnd); | ||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, MaybeAlign Align, | |||||
AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, | |||||
Instruction *InsertBefore = nullptr); | |||||
StoreInst(Value *Val, Value *Ptr, bool isVolatile, MaybeAlign Align, | |||||
AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd); | |||||
// allocate space for exactly two operands | // allocate space for exactly two operands | ||||
void *operator new(size_t s) { | void *operator new(size_t s) { | ||||
return User::operator new(s, 2); | return User::operator new(s, 2); | ||||
} | } | ||||
/// Return true if this is a store to a volatile memory location. | /// Return true if this is a store to a volatile memory location. | ||||
bool isVolatile() const { return getSubclassDataFromInstruction() & 1; } | bool isVolatile() const { return getSubclassDataFromInstruction() & 1; } | ||||
▲ Show 20 Lines • Show All 4,948 Lines • Show Last 20 Lines |