MCPcopy Create free account
hub / github.com/beefytech/Beef / CreateStore

Method CreateStore

IDEHelper/Backend/BeModule.cpp:3447–3457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3445}
3446
3447BeStoreInst* BeModule::CreateStore(BeValue* val, BeValue* ptr, bool isVolatile)
3448{
3449 BF_ASSERT(ptr->GetType()->IsPointer());
3450
3451 auto inst = mAlloc.Alloc<BeStoreInst>();
3452 inst->mVal = val;
3453 inst->mPtr = ptr;
3454 inst->mIsVolatile = isVolatile;
3455 AddInst(inst);
3456 return inst;
3457}
3458
3459BeStoreInst* BeModule::CreateAlignedStore(BeValue* val, BeValue* ptr, int alignment, bool isVolatile)
3460{

Callers 1

HandleNextCmdMethod · 0.45

Calls 2

IsPointerMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected