Home
last modified time | relevance | path

Searched refs:Mem1 (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/
DExecutionEngineTest.cpp45 int32_t Mem1 = 3; in TEST_F() local
46 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
47 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
62 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
63 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
72 int32_t Mem1 = 3; in TEST_F() local
73 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
74 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
77 EXPECT_EQ(NULL, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
82 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp54 int32_t Mem1 = 3; in TEST_F() local
55 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
57 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); in TEST_F()
71 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
72 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
80 int32_t Mem1 = 3; in TEST_F() local
81 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
82 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
85 EXPECT_EQ(nullptr, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
[all …]
/external/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp54 int32_t Mem1 = 3; in TEST_F() local
55 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
57 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); in TEST_F()
71 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
72 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
80 int32_t Mem1 = 3; in TEST_F() local
81 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
82 EXPECT_EQ(G1, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
85 EXPECT_EQ(nullptr, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp575 MemoryRangeHeader *Mem1 = (MemoryRangeHeader*)Mem2-1; in DefaultJITMemoryManager() local
576 Mem1->ThisAllocated = 1; in DefaultJITMemoryManager()
577 Mem1->PrevAllocated = 0; in DefaultJITMemoryManager()
578 Mem1->BlockSize = sizeof(MemoryRangeHeader); in DefaultJITMemoryManager()
586 Mem0->BlockSize = (char*)Mem1-(char*)Mem0; in DefaultJITMemoryManager()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DDIEHashTest.cpp151 auto Mem1 = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F() local
153 Mem1->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, Mem1Str); in TEST_F()
155 Mem1->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
157 Mem1->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
159 Unnamed.addChild(std::move(Mem1)); in TEST_F()
/external/llvm/unittests/CodeGen/
DDIEHashTest.cpp151 auto Mem1 = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F() local
153 Mem1->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, Mem1Str); in TEST_F()
155 Mem1->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
157 Mem1->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()
159 Unnamed.addChild(std::move(Mem1)); in TEST_F()