/llvm-project/bolt/lib/Core/ |
H A D | Relocation.cpp | 259 static bool skipRelocationProcessX86(uint64_t &Type, uint64_t Contents) { in skipRelocationProcessAArch64() argument 263 static bool skipRelocationProcessAArch64(uint64_t &Type, uint64_t Contents) { in skipRelocationProcessAArch64() 264 auto IsMov = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 266 return (Contents & 0x1f800000) == 0x12800000; in skipRelocationProcessAArch64() 269 auto IsB = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 271 return (Contents & 0xfc000000) == 0x14000000; in skipRelocationProcessAArch64() 274 auto IsAdr = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 276 return (Contents & 0x9f000000) == 0x10000000; in skipRelocationProcessAArch64() 279 auto IsAddImm = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 281 return (Contents in skipRelocationProcessAArch64() 255 skipRelocationProcessX86(uint64_t & Type,uint64_t Contents) skipRelocationProcessX86() argument 260 __anona44b90a10202(uint64_t Contents) skipRelocationProcessAArch64() argument 265 __anona44b90a10302(uint64_t Contents) skipRelocationProcessAArch64() argument 270 __anona44b90a10402(uint64_t Contents) skipRelocationProcessAArch64() argument 275 __anona44b90a10502(uint64_t Contents) skipRelocationProcessAArch64() argument 280 __anona44b90a10602(uint64_t Contents) skipRelocationProcessAArch64() argument 346 skipRelocationProcessRISCV(uint64_t & Type,uint64_t Contents) skipRelocationProcessRISCV() argument 406 extractValueX86(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueX86() argument 414 extractValueAArch64(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueAArch64() argument 522 extractUImmRISCV(uint32_t Contents) extractUImmRISCV() argument 526 extractIImmRISCV(uint32_t Contents) extractIImmRISCV() argument 530 extractSImmRISCV(uint32_t Contents) extractSImmRISCV() argument 534 extractJImmRISCV(uint32_t Contents) extractJImmRISCV() argument 540 extractBImmRISCV(uint32_t Contents) extractBImmRISCV() argument 546 extractValueRISCV(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueRISCV() argument 815 skipRelocationProcess(uint64_t & Type,uint64_t Contents) skipRelocationProcess() argument 841 extractValue(uint64_t Type,uint64_t Contents,uint64_t PC) extractValue() argument [all...] |
/llvm-project/clang/test/VFS/Inputs/ |
H A D | vfsoverlay.yaml | 5 'contents': [ 7 'external-contents': 'INPUT_DIR/actual_header.h' 10 'external-contents': 'INPUT_DIR/import_some_frame.h' 13 'external-contents': 'INPUT_DIR/actual_module.map' 16 'external-contents': 'INPUT_DIR/include_real.h' 19 'contents': [ 21 'contents': [ 23 'external-contents': 'INPUT_DIR/public_header.h' }, 25 'external-contents': 'INPUT_DIR/public_header2.h' }, 27 'external-contents': 'INPUT_DIR/public_header3.h' } [all …]
|
H A D | vfsroot.yaml | 7 'contents': [ 9 'external-contents': 'TEST_DIR/vfsroot-include.c' 12 'external-contents': 'TEST_DIR/vfsroot-with-overlay.c' 15 'external-contents': 'TEST_DIR/vfsroot-module.m' 20 'contents': [ 22 'external-contents': 'TEST_DIR/Inputs/actual_header.h' 25 'external-contents': 'OUT_DIR/vfsoverlay.yaml' 30 'contents': [ 32 'external-contents': 'TEST_DIR/Inputs/actual_header.h' 37 'contents': [ [all …]
|
/llvm-project/libunwind/src/ |
H A D | dwarf2.h | 158 DW_OP_reg0 = 0x50, // Contents of reg0 159 DW_OP_reg1 = 0x51, // Contents of reg1 160 DW_OP_reg2 = 0x52, // Contents of reg2 161 DW_OP_reg3 = 0x53, // Contents of reg3 162 DW_OP_reg4 = 0x54, // Contents of reg4 163 DW_OP_reg5 = 0x55, // Contents of reg5 164 DW_OP_reg6 = 0x56, // Contents of reg6 165 DW_OP_reg7 = 0x57, // Contents of reg7 166 DW_OP_reg8 = 0x58, // Contents of reg8 167 DW_OP_reg9 = 0x59, // Contents o [all...] |
/llvm-project/clang/test/Analysis/ |
H A D | flexible-array-member.cpp | 23 S contents[0]; member 34 (Flex *)::operator new(__builtin_offsetof(Flex, contents) + sizeof(S) * size); in flexibleArrayMember() 38 new (&arr->contents[0]) S; in flexibleArrayMember() 39 new (&arr->contents[1]) S; in flexibleArrayMember() 40 new (&arr->contents[2]) S; in flexibleArrayMember() 41 new (&arr->contents[3]) S; in flexibleArrayMember() 45 clang_analyzer_eval(arr->contents[0].x == 0); // expected-warning{{TRUE}} in flexibleArrayMember() 46 clang_analyzer_eval(arr->contents[1].x == 1); // expected-warning{{TRUE}} in flexibleArrayMember() 47 clang_analyzer_eval(arr->contents[2].x == 2); // expected-warning{{TRUE}} in flexibleArrayMember() 48 clang_analyzer_eval(arr->contents[3].x == 3); // expected-warning{{TRUE}} in flexibleArrayMember() [all …]
|
/llvm-project/llvm/test/MC/ARM/ |
H A D | big-endian-arm-fixup.s | 10 // CHECK-LABEL: Contents of section s_condbl 17 // CHECK-LABEL: Contents of section s_uncondbl 24 // CHECK-LABEL: Contents of section s_blx 31 // CHECK-LABEL: Contents of section s_uncondbranch 38 // CHECK-LABEL: Contents of section s_condbranch 45 // CHECK-LABEL: Contents of section s_arm_pcrel_10 52 // CHECK-LABEL: Contents of section s_arm_ldst_pcrel_12 59 // CHECK-LABEL: Contents of section s_arm_adr_pcrel_12 66 // CHECK-LABEL: Contents of section s_arm_adr_pcrel_10_unscaled 73 // CHECK-LABEL: Contents of section s_movw [all …]
|
/llvm-project/llvm/test/MC/ELF/ |
H A D | dwo-sections.s | 5 // O-NOT: Contents of section 6 // O: Contents of section .strtab: 7 // O-NOT: Contents of section 8 // O: Contents of section .text: 10 // O-NEXT: Contents of section .symtab: 11 // O-NOT: Contents of section 18 // DWO-NOT: Contents of section 19 // DWO: Contents of section .strtab: 20 // DWO-NOT: Contents of section 21 // DWO: Contents of section .foo.dwo: [all …]
|
/llvm-project/clang/test/Misc/ |
H A D | cc1as-split-dwarf.s | 6 // O-NOT: Contents of section 7 // O: Contents of section .strtab: 8 // O-NOT: Contents of section 9 // O: Contents of section .text: 11 // O-NEXT: Contents of section .symtab: 12 // O-NOT: Contents of section 19 // DWO-NOT: Contents of section 20 // DWO: Contents of section .strtab: 21 // DWO-NOT: Contents of section 22 // DWO: Contents of section .foo.dwo: [all …]
|
/llvm-project/llvm/test/tools/dsymutil/ARM/ |
H A D | fat-dylib-update.test | 3 # RUN: llvm-dwarfdump -a -v %t.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s 5 # RUN: llvm-dwarfdump -a -v %t.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s 7 # RUN: llvm-dwarfdump -a -v %t1.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s 10 # RUN: llvm-dwarfdump -a -v %t.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s 12 # RUN: llvm-dwarfdump -a -v %t.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s 14 # RUN: llvm-dwarfdump -a -v %t1.dSYM/Contents/Resources/DWARF/fat-test.arm.dylib | FileCheck %s 16 CHECK: /Contents/Resources/DWARF/fat-test.arm.dylib(armv7): file format Mach-O arm 18 CHECK: .debug_info contents: 40 CHECK: .debug_line contents: 51 CHECK: .apple_names contents: [all …]
|
/llvm-project/llvm/test/tools/llvm-objcopy/COFF/ |
H A D | patch-debug-dir.test | 3 # RUN: llvm-objdump -s %t.in.exe | FileCheck %s --check-prefixes=CONTENTS,CONTENTS-PRE 6 # RUN: llvm-objdump -s %t.out.exe | FileCheck %s --check-prefixes=CONTENTS,CONTENTS-POST 9 # CONTENTS: Contents of section .buildid: 10 # CONTENTS-NEXT: {{.*}} 00000000 42ee405c 00000000 02000000 11 # CONTENTS-PRE-NEXT: {{.*}} 19000000 1c300000 1c080000 52534453 12 # CONTENTS-POST-NEXT: {{.*}} 19000000 1c300000 1c040000 52534453 13 # CONTENTS-NEXT: {{.*}} c1330757 2839a337 4c4c4420 5044422e 14 # CONTENTS-NEXT: {{.*}} 01000000 00
|
/llvm-project/lld/test/COFF/ |
H A D | functionpadmin.test | 47 BASE: Contents of section .text: 50 BASE-NEXT: Contents of section .rdata: 52 BASE-NEXT: Contents of section .pdata: 55 PADDED: Contents of section .text: 59 PADDED-NEXT: Contents of section .rdata: 61 PADDED-NEXT: Contents of section .pdata: 64 PADDED-MORE: Contents of section .text: 69 PADDED-MORE-NEXT: Contents of section .rdata: 71 PADDED-MORE-NEXT: Contents of section .pdata: 76 MULTI-BASE: Contents of section .text: [all …]
|
H A D | autoimport-arm64-data.s | 11 # RUN: llvm-objdump -s %t.exe | FileCheck --check-prefix=CONTENTS %s 23 # CONTENTS: Contents of section .rdata: 24 # CONTENTS: 140002000 00000000 00000000 01000000 70200000 25 # CONTENTS: 140002010 00300000 40000000 29 # CONTENTS: Contents of section .data: 30 # CONTENTS: 140003000 70200040 01000000 00200040 01000000 31 # CONTENTS: 140003010 18200040 01000000
|
H A D | autoimport-x86.s | 15 # RUN: llvm-objdump -s %t.exe | FileCheck --check-prefix=CONTENTS %s 37 # CONTENTS: Contents of section .rdata: 38 # CONTENTS: 140002000 00000000 00000000 01000000 80200000 39 # CONTENTS: 140002010 02100000 20000000 80200000 00300000 40 # CONTENTS: 140002020 40000000 44 # CONTENTS: Contents of section .data: 45 # CONTENTS: 140003000 80200040 01000000 00200040 01000000 46 # CONTENTS: 140003010 24200040 01000000
|
/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 29 /// Contents and directive tokens of a cached file entry. Single instance can 32 CachedFileContents(std::unique_ptr<llvm::MemoryBuffer> Contents) in CachedFileContents() 33 : Original(std::move(Contents)), DepDirectives(nullptr) {} in CachedFileContents() 35 /// Owning storage for the original contents. 52 /// - opened file with contents and a stat value, 53 /// - opened file with contents, directive tokens and a stat value, 62 /// Creates an entry without contents: either a filesystem error or 65 : MaybeStat(std::move(Stat)), Contents(nullptr) { in CachedFileSystemEntry() 69 /// Creates an entry representing a file with contents. 71 CachedFileContents *Contents) in CachedFileSystemEntry() argument 142 CachedFileContents *Contents; global() variable 386 std::unique_ptr<llvm::MemoryBuffer> Contents; global() member [all...] |
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | overlapping-sections.test | 6 ## Check that the contents are as expected before the copy. 7 # RUN: llvm-readobj -x .first -x .second %t.o | FileCheck %s --check-prefix=CONTENTS 9 ## Now check that the section contents are still correct after the copy. 14 # RUN: llvm-readobj -x .first -x .second %t2.o | FileCheck %s --check-prefix=CONTENTS 21 # CONTENTS: Hex dump of section '.first': 22 # CONTENTS-NEXT: 0x00000000 01234567 23 # CONTENTS-EMPTY: 24 # CONTENTS-NEXT: Hex dump of section '.second': 25 # CONTENTS-NEXT: 0x00000000 23456789
|
H A D | overlapping-sections-in-segments.test | 7 ## Check that the contents are as expected before the copy. 8 # RUN: llvm-readobj -x .first -x .second %t.o | FileCheck %s --check-prefix=CONTENTS 10 ## Now check that the section contents are still correct after the copy and show that 14 # RUN: llvm-readobj -x .first -x .second %t2.o | FileCheck %s --check-prefix=CONTENTS 21 # CONTENTS: Hex dump of section '.first': 22 # CONTENTS-NEXT: 0x00000000 01234567 23 # CONTENTS-EMPTY: 24 # CONTENTS-NEXT: Hex dump of section '.second': 25 # CONTENTS-NEXT: 0x00000000 23456789
|
/llvm-project/llvm/test/tools/llvm-objdump/X86/ |
H A D | output-ordering.test | 3 # RUN: --full-contents --dwarf=frames \ 6 # RUN: --full-contents --dwarf=frames \ 23 ## DWARF contents: 24 # CHECK: .eh_frame contents: 27 ## Section contents (-s) 28 # CHECK: Contents of section .rel.text: 29 # CHECK: Contents of section .dynamic: 30 # CHECK: Contents of section .symtab: 31 # CHECK: Contents of section .strtab: 32 # CHECK: Contents of section .shstrtab:
|
/llvm-project/llvm/test/DebugInfo/X86/ |
H A D | string-offsets-table.ll | 17 ; MONOLITHIC: .debug_abbrev contents: 18 ; MONOLITHIC-NOT: contents: 25 ; MONOLITHIC: .debug_info contents: 26 ; MONOLITHIC-NOT: contents: 37 ; MONOLITHIC: .debug_str contents: 45 ; MONOLITHIC: .debug_str_offsets contents: 55 ; SPLIT: .debug_info contents: 57 ; SPLIT-NOT: contents: 59 ; SPLIT-NOT: {{DW_TAG|contents:}} 65 ; SPLIT: .debug_info.dwo contents: [all …]
|
/llvm-project/lldb/test/API/lang/c/flexible-array-members/ |
H A D | main.c | 19 #define CONTENTS "contents" macro 23 (struct WithFlexChar *)malloc(sizeof(int) + sizeof(CONTENTS)); in main() 25 strcpy(c->flexible, CONTENTS); in main() 28 (struct WithFlexSChar *)malloc(sizeof(int) + sizeof(CONTENTS)); in main() 30 strcpy((char *)sc->flexible, CONTENTS); in main() 33 (struct WithFlexUChar *)malloc(sizeof(int) + sizeof(CONTENTS)); in main() 35 strcpy((char *)uc->flexible, CONTENTS); in main()
|
/llvm-project/clang-tools-extra/clangd/support/ |
H A D | Markup.cpp | 27 // Is <contents a plausible start to an HTML tag? 28 // Contents may not be the rest of the line, but it's the rest of the plain 30 bool looksLikeTag(llvm::StringRef Contents) { in looksLikeTag() argument 31 if (Contents.empty()) in looksLikeTag() 33 if (Contents.front() == '!' || Contents.front() == '?' || in looksLikeTag() 34 Contents.front() == '/') in looksLikeTag() 37 if (!llvm::isAlpha(Contents.front())) in looksLikeTag() 40 Contents = Contents in looksLikeTag() 47 for (; !Contents.empty(); Contents = Contents.drop_front()) { in looksLikeTag() 48 if (llvm::isAlnum(Contents.front()) || llvm::isSpace(Contents.front())) in looksLikeTag() [all …]
|
/llvm-project/llvm/utils/lit/lit/builtin_commands/ |
H A D | cat.py | 58 contents = None 63 contents = fileToCat.read() 68 if contents is None: 70 contents = fileToCat.read() 73 contents = convertToCaretAndMNotation(contents) 75 contents = contents.encode() 76 writer.write(contents)
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | avoid-unconditional-preprocessor-if.cpp | 3 …ndition is always 'false', consider removing both the condition and its contents [readability-avoi… 8 …condition is always 'true', consider removing condition but leaving its contents [readability-avoi… 17 …condition is always 'true', consider removing condition but leaving its contents [readability-avoi… 22 …ndition is always 'false', consider removing both the condition and its contents [readability-avoi… 27 …condition is always 'true', consider removing condition but leaving its contents [readability-avoi… 32 …ndition is always 'false', consider removing both the condition and its contents [readability-avoi… 37 …ndition is always 'false', consider removing both the condition and its contents [readability-avoi… 43 …condition is always 'true', consider removing condition but leaving its contents [readability-avoi… 49 …condition is always 'true', consider removing condition but leaving its contents [readability-avoi… 54 …ndition is always 'false', consider removing both the condition and its contents [readability-avoi…
|
/llvm-project/llvm/test/tools/llvm-ar/ |
H A D | response.test | 3 # RUN: echo 'contents' > %t.txt 6 # RUN: llvm-ar p %t1.a | FileCheck %s --check-prefix=CONTENTS 9 # RUN: echo 'contents' > '%t space.txt' 13 # RUN: llvm-ar p %t2.a | FileCheck %s --check-prefix=CONTENTS 18 # RUN: llvm-ar p %t3.a | FileCheck %s --check-prefix=CONTENTS 21 # RUN: echo contents > %t.txt 25 # RUN: llvm-ar p %t4.a | FileCheck %s --check-prefix=CONTENTS 27 # CONTENTS: contents
|
/llvm-project/clang/unittests/libclang/ |
H A D | LibclangTest.cpp | 49 const char *Contents; member 52 TestVFO(const char *Contents) : Contents(Contents) { in TestVFO() 67 if (Contents) { in ~TestVFO() 72 EXPECT_STREQ(Contents, BufStr.c_str()); in ~TestVFO() 81 const char *contents = in TEST() local 88 " 'contents': [\n" in TEST() 92 " 'external-contents': \"/real/foo.h\"\n" in TEST() 98 TestVFO T(contents); in TEST() 103 const char *contents = in TEST() local 110 " 'contents': [\n" in TEST() [all …]
|
/llvm-project/clang/test/Modules/Inputs/framework-public-includes-private/ |
H A D | z.yaml | 9 'contents': [ 13 'external-contents': "TEST_DIR/flat-header-path/Z.h" 20 'contents': [ 24 'external-contents': "TEST_DIR/flat-header-path/ZPriv.h" 31 'contents': [ 35 'external-contents': "TEST_DIR/flat-header-path/Z.modulemap" 40 'external-contents': "TEST_DIR/flat-header-path/Z.private.modulemap"
|