| 3391 | } |
| 3392 | |
| 3393 | BeCmpInst* BeModule::CreateCmp(BeCmpKind cmpKind, BeValue* lhs, BeValue* rhs) |
| 3394 | { |
| 3395 | auto inst = mAlloc.Alloc<BeCmpInst>(); |
| 3396 | inst->mCmpKind = cmpKind; |
| 3397 | inst->mLHS = lhs; |
| 3398 | inst->mRHS = rhs; |
| 3399 | AddInst(inst); |
| 3400 | return inst; |
| 3401 | } |
| 3402 | |
| 3403 | BeBinaryOpInst* BeModule::CreateBinaryOp(BeBinaryOpKind opKind, BeValue* lhs, BeValue* rhs, BfOverflowCheckKind overflowCheckKind) |
| 3404 | { |