llvm::IRBuilderBase::CreateStore

Create a store instruction.

Synopses

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...

Return Value

The created store instruction.

Parameters

NameDescription
ValStored or broadcast value.
PtrPointer operand.
isVolatileWhether the memory intrinsic is volatile.
PropsLoad/store properties (volatile, align, ordering, etc.).