/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | versioninfo.test | 6 # RUN: llvm-readobj -V %t1 | FileCheck %s --check-prefix=LLVM 118 # LLVM: VersionSymbols [ 119 # LLVM-NEXT: Symbol { 120 # LLVM-NEXT: Version: 0 121 # LLVM-NEXT: Name: 122 # LLVM-NEXT: } 123 # LLVM-NEXT: Symbol { 124 # LLVM-NEXT: Version: 2 125 # LLVM-NEXT: Name: sym1@@VERSION1 126 # LLVM-NEXT: } [all …]
|
D | sections-no-section-header-string-table.test | 7 # RUN: | FileCheck %s -DFILE=%t --check-prefix=LLVM 17 # LLVM: Sections [ 18 # LLVM-NEXT: Section { 19 # LLVM-NEXT: Index: 0 20 # LLVM-NEXT: Name: (0) 21 # LLVM-NEXT: Type: SHT_NULL (0x0) 22 # LLVM-NEXT: Flags [ (0x0) 23 # LLVM-NEXT: ] 24 # LLVM-NEXT: Address: 0x0 25 # LLVM-NEXT: Offset: 0x0 [all …]
|
D | section-flags.test | 4 # RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=LLVM %s 7 # LLVM: Name: allflags 8 # LLVM-NEXT: Type: SHT_PROGBITS 9 # LLVM-NEXT: Flags [ (0x80000FF7) 10 # LLVM-NEXT: SHF_ALLOC (0x2) 11 # LLVM-NEXT: SHF_COMPRESSED (0x800) 12 # LLVM-NEXT: SHF_EXCLUDE (0x80000000) 13 # LLVM-NEXT: SHF_EXECINSTR (0x4) 14 # LLVM-NEXT: SHF_GROUP (0x200) 15 # LLVM-NEXT: SHF_INFO_LINK (0x40) [all …]
|
D | section-types.test | 1 # Show that all regular section types are properly printed for both LLVM and 5 # RUN: llvm-readobj --section-headers %t-basic.o | FileCheck %s --check-prefix=LLVM 8 # LLVM: Name: (0) 9 # LLVM: Type: SHT_NULL 10 # LLVM: Name: progbits 11 # LLVM: Type: SHT_PROGBITS 12 # LLVM: Name: rela 13 # LLVM: Type: SHT_RELA 14 # LLVM: Name: hash 15 # LLVM: Type: SHT_HASH [all …]
|
D | program-headers.test | 24 # RUN: FileCheck %s --check-prefixes=ELF-LLVM,ELF32-LLVM \ 30 # RUN: llvm-readobj -l %t64.elf | FileCheck %s --check-prefixes=ELF-LLVM,ELF64-LLVM 119 # ELF-LLVM: ProgramHeaders [ 120 # ELF-LLVM-NEXT: ProgramHeader { 121 # ELF-LLVM-NEXT: Type: PT_PHDR (0x6) 122 # ELF32-LLVM-NEXT: Offset: 0x314 123 # ELF64-LLVM-NEXT: Offset: 0x548 124 # ELF-LLVM-NEXT: VirtualAddress: 0x1000 125 # ELF-LLVM-NEXT: PhysicalAddress: 0x1000 126 # ELF-LLVM-NEXT: FileSize: 3 [all …]
|
D | relocations.test | 6 # RUN: | FileCheck %s --check-prefix=LLVM-64 --strict-whitespace --match-full-lines 8 # RUN: | FileCheck %s --check-prefix=LLVM-64 --strict-whitespace --match-full-lines 10 # RUN: | FileCheck %s --check-prefix=LLVM-64 --strict-whitespace --match-full-lines 12 # LLVM-64:Relocations [ 13 # LLVM-64-NEXT: Section (2) .rel.text { 14 # LLVM-64-NEXT: 0x0 R_X86_64_NONE rel_0 0x0 15 # LLVM-64-NEXT: 0x1 R_X86_64_PC32 rel_neg 0x0 16 # LLVM-64-NEXT: 0x5 R_X86_64_PLT32 rel_pos 0x0 17 # LLVM-64-NEXT: 0x9 R_X86_64_64 rel_64 0x0 18 # LLVM-64-NEXT: } [all …]
|
D | section-flags-os-proc.test | 4 # RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=OS-PROC-LLVM %s 7 # OS-PROC-LLVM: Name: .os.flags.low 8 # OS-PROC-LLVM-NEXT: Type: SHT_PROGBITS 9 # OS-PROC-LLVM-NEXT: Flags [ (0x100000) 10 # OS-PROC-LLVM-NEXT: ] 11 # OS-PROC-LLVM: Name: .os.flags.high 12 # OS-PROC-LLVM-NEXT: Type: SHT_PROGBITS 13 # OS-PROC-LLVM-NEXT: Flags [ (0xFE00000) 14 # OS-PROC-LLVM-NEXT: ] 15 # OS-PROC-LLVM: Name: .os.flags.mask [all …]
|
D | mips-got.test | 9 # RUN: llvm-readobj -A %t.got.o 2>&1 | FileCheck %s -DOTHERNUM=0 -check-prefix=BASIC-LLVM 10 # RUN: llvm-readobj -A %t.got.so 2>&1 | FileCheck %s -DOTHERNUM=0 -check-prefix=BASIC-LLVM 11 # RUN: llvm-readobj -A %t.got.exe 2>&1 | FileCheck %s -DOTHERNUM=0 -check-prefix=BASIC-LLVM 51 # BASIC-LLVM: Primary GOT { 52 # BASIC-LLVM-NEXT: Canonical gp value: 0x9112 53 # BASIC-LLVM-NEXT: Reserved entries [ 54 # BASIC-LLVM-NEXT: Entry { 55 # BASIC-LLVM-NEXT: Address: 0x1122 56 # BASIC-LLVM-NEXT: Access: -32752 57 # BASIC-LLVM-NEXT: Initial: 0x0 [all …]
|
D | gnu-notes.test | 5 # RUN: llvm-readobj --notes %t1.so | FileCheck %s --check-prefix=LLVM 8 # RUN: llvm-readobj --notes %t1.stripped.so | FileCheck %s --check-prefix=LLVM-STRIPPED 25 # LLVM: Notes [ 26 # LLVM-NEXT: NoteSection { 27 # LLVM-NEXT: Name: .note.ABI-tag 28 # LLVM-NEXT: Offset: 0x78 29 # LLVM-NEXT: Size: 0x20 30 # LLVM-NEXT: Note { 31 # LLVM-NEXT: Owner: GNU 32 # LLVM-NEXT: Data size: 0x10 [all …]
|
D | note-amdgpu-invalid.s | 2 # RUN: llvm-readobj --notes %t.o | FileCheck %s --check-prefix=LLVM 24 # LLVM: Notes [ 25 # LLVM-NEXT: NoteSection { 26 # LLVM-NEXT: Name: .note.foo 27 # LLVM-NEXT: Offset: 0x40 28 # LLVM-NEXT: Size: 0xE8 29 # LLVM-NEXT: Note { 30 # LLVM-NEXT: Owner: AMDGPU 31 # LLVM-NEXT: Data size: 0xD4 32 # LLVM-NEXT: Type: NT_AMDGPU_METADATA (AMDGPU Metadata) [all …]
|
D | note-amdgpu.test | 2 # RUN: llvm-readobj --notes %t.o | FileCheck %s --check-prefix=LLVM 26 # LLVM: Notes [ 27 # LLVM-NEXT: NoteSection { 28 # LLVM-NEXT: Name: .note.foo 29 # LLVM-NEXT: Offset: 30 # LLVM-NEXT: Size: 31 # LLVM-NEXT: Note { 32 # LLVM-NEXT: Owner: AMDGPU 33 # LLVM-NEXT: Data size: 0xE6 34 # LLVM-NEXT: Type: NT_AMDGPU_METADATA (AMDGPU Metadata) [all …]
|
D | symbol-types.test | 3 # for both GNU and LLVM styles. 6 # RUN: llvm-readobj --symbols %t | FileCheck %s --check-prefix=LLVM 9 # LLVM: Name: notype 10 # LLVM: Type: None 11 # LLVM: Name: object 12 # LLVM: Type: Object 13 # LLVM: Name: func 14 # LLVM: Type: Function 15 # LLVM: Name: .text 16 # LLVM: Type: Section [all …]
|
D | groups.test | 99 …m-readobj --elf-section-groups %t.dup.o 2>&1 | FileCheck %s -DFILE=%t.dup.o --check-prefix=DUP-LLVM 102 # DUP-LLVM: Group { 103 # DUP-LLVM-NEXT: Name: .group 104 # DUP-LLVM-NEXT: Index: 1 105 # DUP-LLVM-NEXT: Link: 7 106 # DUP-LLVM-NEXT: Info: 1 107 # DUP-LLVM-NEXT: Type: COMDAT 108 # DUP-LLVM-NEXT: Signature: foo 109 # DUP-LLVM-NEXT: Section(s) in group [ 110 # DUP-LLVM-NEXT: .text.foo (3) [all …]
|
D | call-graph-profile.test | 4 # RUN: llvm-readobj %t.o --cg-profile | FileCheck %s --check-prefix=LLVM 6 # RUN: llvm-readobj %t.o --elf-cg-profile | FileCheck %s --check-prefix=LLVM 9 # LLVM: CGProfile [ 10 # LLVM-NEXT: CGProfileEntry { 11 # LLVM-NEXT: From: foo (1) 12 # LLVM-NEXT: To: bar (2) 13 # LLVM-NEXT: Weight: 89 14 # LLVM-NEXT: } 15 # LLVM-NEXT: CGProfileEntry { 16 # LLVM-NEXT: From: bar (2) [all …]
|
D | note-core-ntfile.test | 5 # RUN: llvm-readobj --notes %t.o | FileCheck %s --check-prefix=LLVM 65 # LLVM: Notes [ 66 # LLVM-NEXT: NoteSection { 67 # LLVM-NEXT: Name: <?> 68 # LLVM-NEXT: Offset: 69 # LLVM-NEXT: Size: 70 # LLVM-NEXT: Note { 71 # LLVM-NEXT: Owner: CORE 72 # LLVM-NEXT: Data size: 0x80 73 # LLVM-NEXT: Type: NT_FILE (mapped files) [all …]
|
D | invalid-shstrndx.test | 3 # RUN: llvm-readobj --headers -S 2>&1 %t | FileCheck %s -DFILE=%t --check-prefix=LLVM 19 # LLVM: ElfHeader { 20 # LLVM: StringTableSectionIndex: 255 21 # LLVM-NEXT: } 22 # LLVM-NEXT: Sections [ 23 # LLVM-NEXT: Section { 24 # LLVM-NEXT: Index: 0 25 # LLVM-NEXT: warning: '[[FILE]]': unable to get the name of SHT_NULL section with index 0: section … 26 # LLVM-NEXT: Name: <?> (0) 27 # LLVM-NEXT: Type: SHT_NULL (0x0) [all …]
|
D | verneed-invalid.test | 9 # RUN: llvm-readobj -V %t1 | FileCheck %s --check-prefix=LLVM-VERNEED-NAME 20 # LLVM-VERNEED-NAME: VersionSymbols [ 21 # LLVM-VERNEED-NAME: Symbol { 22 # LLVM-VERNEED-NAME-NEXT: Version: 0 23 # LLVM-VERNEED-NAME-NEXT: Name: 24 # LLVM-VERNEED-NAME-NEXT: } 25 # LLVM-VERNEED-NAME-NEXT: Symbol { 26 # LLVM-VERNEED-NAME-NEXT: Version: 2 27 # LLVM-VERNEED-NAME-NEXT: Name: foo 28 # LLVM-VERNEED-NAME-NEXT: } [all …]
|
D | section-arch-flags.test | 4 # RUN: llvm-readobj -S %t-hex.o | FileCheck --check-prefix=HEX-LLVM %s 7 # HEX-LLVM: Flags [ (0x10000000) 8 # HEX-LLVM-NEXT: SHF_HEX_GPREL (0x10000000) 9 # HEX-LLVM-NEXT: ] 26 # RUN: llvm-readobj -S %t-mips.o | FileCheck --check-prefix=MIPS-LLVM %s 32 # MIPS-LLVM: Flags [ (0xFF000000) 33 # MIPS-LLVM-NEXT: SHF_EXCLUDE (0x80000000) 34 # MIPS-LLVM-NEXT: SHF_MIPS_ADDR (0x40000000) 35 # MIPS-LLVM-NEXT: SHF_MIPS_GPREL (0x10000000) 36 # MIPS-LLVM-NEXT: SHF_MIPS_LOCAL (0x4000000) [all …]
|
D | reloc-types-elf-x64.test | 5 # RUN: llvm-readobj -r --expand-relocs %t-x86_64.o | FileCheck %s --check-prefix=LLVM 8 # LLVM: Type: R_X86_64_NONE (0) 9 # LLVM: Type: R_X86_64_64 (1) 10 # LLVM: Type: R_X86_64_PC32 (2) 11 # LLVM: Type: R_X86_64_GOT32 (3) 12 # LLVM: Type: R_X86_64_PLT32 (4) 13 # LLVM: Type: R_X86_64_COPY (5) 14 # LLVM: Type: R_X86_64_GLOB_DAT (6) 15 # LLVM: Type: R_X86_64_JUMP_SLOT (7) 16 # LLVM: Type: R_X86_64_RELATIVE (8) [all …]
|
D | dyn-symbols.test | 6 # RUN: | FileCheck %s --implicit-check-not="warning:" --check-prefix=DYNSYMS-LLVM 10 # DYNSYMS-LLVM: DynamicSymbols [ 11 # DYNSYMS-LLVM-NEXT: Symbol { 12 # DYNSYMS-LLVM-NEXT: Name: (0) 13 # DYNSYMS-LLVM-NEXT: Value: 0x0 14 # DYNSYMS-LLVM-NEXT: Size: 0 15 # DYNSYMS-LLVM-NEXT: Binding: Local (0x0) 16 # DYNSYMS-LLVM-NEXT: Type: None (0x0) 17 # DYNSYMS-LLVM-NEXT: Other: 0 18 # DYNSYMS-LLVM-NEXT: Section: Undefined (0x0) [all …]
|
/external/llvm/tools/msbuild/ |
D | uninstall.bat | 16 IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.props 17 IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.targets 18 IF EXIST %D%\LLVM-vs2010 rmdir %D%\LLVM-vs2010 20 IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.props 21 IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.targets 22 IF EXIST %D%\LLVM-vs2010 rmdir %D%\LLVM-vs2010 25 IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.props 26 IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.targets 27 IF EXIST %D%\LLVM-vs2012 rmdir %D%\LLVM-vs2012 28 IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.props [all …]
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | TypeTranslation.cpp | 21 namespace LLVM { namespace 30 llvm::Type *translateType(LLVM::LLVMType type) { in translateType() 37 llvm::TypeSwitch<LLVM::LLVMType, llvm::Type *>(type) in translateType() 38 .Case([this](LLVM::LLVMVoidType) { in translateType() 41 .Case([this](LLVM::LLVMHalfType) { in translateType() 44 .Case([this](LLVM::LLVMBFloatType) { in translateType() 47 .Case([this](LLVM::LLVMFloatType) { in translateType() 50 .Case([this](LLVM::LLVMDoubleType) { in translateType() 53 .Case([this](LLVM::LLVMFP128Type) { in translateType() 56 .Case([this](LLVM::LLVMX86FP80Type) { in translateType() [all …]
|
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/ |
D | ConvertLaunchFuncToVulkanCalls.cpp | 60 llvmFloatType = LLVM::LLVMType::getFloatTy(&getContext()); in initializeCachedTypes() 61 llvmVoidType = LLVM::LLVMType::getVoidTy(&getContext()); in initializeCachedTypes() 62 llvmPointerType = LLVM::LLVMType::getInt8PtrTy(&getContext()); in initializeCachedTypes() 63 llvmInt32Type = LLVM::LLVMType::getInt32Ty(&getContext()); in initializeCachedTypes() 64 llvmInt64Type = LLVM::LLVMType::getInt64Ty(&getContext()); in initializeCachedTypes() 67 LLVM::LLVMType getMemRefType(uint32_t rank, LLVM::LLVMType elemenType) { in getMemRefType() 80 LLVM::LLVMType::getArrayTy(getInt64Type(), rank); in getMemRefType() 85 return LLVM::LLVMType::getStructTy( in getMemRefType() 91 LLVM::LLVMType getVoidType() { return llvmVoidType; } in getVoidType() 92 LLVM::LLVMType getPointerType() { return llvmPointerType; } in getPointerType() [all …]
|
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/ |
D | LLVMOpBase.td | 1 //===-- LLVMOpBase.td - LLVM IR dialect shared definitions -*- tablegen -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 9 // This file contains shared definitions for the LLVM IR dialect and its 21 // LLVM Dialect. 26 let cppNamespace = "::mlir::LLVM"; 47 // LLVM dialect type constraints. 50 // LLVM dialect type. 52 CPred<"$_self.isa<::mlir::LLVM::LLVMType>()">, 53 "LLVM dialect type">; [all …]
|
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.cpp | 68 static unsigned getLLVMTypeBitWidth(LLVM::LLVMType type) { in getLLVMTypeBitWidth() 87 return rewriter.create<LLVM::ConstantOp>( in createConstantAllBitsSet() 92 return rewriter.create<LLVM::ConstantOp>( in createConstantAllBitsSet() 101 return rewriter.create<LLVM::ConstantOp>( in createFPConstant() 107 return rewriter.create<LLVM::ConstantOp>( in createFPConstant() 120 auto llvmType = dstType.cast<LLVM::LLVMType>(); in optionallyTruncateOrExtend() 123 srcType.isa<LLVM::LLVMType>() in optionallyTruncateOrExtend() 124 ? getLLVMTypeBitWidth(srcType.cast<LLVM::LLVMType>()) in optionallyTruncateOrExtend() 128 return rewriter.create<LLVM::ZExtOp>(loc, llvmType, value); in optionallyTruncateOrExtend() 134 return rewriter.create<LLVM::TruncOp>(loc, llvmType, value); in optionallyTruncateOrExtend() [all …]
|