| 2821 | } |
| 2822 | |
| 2823 | virtual ir::Value* binaryOp(lir::TernaryOperation op, |
| 2824 | ir::Type type, |
| 2825 | ir::Value* a, |
| 2826 | ir::Value* b) |
| 2827 | { |
| 2828 | assertT(&c, |
| 2829 | (isGeneralBinaryOp(op) and isGeneralValue(a) and isGeneralValue(b)) |
| 2830 | or (isFloatBinaryOp(op) and isFloatValue(a) and isFloatValue(b))); |
| 2831 | |
| 2832 | Value* result = value(&c, type); |
| 2833 | |
| 2834 | appendCombine( |
| 2835 | &c, op, static_cast<Value*>(a), static_cast<Value*>(b), result); |
| 2836 | return result; |
| 2837 | } |
| 2838 | |
| 2839 | virtual ir::Value* unaryOp(lir::BinaryOperation op, ir::Value* a) |
| 2840 | { |
no test coverage detected