| 3457 | } |
| 3458 | |
| 3459 | BeStoreInst* 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 | |
| 3471 | BeGEPInst* BeModule::CreateGEP(BeValue* ptr, BeValue* idx0, BeValue* idx1) |
| 3472 | { |
no test coverage detected