Create a store instruction.
Declared in <llvm/IR/IRBuilder.h>
Create a store instruction.
StoreInst*
CreateStore(
Value* Val,
Value* Ptr,
bool isVolatile = false);
» more...
Create a store instruction.
StoreInst*
CreateStore(
Value* Val,
Value* Ptr,
LoadStoreInstProperties const& Props);
» more...
The created store instruction.
| Name | Description |
|---|---|
| Val | Stored or broadcast value. |
| Ptr | Pointer operand. |
| isVolatile | Whether the memory intrinsic is volatile. |
| Props | Load/store properties (volatile, align, ordering, etc.). |