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

Method CreateAlignedLoad

IDEHelper/Backend/BeModule.cpp:3436–3445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3434}
3435
3436BeLoadInst* BeModule::CreateAlignedLoad(BeValue* value, int alignment, bool isVolatile)
3437{
3438 BF_ASSERT(value->GetType()->IsPointer());
3439
3440 auto inst = mAlloc.Alloc<BeLoadInst>();
3441 inst->mTarget = value;
3442 inst->mIsVolatile = isVolatile;
3443 AddInst(inst);
3444 return inst;
3445}
3446
3447BeStoreInst* BeModule::CreateStore(BeValue* val, BeValue* ptr, bool isVolatile)
3448{

Callers 1

HandleNextCmdMethod · 0.45

Calls 2

IsPointerMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected