Home
last modified time | relevance | path

Searched refs:jitlink (Results 1 – 25 of 86) sorted by relevance

1234

/external/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch64/
DMachO_arm64_relocations.s3 # RUN: llvm-jitlink -noexec -define-abs external_data=0xdeadbeef -define-abs external_func=0xcafef0…
20 # jitlink-check: decode_operand(test_local_call, 0)[25:0] = (named_func - test_local_call)[27:2]
41 # jitlink-check: *{8}(got_addr(macho_reloc.o, external_data)) = external_data
42 # jitlink-check: decode_operand(test_gotpage21, 1) = (got_addr(macho_reloc.o, external_data)[32:12]…
43 # jitlink-check: decode_operand(test_gotpageoff12, 2) = got_addr(macho_reloc.o, external_data)[11:3]
61 # jitlink-check: decode_operand(test_page21, 1) = ((named_data + 256) - test_page21)[32:12]
62 # jitlink-check: decode_operand(test_pageoff12add, 2) = (named_data + 256)[11:0]
63 # jitlink-check: decode_operand(test_pageoff12gpr8, 2) = (named_data + 256)[11:0]
64 # jitlink-cherk: decode_operand(test_pageoff12gpr8s, 2) = (named_data + 256)[11:0]
65 # jitlink-check: decode_operand(test_pageoff12gpr16, 2) = (named_data + 256)[11:1]
[all …]
/external/llvm-project/llvm/test/ExecutionEngine/JITLink/X86/
DMachO_x86-64_relocations.s3 # RUN: llvm-jitlink -noexec -slab-allocate 100Kb -slab-address 0xfff00000 \
14 # jitlink-check: *{4}common_symbol = 0
15 # jitlink-check: common_symbol[1:0] = 0
30 # jitlink-check: decode_operand(test_local_call, 0) = named_func - next_pc(test_local_call)
46 # jitlink-check: decode_operand(test_gotld, 4) = got_addr(macho_reloc.o, external_data) - next_pc(t…
47 # jitlink-check: *{8}(got_addr(macho_reloc.o, external_data)) = external_data
58 # jitlink-check: decode_operand(test_gotcmpq, 3) = got_addr(macho_reloc.o, external_data) - next_pc…
68 # jitlink-check: decode_operand(test_external_call, 0) = stub_addr(macho_reloc.o, external_func) - …
69 # jitlink-check: *{8}(got_addr(macho_reloc.o, external_func)) = external_func
89 # jitlink-check: decode_operand(signed, 4) = named_data - next_pc(signed)
[all …]
DELF_x86-64_relocations.s3 # RUN: llvm-jitlink -noexec -slab-allocate 100Kb -slab-address 0xfff00000 \
24 # jitlink-check: decode_operand(test_pcrel32, 4) = named_data - next_pc(test_pcrel32)
44 # jitlink-check: decode_operand(test_call_local, 0) = named_func - next_pc(test_call_local)
58 # jitlink-check: decode_operand(test_call_extern, 0) = extern_in_range32 - next_pc(test_call_extern)
72 # jitlink-check: decode_operand(test_call_extern_plt, 0) = \
73 # jitlink-check: stub_addr(elf_reloc.o, extern_out_of_range32) - next_pc(test_call_extern_plt)
74 # jitlink-check: *{8}(got_addr(elf_reloc.o, extern_out_of_range32)) = extern_out_of_range32
85 # jitlink-check: decode_operand(test_gotpcrel, 4) = got_addr(elf_reloc.o, named_data) - next_pc(tes…
86 # jitlink-check: *{8}(got_addr(elf_reloc.o, named_data)) = named_data
98 # jitlink-check: decode_operand(test_rex_gotpcrelx, 4) = \
[all …]
DMachO_weak_references.s3 # RUN: llvm-jitlink -noexec -check-name=jitlink-check-bar-present -define-abs bar=0x1 -check=%s %t/…
4 # RUN: llvm-jitlink -noexec -check-name=jitlink-check-bar-absent -check=%s %t/macho_weak_refs.o
13 # jitlink-check-bar-present: *{8}(got_addr(macho_weak_refs.o, bar)) = bar
14 # jitlink-check-bar-absent: *{8}(got_addr(macho_weak_refs.o, bar)) = 0
DELF_x86-64_common.s3 # RUN: llvm-jitlink -entry=load_common -noexec -check %s %t/elf_common.o
14 # jitlink-check: decode_operand(load_common, 4) = \
15 # jitlink-check: got_addr(elf_common.o, common_data) - next_pc(load_common)
16 # jitlink-check: *{8}(got_addr(elf_common.o, common_data)) = common_data
23 # jitlink-check: *{4}(common_data) = 0
DMachO_GOTAndStubsOptimization.s6 # RUN: llvm-jitlink -noexec -slab-allocate 64Kb -entry=bypass_stub -check %s \
20 # jitlink-check: decode_operand(bypass_got, 4) = _x - next_pc(bypass_got)
21 # jitlink-check: decode_operand(bypass_stub, 0) = bypass_got - next_pc(bypass_stub)
DMachO_skip_debug_sections.s3 # RUN: llvm-jitlink -debug-only=jitlink -noexec %t 2>&1 | FileCheck %s
DMachO_linker_private_symbols.s8 # RUN: llvm-jitlink -noexec %t/global_lp_def.o %t/macho_lp_test.o
9 # RUN: not llvm-jitlink -noexec %t/internal_lp_def.o %t/macho_lp_test.o
DMachO_weak_definitions.s6 # RUN: llvm-jitlink -noexec -check=%s %t/MachO_weak_definitions.o \
11 # jitlink-check: *{8}WeakDefAddrInThisFile = *{8}WeakDefAddrInExtraFile
DMachO_test_harness_harness.s6 # RUN: not llvm-jitlink -noexec -check %s %t/file_to_test.o \
8 # RUN: llvm-jitlink -noexec -phony-externals -check %s %t/file_to_test.o \
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h36 namespace jitlink {
63 using JITLinkSymbolVector = std::vector<const jitlink::Symbol *>;
69 jitlink::PassConfiguration &Config) {} in modifyPassConfig()
95 jitlink::JITLinkMemoryManager &MemMgr);
102 std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr);
157 using AllocPtr = std::unique_ptr<jitlink::JITLinkMemoryManager::Allocation>;
160 jitlink::PassConfiguration &PassConfig);
168 jitlink::JITLinkMemoryManager &MemMgr;
169 std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgrOwnership;
181 std::unique_ptr<jitlink::EHFrameRegistrar> Registrar);
[all …]
DTargetProcessControl.h111 jitlink::JITLinkMemoryManager &getMemMgr() const { return *MemMgr; } in getMemMgr()
154 jitlink::JITLinkMemoryManager *MemMgr = nullptr;
163 unsigned PageSize, std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr);
170 std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr = nullptr);
202 std::unique_ptr<jitlink::JITLinkMemoryManager> OwnedMemMgr;
DMachOPlatform.h118 jitlink::PassConfiguration &Config) override;
141 jitlink::LinkGraph &G,
144 Error processObjCImageInfo(jitlink::LinkGraph &G,
/external/llvm-project/llvm/tools/llvm-jitlink/
DCMakeLists.txt2 add_subdirectory(llvm-jitlink-executor)
21 add_llvm_tool(llvm-jitlink
22 llvm-jitlink.cpp
23 llvm-jitlink-elf.cpp
24 llvm-jitlink-macho.cpp
27 export_executable_symbols(llvm-jitlink)
Dllvm-jitlink.h42 jitlink::JITLinkMemoryManager &MemMgr);
108 std::unique_ptr<jitlink::JITLinkMemoryManager> OwnedMemMgr;
125 jitlink::PassConfiguration &PassConfig);
165 Error registerELFGraphInfo(Session &S, jitlink::LinkGraph &G);
168 Error registerMachOGraphInfo(Session &S, jitlink::LinkGraph &G);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h36 namespace jitlink {
65 jitlink::PassConfiguration &Config) {} in modifyPassConfig()
82 std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr);
137 using AllocPtr = std::unique_ptr<jitlink::JITLinkMemoryManager::Allocation>;
140 jitlink::PassConfiguration &PassConfig);
148 std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr;
159 EHFrameRegistrationPlugin(jitlink::EHFrameRegistrar &Registrar);
162 jitlink::PassConfiguration &PassConfig) override;
173 jitlink::EHFrameRegistrar &Registrar;
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-jitlink/
DBUILD.gn1 executable("llvm-jitlink") {
14 "llvm-jitlink-elf.cpp",
15 "llvm-jitlink-macho.cpp",
16 "llvm-jitlink.cpp",
/external/llvm-project/llvm/tools/llvm-jitlink/llvm-jitlink-executor/
DCMakeLists.txt7 add_llvm_utility(llvm-jitlink-executor
8 llvm-jitlink-executor.cpp
14 export_executable_symbols(llvm-jitlink-executor)
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
DLLJITWithObjectLinkingLayerPlugin.cpp55 jitlink::PassConfiguration &Config) override { in modifyPassConfig()
56 Config.PostPrunePasses.push_back([this](jitlink::LinkGraph &G) -> Error { in modifyPassConfig()
60 Config.PostFixupPasses.push_back([this](jitlink::LinkGraph &G) -> Error { in modifyPassConfig()
87 void printLinkGraph(jitlink::LinkGraph &G, StringRef Title) { in printLinkGraph()
147 ES, std::make_unique<jitlink::InProcessMemoryManager>()); in main()
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-jitlink/llvm-jitlink-executor/
DBUILD.gn1 executable("llvm-jitlink-executor") {
6 sources = [ "llvm-jitlink-executor.cpp" ]
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DMachOPlatform.cpp287 getSectionExtent(jitlink::LinkGraph &G, StringRef SectionName) { in getSectionExtent()
291 jitlink::SectionRange R(*Sec); in getSectionExtent()
302 jitlink::PassConfiguration &Config) { in modifyPassConfig()
307 Config.PrePrunePasses.push_back([this, &MR](jitlink::LinkGraph &G) -> Error { in modifyPassConfig()
325 jitlink::LinkGraph &G) -> Error { in modifyPassConfig()
331 if (auto Addr = jitlink::SectionRange(*ObjCImageInfoSec).getStart()) in modifyPassConfig()
400 JITLinkSymbolVector &Symbols, jitlink::LinkGraph &G, in preserveInitSectionIfPresent()
411 jitlink::LinkGraph &G, MaterializationResponsibility &MR) { in processObjCImageInfo()
DTargetProcessControl.cpp27 unsigned PageSize, std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr) in SelfTargetProcessControl()
32 OwnedMemMgr = std::make_unique<jitlink::InProcessMemoryManager>(); in SelfTargetProcessControl()
45 std::unique_ptr<jitlink::JITLinkMemoryManager> MemMgr) { in Create()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
DMachO.h19 namespace jitlink {
DELF.h20 namespace jitlink {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DMachO.h19 namespace jitlink {

1234