/frameworks/libs/binary_translation/calling_conventions/include/berberis/calling_conventions/ |
D | calling_conventions_x86_64.h | 34 struct ArgLocation { struct 44 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 52 ArgLocation loc{kArgLocationInt, int_offset_}; in GetNextIntArgLoc() 60 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() 68 ArgLocation loc{kArgLocationSimd, simd_offset_}; in GetNextFpArgLoc() 76 constexpr ArgLocation GetIntResLoc(unsigned size) { in GetIntResLoc() 83 constexpr ArgLocation GetFpResLoc(unsigned size) { in GetFpResLoc() 93 constexpr ArgLocation GetNextStackArgLoc(unsigned size, unsigned /*alignment*/) { in GetNextStackArgLoc() 101 ArgLocation loc{kArgLocationStack, aligned_stack_offset}; in GetNextStackArgLoc()
|
D | calling_conventions_riscv64.h | 37 struct ArgLocation { struct 53 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 60 ArgLocation loc{kArgLocationInt, int_offset_}; in GetNextIntArgLoc() 68 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() 75 ArgLocation loc{kArgLocationFp, fp_offset_}; in GetNextFpArgLoc() 85 constexpr ArgLocation GetIntResLoc(unsigned size) { in GetIntResLoc() 93 constexpr ArgLocation GetFpResLoc(unsigned size) { in GetFpResLoc() 102 constexpr ArgLocation GetNextStackArgLoc(unsigned size, unsigned alignment) { in GetNextStackArgLoc() 114 ArgLocation loc{kArgLocationStack, aligned_stack_offset}; in GetNextStackArgLoc()
|
D | calling_conventions_arm64.h | 32 struct ArgLocation { struct 47 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 58 ArgLocation loc{kArgLocationInt, aligned_int_offset}; in GetNextIntArgLoc() 70 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() 77 ArgLocation loc{kArgLocationSimd, simd_offset_}; in GetNextFpArgLoc() 85 constexpr ArgLocation GetIntResLoc(unsigned size) { in GetIntResLoc() 93 constexpr ArgLocation GetFpResLoc(unsigned size) { in GetFpResLoc() 102 constexpr ArgLocation GetNextStackArgLoc(unsigned size, unsigned alignment) { in GetNextStackArgLoc() 108 ArgLocation loc{kArgLocationStack, aligned_stack_offset}; in GetNextStackArgLoc()
|
D | calling_conventions_x86_32.h | 32 struct ArgLocation { struct 42 constexpr ArgLocation GetNextArgLoc(unsigned size, unsigned alignment) { in GetNextArgLoc() argument 50 ArgLocation loc{kArgLocationStack, aligned_stack_offset}; in GetNextArgLoc() 55 constexpr ArgLocation GetIntResLoc(unsigned size) { in GetIntResLoc() 62 constexpr ArgLocation GetFpResLoc(unsigned size) { in GetFpResLoc()
|
D | calling_conventions_arm.h | 33 struct ArgLocation { struct 60 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() 102 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() 126 constexpr ArgLocation GetIntResLoc(unsigned size) { in GetIntResLoc() 134 constexpr ArgLocation GetFpResLoc(unsigned size) { in GetFpResLoc()
|
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/ |
D | guest_arguments_arch.h | 94 auto& Reference(riscv64::ArgLocation loc) const { in Reference() 102 constexpr static const std::tuple<riscv64::ArgLocation, 103 std::array<riscv64::ArgLocation, sizeof...(ArgumentType)>> 118 riscv64::ArgLocation result_loc = ResultInfoHelper(conv); in ArgumentsInfoHelper() 119 std::array<riscv64::ArgLocation, sizeof...(ArgumentType)> arg_locs{}; in ArgumentsInfoHelper() 136 constexpr static riscv64::ArgLocation ResultInfoHelper(riscv64::CallingConventions& conv) { in ResultInfoHelper() 154 constexpr void* ArgLocationAddress(riscv64::ArgLocation loc) const { in ArgLocationAddress() 166 constexpr static riscv64::ArgLocation kResultLocation = std::get<0>(ArgumentsInfoHelper()); 168 constexpr static std::array<riscv64::ArgLocation, sizeof...(ArgumentType)> kArgumentsLocations =
|
D | guest_params_arch.h | 42 riscv64::ArgLocation loc) { in ParamLocationAddress() 103 riscv64::ArgLocation, 104 std::array<riscv64::ArgLocation, sizeof...(ParamType)>> 118 riscv64::ArgLocation return_loc = ReturnInfoHelper(conv); in ParamsInfoHelper() 119 std::array<riscv64::ArgLocation, sizeof...(ParamType)> param_locs{}; in ParamsInfoHelper() 136 constexpr static riscv64::ArgLocation ReturnInfoHelper() { in ReturnInfoHelper() 141 constexpr static riscv64::ArgLocation ReturnInfoHelper(riscv64::CallingConventions& conv) { in ReturnInfoHelper() 161 constexpr static riscv64::ArgLocation kReturnLocation = ReturnInfoHelper(); 163 constexpr static std::array<riscv64::ArgLocation, sizeof...(ParamType)> kParamsLocations =
|
/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/ |
D | guest_arguments_arch.h | 106 constexpr static const std::array<arm64::ArgLocation, sizeof...(ArgumentType)> 117 std::array<arm64::ArgLocation, sizeof...(ArgumentType)> result{}; in ArgumentsInfoHelper() 134 constexpr static arm64::ArgLocation ResultInfoHelper() { in ResultInfoHelper() 148 constexpr void* ArgLocationAddress(arm64::ArgLocation loc) const { in ArgLocationAddress() 160 constexpr static arm64::ArgLocation kResultLocation = ResultInfoHelper(); 162 constexpr static std::array<arm64::ArgLocation, sizeof...(ArgumentType)> kArgumentsLocations =
|
D | guest_params_arch.h | 43 arm64::ArgLocation loc) { in ParamLocationAddress() 98 std::array<arm64::ArgLocation, sizeof...(ParamType)>> 109 std::array<arm64::ArgLocation, sizeof...(ParamType)> result{}; in ParamsInfoHelper() 126 constexpr static arm64::ArgLocation ResultInfoHelper() { in ResultInfoHelper() 148 constexpr static std::array<arm64::ArgLocation, sizeof...(ParamType)> kParamsLocations = 151 constexpr static arm64::ArgLocation kReturnLocation = ResultInfoHelper();
|
/frameworks/libs/binary_translation/calling_conventions/ |
D | calling_conventions_arm_test.cc | 27 ArgLocation loc; in TEST() 48 ArgLocation loc; in TEST() 65 ArgLocation loc; in TEST() 75 ArgLocation loc; in TEST() 112 ArgLocation loc; in TEST()
|
D | calling_conventions_arm64_test.cc | 27 ArgLocation loc; in TEST() 68 ArgLocation loc; in TEST()
|
D | calling_conventions_x86_64_test.cc | 27 ArgLocation loc; in TEST() 100 ArgLocation loc; in TEST()
|
D | calling_conventions_riscv64_test.cc | 27 ArgLocation loc; in TEST() 100 ArgLocation loc; in TEST()
|
D | calling_conventions_x86_32_test.cc | 27 ArgLocation loc; in TEST()
|
/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/ |
D | guest_arguments_arch.h | 110 constexpr static const std::array<arm::ArgLocation, sizeof...(ArgumentType)> 136 std::array<arm::ArgLocation, sizeof...(ArgumentType)> result{}; in ArgumentsInfoHelper() 152 constexpr static arm::ArgLocation ResultInfoHelper() { in ResultInfoHelper() 170 constexpr void* ArgLocationAddress(arm::ArgLocation loc) const { in ArgLocationAddress() 183 constexpr static arm::ArgLocation kResultLocation = ResultInfoHelper(); 185 constexpr static std::array<arm::ArgLocation, sizeof...(ArgumentType)> kArgumentsLocations =
|
D | guest_params_arch.h | 42 constexpr static auto* ParamLocationAddress(R r, D d, S s, arm::ArgLocation loc) { in ParamLocationAddress() 121 std::array<arm::ArgLocation, sizeof...(ParamType)>> 144 std::array<arm::ArgLocation, sizeof...(ParamType)> result{}; in ParamsInfoHelper() 160 constexpr static arm::ArgLocation ReturnInfoHelper() { in ReturnInfoHelper() 178 constexpr static std::array<arm::ArgLocation, sizeof...(ParamType)> kParamsLocations = 181 constexpr static arm::ArgLocation kReturnLocation = ReturnInfoHelper();
|