Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/llvm-project/llvm/lib/Support/
H A DARMAttributeParser.cpp133 static const char *const strings[] = {"Not Permitted", "Permitted"}; in WMMX_arch() local
134 return parseStringAttribute("ARM_ISA_use", tag, ArrayRef(strings)); in WMMX_arch()
138 static const char *const strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", in Advanced_SIMD_arch() local
140 return parseStringAttribute("THUMB_ISA_use", tag, ArrayRef(strings)); in Advanced_SIMD_arch()
144 static const char *const strings[] = { in MVE_arch() local
147 return parseStringAttribute("FP_arch", tag, ArrayRef(strings)); in MVE_arch()
151 static const char *const strings[] = {"Not Permitted", "WMMXv1", "WMMXv2"}; in PCS_config()
152 return parseStringAttribute("WMMX_arch", tag, ArrayRef(strings)); in PCS_config()
156 static const char *const strings[] = {"Not Permitted", "NEONv1", "NEONv2+FMA", in ABI_PCS_R9_use()
158 return parseStringAttribute("Advanced_SIMD_arch", tag, ArrayRef(strings)); in ABI_PCS_R9_use()
116 static const char *strings[] = {"Not Permitted", "Permitted"}; ARM_ISA_use() local
121 static const char *strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", "Permitted"}; THUMB_ISA_use() local
126 static const char *strings[] = { FP_arch() local
150 static const char *strings[] = { PCS_config() local
157 static const char *strings[] = {"v6", "Static Base", "TLS", "Unused"}; ABI_PCS_R9_use() local
162 static const char *strings[] = {"Absolute", "PC-relative", "SB-relative", ABI_PCS_RW_data() local
168 static const char *strings[] = {"Absolute", "PC-relative", "Not Permitted"}; ABI_PCS_RO_data() local
173 static const char *strings[] = {"Not Permitted", "Direct", "GOT-Indirect"}; ABI_PCS_GOT_use() local
178 static const char *strings[] = {"Not Permitted", "Unknown", "2-byte", ABI_PCS_wchar_t() local
184 static const char *strings[] = {"IEEE-754", "Runtime"}; ABI_FP_rounding() local
189 static const char *strings[] = {"Unsupported", "IEEE-754", "Sign Only"}; ABI_FP_denormal() local
194 static const char *strings[] = {"Not Permitted", "IEEE-754"}; ABI_FP_exceptions() local
198 static const char *strings[] = {"Not Permitted", "IEEE-754"}; ABI_FP_user_exceptions() local
203 static const char *strings[] = {"Not Permitted", "Finite Only", "RTABI", ABI_FP_number_model() local
209 static const char *strings[] = {"Not Permitted", "8-byte alignment", ABI_align_needed() local
228 static const char *strings[] = {"Not Required", "8-byte data alignment", ABI_align_preserved() local
247 static const char *strings[] = {"Not Permitted", "Packed", "Int32", ABI_enum_size() local
253 static const char *strings[] = {"Tag_FP_arch", "Single-Precision", "Reserved", ABI_HardFP_use() local
259 static const char *strings[] = {"AAPCS", "AAPCS VFP", "Custom", ABI_VFP_args() local
265 static const char *strings[] = {"AAPCS", "iWMMX", "Custom"}; ABI_WMMX_args() local
270 static const char *strings[] = { ABI_optimization_goals() local
278 static const char *strings[] = { ABI_FP_optimization_goals() local
312 static const char *strings[] = {"Not Permitted", "v6-style"}; CPU_unaligned_access() local
317 static const char *strings[] = {"If Available", "Permitted"}; FP_HP_extension() local
322 static const char *strings[] = {"Not Permitted", "IEEE-754", "VFPv3"}; ABI_FP_16bit_format() local
327 static const char *strings[] = {"Not Permitted", "Permitted"}; MPextension_use() local
332 static const char *strings[] = {"If Available", "Not Permitted", "Permitted"}; DIV_use() local
337 static const char *strings[] = {"Not Permitted", "Permitted"}; DSP_extension() local
342 static const char *strings[] = {"Not Permitted", "Permitted"}; T2EE_use() local
347 static const char *strings[] = {"Not Permitted", "TrustZone", Virtualization_use() local
354 static const char *strings[] = {"Not Permitted", "Permitted in NOP space", PAC_extension() local
360 static const char *strings[] = {"Not Permitted", "Permitted in NOP space", BTI_extension() local
366 static const char *strings[] = {"Not Used", "Used"}; PACRET_use() local
371 static const char *strings[] = {"Not Used", "Used"}; BTI_use() local
408 auto strings = ArrayRef(CPU_arch_strings); also_compatible_with() local
[all...]
H A DCSKYAttributeParser.cpp85 static const char *const strings[] = {"Error", "DSP Extension", "DSP 2.0"}; in dspVersion() local
86 return parseStringAttribute("Tag_CSKY_DSP_VERSION", tag, ArrayRef(strings)); in dspVersion()
90 static const char *const strings[] = {"Error", "VDSP Version 1", in vdspVersion() local
92 return parseStringAttribute("Tag_CSKY_VDSP_VERSION", tag, ArrayRef(strings)); in vdspVersion()
96 static const char *const strings[] = {"Error", "FPU Version 1", in fpuVersion()
98 return parseStringAttribute("Tag_CSKY_FPU_VERSION", tag, ArrayRef(strings)); in fpuVersion()
102 static const char *const strings[] = {"Error", "Soft", "SoftFP", "Hard"}; in fpuABI()
103 return parseStringAttribute("Tag_CSKY_FPU_ABI", tag, ArrayRef(strings)); in fpuABI()
107 static const char *const strings[] = {"None", "Needed"}; in fpuRounding()
108 return parseStringAttribute("Tag_CSKY_FPU_ROUNDING", tag, ArrayRef(strings)); in fpuRounding()
95 static const char *strings[] = {"Error", "FPU Version 1", "FPU Version 2", fpuVersion() local
101 static const char *strings[] = {"Error", "Soft", "SoftFP", "Hard"}; fpuABI() local
106 static const char *strings[] = {"None", "Needed"}; fpuRounding() local
111 static const char *strings[] = {"None", "Needed"}; fpuDenormal() local
116 static const char *strings[] = {"None", "Needed"}; fpuException() local
[all...]
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-strings.rst1 llvm-strings - print strings
4 .. program:: llvm-strings
9 :program:`llvm-strings` [*options*] [*input...*]
14 :program:`llvm-strings` is a tool intended as a drop-in replacement for GNU's
15 :program:`strings`, which looks for printable strings in files and writes them
20 :program:`llvm-strings` looks for strings in each ``input`` file specified.
21 Unlike GNU :program:`strings` it looks in the entire input file, regardless of
35 $ llvm-strings input.txt
44 Silently ignored. Present for GNU :program:`strings` compatibility.
63 $ llvm-strings --print-file-name test.o test.elf
[all …]
/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-strings/
H A DBUILD.gn6 visibility = [ ":llvm-strings" ]
11 symlink_or_copy("strings") {
12 deps = [ ":llvm-strings" ]
13 source = "llvm-strings"
14 output = "$root_out_dir/bin/strings"
18 # //:llvm-strings depends on this symlink target, see comment in //BUILD.gn.
20 deps = [ ":llvm-strings" ]
22 deps += [ ":strings" ]
26 executable("llvm-strings") {
34 sources = [ "llvm-strings.cpp" ]
/llvm-project/llvm/test/tools/llvm-strings/
H A Dlength.test1 ## Show that llvm-strings prints only strings with length of at least the
9 RUN: not llvm-strings -n 0 2>&1 %t | FileCheck --check-prefix CHECK-0 %s
10 RUN: llvm-strings -n 1 %t | FileCheck --check-prefix CHECK-1 %s --implicit-check-not={{.}}
11 RUN: llvm-strings -n 2 %t | FileCheck --check-prefix CHECK-2 %s --implicit-check-not={{.}}
12 RUN: llvm-strings -n 4 %t | FileCheck --check-prefix CHECK-4 %s --implicit-check-not={{.}}
13 RUN: llvm-strings -n 5 %t | FileCheck --check-prefix CHECK-5 %s --implicit-check-not={{.}}
14 RUN: llvm-strings -n 6 %t | FileCheck %s --implicit-check-not={{.}} --allow-empty
17 RUN: llvm-strings %t | FileCheck --check-prefix CHECK-4 %s --implicit-check-not={{.}}
20 RUN: llvm-strings --bytes 2 %t | FileCheck --check-prefix CHECK-2 %s --implicit-check-not={{.}}
23 RUN: llvm-strings --bytes=2 %t | FileCheck --check-prefix CHECK-2 %s --implicit-check-not={{.}}
[all …]
H A Dradix.test1 ## Show that llvm-strings can handle the -t/--radix switch properly.
17 RUN: llvm-strings %t/a.txt | FileCheck %s -check-prefix CHECK-NONE --implicit-check-not={{.}}
18 RUN: llvm-strings -t d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace --implic…
19 RUN: llvm-strings -t o %t/a.txt | FileCheck %s -check-prefix CHECK-OCT --strict-whitespace --implic…
20 RUN: llvm-strings -t x %t/a.txt | FileCheck %s -check-prefix CHECK-HEX --strict-whitespace --implic…
23 RUN: llvm-strings --radix d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace
24 RUN: llvm-strings --radix o %t/a.txt | FileCheck %s -check-prefix CHECK-OCT --strict-whitespace
25 RUN: llvm-strings --radix x %t/a.txt | FileCheck %s -check-prefix CHECK-HEX --strict-whitespace
28 RUN: llvm-strings --radix=d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace
29 RUN: llvm-strings -t d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace
[all …]
H A Dstdin.test1 ## Show that llvm-strings can handle stdin input properly.
4 RUN: echo -n "abcdefg" | llvm-strings - | FileCheck %s --check-prefix=CASE1 --implicit-check-not={{…
8 RUN: echo -n "abc" | llvm-strings - | FileCheck %s --implicit-check-not={{.}} --allow-empty
11 RUN: echo -e "abcd\nefgh" | llvm-strings - | FileCheck %s --check-prefix=CASE3 --implicit-check-not…
16 RUN: echo -e "abcd\x00ef\x1fghij\x7fklmn" | llvm-strings - | FileCheck %s --check-prefix=CASE4 --im…
22 RUN: echo -n "abcdefg" | llvm-strings | FileCheck %s --check-prefix=CASE1 --implicit-check-not={{.}}
H A Dall-sections.test1 ## Show that the -a/--all switch is accepted. GNU strings checks specific object
2 ## file sections unless --all is specified. llvm-strings just looks at the entire
5 RUN: echo abcd | llvm-strings -a | FileCheck %s
6 RUN: echo abcd | llvm-strings --all | FileCheck %s
H A Dstdin-filename.test3 RUN: echo abcd | llvm-strings -f - | FileCheck %s
4 RUN: echo abcd | llvm-strings -f | FileCheck %s
5 RUN: echo abcd | llvm-strings --print-file-name - | FileCheck %s
6 RUN: echo abcd | llvm-strings --print-file-name | FileCheck %s
H A Deof.test1 ## Show that llvm-strings prints the last string in the input even if no
4 RUN: echo -n abcdefg | llvm-strings - | FileCheck %s --check-prefix=PRINT
7 ## Show that llvm-strings does not print the last string in the input if it is
10 RUN: echo -n abc | llvm-strings - | FileCheck --allow-empty %s --check-prefix=NOPRINT
/llvm-project/libcxx/benchmarks/
H A Dstring.bench.cpp
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/
H A Dmain.cpp21 string_vect strings; // Set break point at this line. in main() local
22 strings.push_back(std::string("goofy")); in main()
23 strings.push_back(std::string("is")); in main()
24 strings.push_back(std::string("smart")); in main()
26 strings.push_back(std::string("!!!")); // Set break point at this line. in main()
28 strings.clear(); // Set break point at this line. in main()
/llvm-project/llvm/test/TableGen/
H A DAllowDuplicateRegisterNames.td47 // CHECK: case 2: // 8 strings to match.
52 // CHECK: case '0': // 2 strings to match.
54 // CHECK: case '1': // 2 strings to match.
56 // CHECK: case '2': // 2 strings to match.
58 // CHECK: case '3': // 2 strings to match.
69 // CHECK: case 2: // 8 strings to match.
74 // CHECK: case '0': // 2 strings to match.
76 // CHECK: case '1': // 2 strings to match.
78 // CHECK: case '2': // 2 strings to match.
80 // CHECK: case '3': // 2 strings to match.
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/
H A Dmain.cpp30 string_vect strings; in main() local
31 (strings.push_back(std::string("goofy"))); in main()
32 (strings.push_back(std::string("is"))); in main()
33 (strings.push_back(std::string("smart"))); in main()
35 (strings.push_back(std::string("!!!"))); in main()
38 strings.clear(); in main()
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dstring-dump.test1 # Check the dumping of a section as strings.
4 # RUN: llvm-readobj --string-dump=.strings \
11 # RUN: llvm-readobj -p.strings -p.strings -p.not_null_terminated %t | cmp %t.readobj.out -
17 # RUN: llvm-readelf --file-header --string-dump=.strings \
21 # RUN: llvm-readelf -h -p .strings -p .not_null_terminated %t | cmp %t.readelf.out -
22 # RUN: llvm-readelf -p.strings -hp.not_null_terminated %t | cmp %t.readelf.out -
28 # CHECK-NEXT: String dump of section '.strings':
32 # CHECK-NEXT: [ e] strings
54 - Name: .strings
H A Ddecompress-zstd.test6 # RUN: llvm-readelf -z -x .strings %t | FileCheck %s --check-prefix=HEX
7 # RUN: llvm-readobj --decompress -p .strings %t | FileCheck %s --check-prefix=STR
9 # HEX: Hex dump of section '.strings':
13 # STR: String dump of section '.strings':
17 # STR-NEXT: [ e] strings
25 - Name: .strings
H A Ddecompress-zlib.test6 # RUN: llvm-readelf -z -x .strings -x .not_null_terminated %t | FileCheck %s --check-prefix=HEX
7 # RUN: llvm-readobj --decompress -p .strings -p .not_null_terminated %t | FileCheck %s --check-pref…
9 # HEX: Hex dump of section '.strings':
15 # STR: String dump of section '.strings':
19 # STR-NEXT: [ e] strings
26 # RUN: llvm-readobj -x .strings -p .not_null_terminated %t | FileCheck %s --check-prefix=COMPRESSED
32 # COMPRESSED-NEXT: Hex dump of section '.strings':
60 - Name: .strings
/llvm-project/lld/test/ELF/
H A Demit-relocs-mergeable.s10 # CHECK: Name: .strings
30 # CHECK-NEXT: 0x201120 R_X86_64_64 .strings 0x0
31 # CHECK-NEXT: 0x201128 R_X86_64_64 .strings 0x8
32 # CHECK-NEXT: 0x201130 R_X86_64_64 .strings 0x8
33 # CHECK-NEXT: 0x201138 R_X86_64_64 .strings 0x4
37 .section .strings,"MS",@progbits,1,unique,10
43 .section .strings,"MS",@progbits,1,unique,20
/llvm-project/lld/test/MachO/
H A Dobjc-methname.s4 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %t/strings.s -o %t/strings.o
7 # RUN: %lld -arch arm64 -lSystem -o %t.out %t/strings.o %t/main.o --no-deduplicate-strings
12 # RUN: %lld -arch arm64 -lSystem -o %t/duplicates %t/strings.o %t/strings.o %t/main.o
26 #--- strings.s
/llvm-project/llvm/test/Bitcode/
H A Dmetadata-function-blocks.ll10 ; Check for strings in the global pool.
13 ; CHECK-SAME: /> num-strings = 3 {
40 ; Look at metadata local to @foo, starting with strings.
44 ; CHECK-SAME: /> num-strings = 1 {
48 ; Function-local nodes start at 9 (strings at 8).
60 ; Look at metadata local to @bar, starting with strings.
64 ; CHECK-SAME: /> num-strings = 1 {
68 ; Function-local nodes start at 9 (strings at 8).
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/
H A Dmain.cpp28 std::vector<std::string> strings{"goofy", "is", "smart", "!!!"}; in main() local
29 strings.reserve(strings.size() + 1); in main()
32 dynamic_string_span strings_span{std::span{strings}.subspan(2)}; in main()
41 strings.emplace_back("???"); in main()
/llvm-project/libcxx/test/libcxx/ranges/range.adaptors/range.join/range.join.iterator/
H A Dctor.parent.outer.pass.cpp22 std::string strings[4] = {"aaaa", "bbbb", "cccc", "dddd"}; in test() local
25 MoveOnAccessSubrange r{DieOnCopyIterator(strings), sentinel_wrapper(strings + 4)}; in test()
32 MoveOnAccessSubrange r{DieOnCopyIterator(strings), sentinel_wrapper(strings + 4)}; in test()
/llvm-project/lldb/source/API/
H A DSBStringList.cpp87 void SBStringList::AppendList(const SBStringList &strings) { in AppendList() argument
88 LLDB_INSTRUMENT_VA(this, strings); in AppendList()
90 if (strings.IsValid()) { in AppendList()
93 m_opaque_up->AppendList(*(strings.m_opaque_up)); in AppendList()
97 void SBStringList::AppendList(const StringList &strings) { in AppendList() argument
100 m_opaque_up->AppendList(strings); in AppendList()
/llvm-project/compiler-rt/test/asan/TestCases/
H A Dbacktrace_symbols_interceptor.cpp28 char **strings = backtrace_symbols(buffer, numEntries); in main() local
29 assert(strings != NULL); in main()
32 printf("%s\n", strings[i]); in main()
35 free(strings); in main()
/llvm-project/llvm/tools/llvm-strings/
H A DCMakeLists.txt12 add_llvm_tool(llvm-strings
13 llvm-strings.cpp
19 add_llvm_tool_symlink(strings llvm-strings)

12345678910>>...16