Home
last modified time | relevance | path

Searched full:osabi (Results 1 – 25 of 187) sorted by relevance

12345678

/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dfile-header-os-abi.test4 # RUN: yaml2obj %s -DOSABI=ELFOSABI_NONE -o %t.osabi.none
5 # RUN: llvm-readobj --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
8 # OSABI-NONE-LLVM: OS/ABI: SystemV (0x0)
9 # OSABI-NONE-GNU: OS/ABI: UNIX - System V
17 OSABI: [[OSABI]]
20 # RUN: yaml2obj %s -DOSABI=ELFOSABI_HPUX -o %t.osabi.hpux
21 # RUN: llvm-readobj --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
24 # OSABI-HPUX-LLVM: OS/ABI: HPUX (0x1)
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Delf-notes.ll1 …-code-object-version=2 < %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK --check-prefix…
2 …-code-object-version=2 < %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK --check-prefix…
3 …s | llvm-readelf --notes - | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ELF --check-pr…
4 …-code-object-version=2 < %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA --check-prefix…
5 …-code-object-version=2 < %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA --check-prefix…
6 …s | llvm-readelf --notes - | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA-ELF --check-pr…
7 …-code-object-version=2 < %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL --check-prefix…
8 …-code-object-version=2 < %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL --check-prefix…
9 …s | llvm-readelf --notes - | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL-ELF --check-pr…
12 ; OSABI-UNK-NOT: .hsa_code_object_version
[all …]
Dcode-object-v3.ll1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx803 < %s | FileCheck --check-prefixes=ALL-ASM,OSABI-…
2 … --notes -relocations -sections -symbols - | FileCheck --check-prefixes=ALL-ELF,OSABI-AMDHSA-ELF %s
6 ; OSABI-AMDHSA-ASM-NOT: .hsa_code_object_version
7 ; OSABI-AMDHSA-ASM-NOT: .hsa_code_object_isa
8 ; OSABI-AMDHSA-ASM-NOT: .amdgpu_hsa_kernel
9 ; OSABI-AMDHSA-ASM-NOT: .amd_kernel_code_t
11 ; OSABI-AMDHSA-ASM: s_endpgm
12 ; OSABI-AMDHSA-ASM: .section .rodata,#alloc
13 ; OSABI-AMDHSA-ASM: .p2align 6
14 ; OSABI-AMDHSA-ASM: .amdhsa_kernel fadd
[all …]
/external/llvm-project/llvm/test/tools/yaml2obj/ELF/
Dheader-osabi.yaml6 # RUN: llvm-readobj --file-headers %t.none | FileCheck %s --check-prefix=OSABI-NONE
7 # RUN: llvm-readobj --file-headers %t.default | FileCheck %s --check-prefix=OSABI-NONE
9 # OSABI-NONE: OS/ABI: SystemV (0x0)
16 OSABI: ELFOSABI_NONE
25 # RUN: llvm-readobj --file-headers %t.hpux | FileCheck %s --check-prefix=OSABI-HPUX
27 # OSABI-HPUX: OS/ABI: HPUX (0x1)
34 OSABI: ELFOSABI_HPUX
37 # RUN: llvm-readobj --file-headers %t.netbsd | FileCheck %s --check-prefix=OSABI-NETBSD
39 # OSABI-NETBSD: OS/ABI: NetBSD (0x2)
46 OSABI: ELFOSABI_NETBSD
[all …]
/external/elfutils/libebl/
Deblosabiname.c39 ebl_osabi_name (Ebl *ebl, int osabi, char *buf, size_t len) in ebl_osabi_name() argument
41 const char *res = ebl != NULL ? ebl->osabi_name (osabi, buf, len) : NULL; in ebl_osabi_name()
45 if (osabi == ELFOSABI_NONE) in ebl_osabi_name()
47 else if (osabi == ELFOSABI_HPUX) in ebl_osabi_name()
49 else if (osabi == ELFOSABI_NETBSD) in ebl_osabi_name()
51 else if (osabi == ELFOSABI_LINUX) in ebl_osabi_name()
53 else if (osabi == ELFOSABI_SOLARIS) in ebl_osabi_name()
55 else if (osabi == ELFOSABI_AIX) in ebl_osabi_name()
57 else if (osabi == ELFOSABI_IRIX) in ebl_osabi_name()
59 else if (osabi == ELFOSABI_FREEBSD) in ebl_osabi_name()
[all …]
/external/llvm-project/llvm/test/MC/AMDGPU/
Disa-version-hsa.s1 …gcn-amd-unknown -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ERR %s
2 …cn-amd-unknown -mcpu=iceland %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ERR %s
3 …sa-code-object-version=2 -mcpu=gfx802 %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA %s
4 …a-code-object-version=2 -mcpu=iceland %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA %s
5 …bject-version=2 -mcpu=gfx803 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA-ERR %s
6 …dgcn-amd-amdpal -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL-ERR %s
7 …gcn-amd-amdpal -mcpu=iceland %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL-ERR %s
9 // OSABI-HSA: .amd_amdgpu_isa "amdgcn-amd-amdhsa--gfx802"
10 // OSABI-UNK-ERR: error: .amd_amdgpu_isa directive does not match triple and/or mcpu arguments spec…
11 // OSABI-HSA-ERR: error: .amd_amdgpu_isa directive does not match triple and/or mcpu arguments spec…
[all …]
Disa-version-pal.s1 …gcn-amd-unknown -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ERR %s
2 …cn-amd-unknown -mcpu=iceland %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ERR %s
3 …bject-version=2 -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA-ERR %s
4 …ject-version=2 -mcpu=iceland %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA-ERR %s
5 …triple amdgcn-amd-amdpal -mcpu=gfx802 %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL %s
6 …riple amdgcn-amd-amdpal -mcpu=iceland %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL %s
7 …gcn-amd-unknown -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ERR %s
9 // OSABI-PAL: .amd_amdgpu_isa "amdgcn-amd-amdpal--gfx802"
10 // OSABI-UNK-ERR: error: .amd_amdgpu_isa directive does not match triple and/or mcpu arguments spec…
11 // OSABI-HSA-ERR: error: .amd_amdgpu_isa directive does not match triple and/or mcpu arguments spec…
[all …]
Disa-version-unk.s1 …riple amdgcn-amd-unknown -mcpu=gfx802 %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK %s
2 …iple amdgcn-amd-unknown -mcpu=iceland %s | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK %s
3 …gcn-amd-unknown -mcpu=gfx803 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-UNK-ERR %s
4 …bject-version=2 -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA-ERR %s
5 …ject-version=2 -mcpu=iceland %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-HSA-ERR %s
6 …dgcn-amd-amdpal -mcpu=gfx802 %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL-ERR %s
7 …gcn-amd-amdpal -mcpu=iceland %s 2>&1 | FileCheck --check-prefix=GCN --check-prefix=OSABI-PAL-ERR %s
9 // OSABI-UNK: .amd_amdgpu_isa "amdgcn-amd-unknown--gfx802"
10 // OSABI-UNK-ERR: error: .amd_amdgpu_isa directive does not match triple and/or mcpu arguments spec…
11 // OSABI-HSA-ERR: error: .amd_amdgpu_isa directive does not match triple and/or mcpu arguments spec…
[all …]
/external/llvm-project/llvm/test/Object/AMDGPU/
Delf-header-osabi.yaml15 # YAML-HSA: OSABI: ELFOSABI_AMDGPU_HSA
16 # YAML-PAL: OSABI: ELFOSABI_AMDGPU_PAL
17 # YAML-MESA3D: OSABI: ELFOSABI_AMDGPU_MESA3D
24 OSABI: ELFOSABI_AMDGPU_HSA
35 OSABI: ELFOSABI_AMDGPU_PAL
46 OSABI: ELFOSABI_AMDGPU_MESA3D
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendELF.h20 uint8_t OSABI;
21 ARMAsmBackendELF(const Target &T, const Triple &TT, uint8_t OSABI, in ARMAsmBackendELF() argument
23 : ARMAsmBackend(T, TT, IsLittle), OSABI(OSABI) {} in ARMAsmBackendELF()
26 return createARMELFObjectWriter(OS, OSABI, isLittle()); in createObjectWriter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendELF.h21 uint8_t OSABI;
22 ARMAsmBackendELF(const Target &T, const MCSubtargetInfo &STI, uint8_t OSABI, in ARMAsmBackendELF() argument
24 : ARMAsmBackend(T, STI, Endian), OSABI(OSABI) {} in ARMAsmBackendELF()
28 return createARMELFObjectWriter(OSABI); in createObjectTargetWriter()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendELF.h21 uint8_t OSABI;
22 ARMAsmBackendELF(const Target &T, const MCSubtargetInfo &STI, uint8_t OSABI, in ARMAsmBackendELF() argument
24 : ARMAsmBackend(T, STI, Endian), OSABI(OSABI) {} in ARMAsmBackendELF()
28 return createARMELFObjectWriter(OSABI); in createObjectTargetWriter()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp41 uint8_t OSABI; member in __anon916509ba0111::SystemZMCAsmBackend
43 SystemZMCAsmBackend(uint8_t osABI) in SystemZMCAsmBackend() argument
44 : OSABI(osABI) {} in SystemZMCAsmBackend()
67 return createSystemZObjectWriter(OS, OSABI); in createObjectWriter()
116 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createSystemZMCAsmBackend() local
117 return new SystemZMCAsmBackend(OSABI); in createSystemZMCAsmBackend()
/external/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp43 uint8_t OSABI; member in __anonaafccf680111::SystemZMCAsmBackend
45 SystemZMCAsmBackend(uint8_t osABI) in SystemZMCAsmBackend() argument
46 : MCAsmBackend(support::big), OSABI(osABI) {} in SystemZMCAsmBackend()
65 return createSystemZObjectWriter(OSABI); in createObjectTargetWriter()
122 uint8_t OSABI = in createSystemZMCAsmBackend() local
124 return new SystemZMCAsmBackend(OSABI); in createSystemZMCAsmBackend()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp43 uint8_t OSABI; member in __anon675a9c5c0111::SystemZMCAsmBackend
45 SystemZMCAsmBackend(uint8_t osABI) in SystemZMCAsmBackend() argument
46 : MCAsmBackend(support::big), OSABI(osABI) {} in SystemZMCAsmBackend()
73 return createSystemZObjectWriter(OSABI); in createObjectTargetWriter()
130 uint8_t OSABI = in createSystemZMCAsmBackend() local
132 return new SystemZMCAsmBackend(OSABI); in createSystemZMCAsmBackend()
/external/llvm/lib/Target/BPF/MCTargetDesc/
DBPFELFObjectWriter.cpp20 BPFELFObjectWriter(uint8_t OSABI);
30 BPFELFObjectWriter::BPFELFObjectWriter(uint8_t OSABI) in BPFELFObjectWriter() argument
31 : MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_NONE, in BPFELFObjectWriter()
55 uint8_t OSABI, bool IsLittleEndian) { in createBPFELFObjectWriter() argument
56 MCELFObjectTargetWriter *MOTW = new BPFELFObjectWriter(OSABI); in createBPFELFObjectWriter()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp67 X86ELFObjectWriter(bool is64Bit, uint8_t OSABI, uint16_t EMachine, in X86ELFObjectWriter() argument
69 : MCELFObjectTargetWriter(is64Bit, OSABI, EMachine, HasRelocationAddend) {} in X86ELFObjectWriter()
382 uint8_t OSABI; member in __anon38e13db80211::ELFX86AsmBackend
383 ELFX86AsmBackend(const Target &T, uint8_t OSABI, StringRef CPU) in ELFX86AsmBackend() argument
384 : X86AsmBackend(T, CPU), OSABI(OSABI) {} in ELFX86AsmBackend()
389 ELFX86_32AsmBackend(const Target &T, uint8_t OSABI, StringRef CPU) in ELFX86_32AsmBackend() argument
390 : ELFX86AsmBackend(T, OSABI, CPU) {} in ELFX86_32AsmBackend()
393 return createX86ELFObjectWriter(OS, /*IsELF64*/ false, OSABI, ELF::EM_386); in createObjectWriter()
399 ELFX86_X32AsmBackend(const Target &T, uint8_t OSABI, StringRef CPU) in ELFX86_X32AsmBackend() argument
400 : ELFX86AsmBackend(T, OSABI, CPU) {} in ELFX86_X32AsmBackend()
[all …]
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyELFObjectWriter.cpp25 WebAssemblyELFObjectWriter(bool Is64Bit, uint8_t OSABI);
34 uint8_t OSABI) in WebAssemblyELFObjectWriter() argument
35 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_WEBASSEMBLY, in WebAssemblyELFObjectWriter()
63 uint8_t OSABI) { in createWebAssemblyELFObjectWriter() argument
65 new WebAssemblyELFObjectWriter(Is64Bit, OSABI); in createWebAssemblyELFObjectWriter()
/external/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiELFObjectWriter.cpp22 explicit LanaiELFObjectWriter(uint8_t OSABI);
35 LanaiELFObjectWriter::LanaiELFObjectWriter(uint8_t OSABI) in LanaiELFObjectWriter() argument
36 : MCELFObjectTargetWriter(/*Is64Bit_=*/false, OSABI, ELF::EM_LANAI, in LanaiELFObjectWriter()
90 llvm::createLanaiELFObjectWriter(uint8_t OSABI) { in createLanaiELFObjectWriter() argument
91 return std::make_unique<LanaiELFObjectWriter>(OSABI); in createLanaiELFObjectWriter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiELFObjectWriter.cpp22 explicit LanaiELFObjectWriter(uint8_t OSABI);
35 LanaiELFObjectWriter::LanaiELFObjectWriter(uint8_t OSABI) in LanaiELFObjectWriter() argument
36 : MCELFObjectTargetWriter(/*Is64Bit_=*/false, OSABI, ELF::EM_LANAI, in LanaiELFObjectWriter()
90 llvm::createLanaiELFObjectWriter(uint8_t OSABI) { in createLanaiELFObjectWriter() argument
91 return std::make_unique<LanaiELFObjectWriter>(OSABI); in createLanaiELFObjectWriter()
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiELFObjectWriter.cpp23 explicit LanaiELFObjectWriter(uint8_t OSABI);
35 LanaiELFObjectWriter::LanaiELFObjectWriter(uint8_t OSABI) in LanaiELFObjectWriter() argument
36 : MCELFObjectTargetWriter(/*Is64Bit=*/false, OSABI, ELF::EM_LANAI, in LanaiELFObjectWriter()
92 uint8_t OSABI) { in createLanaiELFObjectWriter() argument
93 MCELFObjectTargetWriter *MOTW = new LanaiELFObjectWriter(OSABI); in createLanaiELFObjectWriter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFObjectWriter.cpp25 AMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, bool HasRelocationAddend,
37 uint8_t OSABI, in AMDGPUELFObjectWriter() argument
40 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_AMDGPU, in AMDGPUELFObjectWriter()
87 llvm::createAMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, in createAMDGPUELFObjectWriter() argument
90 return std::make_unique<AMDGPUELFObjectWriter>(Is64Bit, OSABI, in createAMDGPUELFObjectWriter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFELFObjectWriter.cpp24 BPFELFObjectWriter(uint8_t OSABI);
34 BPFELFObjectWriter::BPFELFObjectWriter(uint8_t OSABI) in BPFELFObjectWriter() argument
35 : MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_BPF, in BPFELFObjectWriter()
87 llvm::createBPFELFObjectWriter(uint8_t OSABI) { in createBPFELFObjectWriter() argument
88 return std::make_unique<BPFELFObjectWriter>(OSABI); in createBPFELFObjectWriter()
/external/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
DBPFELFObjectWriter.cpp24 BPFELFObjectWriter(uint8_t OSABI);
34 BPFELFObjectWriter::BPFELFObjectWriter(uint8_t OSABI) in BPFELFObjectWriter() argument
35 : MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_BPF, in BPFELFObjectWriter()
87 llvm::createBPFELFObjectWriter(uint8_t OSABI) { in createBPFELFObjectWriter() argument
88 return std::make_unique<BPFELFObjectWriter>(OSABI); in createBPFELFObjectWriter()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFObjectWriter.cpp27 AMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, bool HasRelocationAddend,
39 uint8_t OSABI, in AMDGPUELFObjectWriter() argument
42 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_AMDGPU, in AMDGPUELFObjectWriter()
98 llvm::createAMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, in createAMDGPUELFObjectWriter() argument
101 return std::make_unique<AMDGPUELFObjectWriter>(Is64Bit, OSABI, in createAMDGPUELFObjectWriter()

12345678