| 3434 | } |
| 3435 | |
| 3436 | BeLoadInst* 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 | |
| 3447 | BeStoreInst* BeModule::CreateStore(BeValue* val, BeValue* ptr, bool isVolatile) |
| 3448 | { |
no test coverage detected