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

Method CreateAlignedStore

IDEHelper/Backend/BeModule.cpp:3459–3469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3457}
3458
3459BeStoreInst* BeModule::CreateAlignedStore(BeValue* val, BeValue* ptr, int alignment, bool isVolatile)
3460{
3461 BF_ASSERT(ptr->GetType()->IsPointer());
3462
3463 auto inst = mAlloc.Alloc<BeStoreInst>();
3464 inst->mVal = val;
3465 inst->mPtr = ptr;
3466 inst->mIsVolatile = isVolatile;
3467 AddInst(inst);
3468 return inst;
3469}
3470
3471BeGEPInst* BeModule::CreateGEP(BeValue* ptr, BeValue* idx0, BeValue* idx1)
3472{

Callers 1

HandleNextCmdMethod · 0.45

Calls 2

IsPointerMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected