Searched refs:kCountArguments (Results 1 – 2 of 2) sorted by relevance
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/ |
D | common_x86.h | 365 static constexpr std::size_t kCountArguments = ((Predicate<ArgumentTypes>::value ? 1 : 0) + ... + variable 526 constexpr auto conditions_count = kCountArguments<IsCondition, ArgumentsTypes...>; in EmitInstruction() 527 constexpr auto operands_count = kCountArguments<IsMemoryOperand, ArgumentsTypes...>; in EmitInstruction() 528 constexpr auto labels_count = kCountArguments<IsLabelOperand, ArgumentsTypes...>; in EmitInstruction() 529 constexpr auto registers_count = kCountArguments<IsRegister, ArgumentsTypes...>; in EmitInstruction() 537 kCountArguments<IsImmediate, ArgumentsTypes...>) == sizeof...(ArgumentsTypes), in EmitInstruction() 635 if constexpr (kCountArguments<IsImmediate, ArgumentsTypes...> == 1) { in EmitInstruction() 639 static_assert(kCountArguments<IsImmediate, ArgumentsTypes...> == 0); in EmitInstruction()
|
D | x86_32.h | 240 constexpr auto registers_count = kCountArguments<IsRegister, ArgumentsTypes...>; in EmitVex() 241 constexpr auto operands_count = kCountArguments<IsMemoryOperand, ArgumentsTypes...>; in EmitVex() 242 constexpr auto labels_count = kCountArguments<IsLabelOperand, ArgumentsTypes...>; in EmitVex()
|