Home
last modified time | relevance | path

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

12345678910>>...15

/llvm-project-15.0.7/llvm/lib/Support/
H A DARMAttributeParser.cpp85 static const char *strings[] = { in CPU_arch() local
123 static const char *strings[] = { in FP_arch() local
147 static const char *strings[] = { in PCS_config() local
197 makeArrayRef(strings)); in ABI_FP_user_exceptions()
204 makeArrayRef(strings)); in ABI_FP_number_model()
214 if (value < array_lengthof(strings)) in ABI_align_needed()
215 description = strings[value]; in ABI_align_needed()
233 if (value < array_lengthof(strings)) in ABI_align_preserved()
234 description = std::string(strings[value]); in ABI_align_preserved()
269 static const char *strings[] = { in ABI_optimization_goals() local
[all …]
H A DCSKYAttributeParser.cpp86 static const char *strings[] = {"Error", "DSP Extension", "DSP 2.0"}; in dspVersion() local
88 makeArrayRef(strings)); in dspVersion()
94 makeArrayRef(strings)); in vdspVersion()
101 makeArrayRef(strings)); in fpuVersion()
105 static const char *strings[] = {"Error", "Soft", "SoftFP", "Hard"}; in fpuABI() local
110 static const char *strings[] = {"None", "Needed"}; in fpuRounding() local
112 makeArrayRef(strings)); in fpuRounding()
116 static const char *strings[] = {"None", "Needed"}; in fpuDenormal() local
118 makeArrayRef(strings)); in fpuDenormal()
122 static const char *strings[] = {"None", "Needed"}; in fpuException() local
[all …]
/llvm-project-15.0.7/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-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-strings.rst1 llvm-strings - print strings
4 .. program:: llvm-strings
9 :program:`llvm-strings` [*options*] [*input...*]
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.
35 $ llvm-strings input.txt
63 $ llvm-strings --print-file-name test.o test.elf
84 $ llvm-strings --radix=o test.o
92 $ llvm-strings --radix=d test.o
100 $ llvm-strings -t x test.o
[all …]
/llvm-project-15.0.7/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={{.}}
24 RUN: llvm-strings -n 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
H A Dhelp.test3 RUN: llvm-strings -h | FileCheck %s
4 RUN: llvm-strings --help | FileCheck %s
7 CHECK: USAGE: {{.*}}llvm-strings{{(.exe)?}} [options] <input object files>{{$}}
/llvm-project-15.0.7/llvm/tools/llvm-go/
H A Dllvm-go.go85 outstr = strings.TrimSuffix(outstr, "\n")
119 if strings.HasPrefix(a, "-tags=") {
134 fmt.Println(strings.Join(components, " "))
207 if !strings.HasPrefix(v, "CC=") &&
208 !strings.HasPrefix(v, "CXX=") &&
209 !strings.HasPrefix(v, "CGO_CPPFLAGS=") &&
211 !strings.HasPrefix(v, "CGO_LDFLAGS=") &&
212 !strings.HasPrefix(v, "GCCGO=") &&
213 !strings.HasPrefix(v, "GOPATH=") &&
214 !strings.HasPrefix(v, "PATH=") {
[all …]
/llvm-project-15.0.7/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-15.0.7/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-15.0.7/libcxx/benchmarks/
H A Dstring.bench.cpp243 std::string strings[kNumStrings]; in run() local
247 std::string().swap(strings[i]); in run()
249 benchmark::DoNotOptimize(strings); in run()
268 std::string strings[kNumStrings]; in run() local
272 std::string().swap(strings[i]); in run()
292 std::string strings[kNumStrings]; in run() local
296 std::string().swap(strings[i]); in run()
316 std::string strings[kNumStrings]; in run() local
342 std::string strings[kNumStrings]; in run() local
369 std::string strings[kNumStrings]; in run() local
[all …]
/llvm-project-15.0.7/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-15.0.7/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 -
26 # CHECK: String dump of section '.strings':
30 # CHECK-NEXT: [ e] strings
52 - Name: .strings
/llvm-project-15.0.7/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-15.0.7/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-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dshstrtab.yaml20 # CASE1-NEXT: [ 1] .strings{{$}}
274 SectionHeaderStringTable: .strings
278 - Name: .strings
346 SectionHeaderStringTable: .strings
374 SectionHeaderStringTable: .strings
383 - Name: .strings
406 SectionHeaderStringTable: .strings
418 - Name: .strings
435 # CASE18-NEXT: [ 1] .strings
454 - Name: .strings
[all …]
/llvm-project-15.0.7/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-15.0.7/lldb/source/API/
H A DSBStringList.cpp80 void SBStringList::AppendList(const SBStringList &strings) { in AppendList() argument
81 LLDB_INSTRUMENT_VA(this, strings); in AppendList()
83 if (strings.IsValid()) { in AppendList()
86 m_opaque_up->AppendList(*(strings.m_opaque_up)); in AppendList()
90 void SBStringList::AppendList(const StringList &strings) { in AppendList() argument
93 m_opaque_up->AppendList(strings); in AppendList()
/llvm-project-15.0.7/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)
/llvm-project-15.0.7/libc/cmake/modules/cpu_features/
H A Dcheck_cpu_features.cpp.in19 const char *strings[] = { local
25 const size_t size = sizeof(strings) / sizeof(strings[0]);
29 fputs(strings[i], stdout);
/llvm-project-15.0.7/lldb/source/Utility/
H A DStringList.cpp69 void StringList::AppendList(StringList strings) { in AppendList() argument
70 m_strings.reserve(m_strings.size() + strings.GetSize()); in AppendList()
71 m_strings.insert(m_strings.end(), strings.begin(), strings.end()); in AppendList()
221 StringList &StringList::operator<<(const StringList &strings) { in operator <<() argument
222 AppendList(strings); in operator <<()

12345678910>>...15