mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-03-25 14:43:00 +00:00
Add OpArithmetic
This commit is contained in:
@@ -262,6 +262,11 @@ class Module {
|
||||
/// The least-significant bits will be zero filled.
|
||||
Id OpShiftLeftLogical(Id result_type, Id base, Id shift);
|
||||
|
||||
// Arithmetic
|
||||
|
||||
/// Unsigned-integer division of Operand 1 divided by Operand 2.
|
||||
Id OpUDiv(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
private:
|
||||
Id AddCode(std::unique_ptr<Op> op);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user