dynarmic/src/frontend/ir
Lioncash 4a3c064b15 ir/value: Add an IsZero() member function to Value's interface
By far, one of the most common things to check for is whether or not a
value is zero, as it typically allows folding away unnecesary
operations (other close contenders that can help with eliding operations  are 1 and -1).

So instead of requiring a check for an immediate and then actually
retrieving the integral value and checking it, we can wrap it within a
function to make it more convenient.
2020-04-22 20:57:37 +01:00
..
basic_block.cpp ir/basic_block: Add missing U16 immediate type to DumpBlock 2020-04-22 20:46:18 +01:00
basic_block.h basic_block: Fix bogus GCC maybe-uninitialized warning 2020-04-22 20:46:13 +01:00
cond.h ir/cond: Migrate to C++17 nested namespace specifiers 2020-04-22 20:55:05 +01:00
ir_emitter.cpp Fix VShift terminology 2020-04-22 20:55:50 +01:00
ir_emitter.h Fix VShift terminology 2020-04-22 20:55:50 +01:00
location_descriptor.cpp General: Convert multiple namespace specifiers to nested namespace specifiers where applicable 2020-04-22 20:44:38 +01:00
location_descriptor.h General: Convert multiple namespace specifiers to nested namespace specifiers where applicable 2020-04-22 20:44:38 +01:00
microinstruction.cpp ir: Add opcodes for unsigned saturating left shifts 2020-04-22 20:55:06 +01:00
microinstruction.h IR: Implement Vector{Signed,Unsigned}Multiply{16,32} 2020-04-22 20:55:06 +01:00
opcodes.cpp IR: Add VectorTable and VectorTableLookup IR instructions 2020-04-22 20:53:45 +01:00
opcodes.h Forward declare IR::Opcode and IR::Type where possible 2020-04-22 20:46:14 +01:00
opcodes.inc Fix VShift terminology 2020-04-22 20:55:50 +01:00
terminal.h ir/terminal: Add FastDispatchHint 2020-04-22 20:53:46 +01:00
type.cpp IR: Add VectorTable and VectorTableLookup IR instructions 2020-04-22 20:53:45 +01:00
type.h IR: Add VectorTable and VectorTableLookup IR instructions 2020-04-22 20:53:45 +01:00
value.cpp ir/value: Add an IsZero() member function to Value's interface 2020-04-22 20:57:37 +01:00
value.h ir/value: Add an IsZero() member function to Value's interface 2020-04-22 20:57:37 +01:00