Searched refs:GetExecModule (Results 1 – 3 of 3) sorted by relevance
| /arkcompiler/runtime_core/static_core/compiler/tests/codegen/ |
| D | codegen_test_1.cpp | 97 GetExecModule().SetInstructions(entry, exit); in TEST_F() 98 GetExecModule().SetDump(false); in TEST_F() 100 GetExecModule().Execute(); in TEST_F() 102 auto retData = GetExecModule().GetRetValue(); in TEST_F() 158 GetExecModule().SetInstructions(codeEntry, codeExit); in CheckStoreArray() 160 GetExecModule().SetDump(false); in CheckStoreArray() 167 auto param1 = GetExecModule().CreateArray(arrayData, 4U, GetObjectAllocator()); in CheckStoreArray() 170 GetExecModule().SetParameter(0U, reinterpret_cast<uint64_t>(param1)); in CheckStoreArray() 171 GetExecModule().SetParameter(1U, param2); in CheckStoreArray() 172 GetExecModule().SetParameter(2U, param3); in CheckStoreArray() [all …]
|
| D | codegen_test_2.cpp | 50 GetExecModule().SetInstructions(codeEntry, codeExit); in TEST_F() 55 GetExecModule().SetParameter(0U, param1); in TEST_F() 56 GetExecModule().SetParameter(1U, param2); in TEST_F() 57 GetExecModule().Execute(); in TEST_F() 58 EXPECT_EQ(GetExecModule().GetRetValue(), param1 + param2); in TEST_F() 63 GetExecModule().SetParameter(0U, param1); in TEST_F() 64 GetExecModule().SetParameter(1U, param2); in TEST_F() 65 GetExecModule().Execute(); in TEST_F() 66 EXPECT_EQ(GetExecModule().GetRetValue(), param1 + param2); in TEST_F() 109 GetExecModule().SetInstructions(codeEntry, codeExit); in TEST_F() [all …]
|
| D | codegen_test.h | 55 VixlExecModule &GetExecModule() in GetExecModule() function 109 GetExecModule().SetInstructions(codeEntry, codeExit); in CheckReturnValue() 110 GetExecModule().SetDump(false); in CheckReturnValue() 112 GetExecModule().Execute(); in CheckReturnValue() 113 auto rv = GetExecModule().GetRetValue<T>(); in CheckReturnValue()
|