Home
last modified time | relevance | path

Searched refs:String (Results 1 – 25 of 736) sorted by relevance

12345678910>>...30

/llvm-project/llvm/test/tools/dxil-dis/
H A Dmd-manystrings.ll9 !0 = !{!"String 0"}
10 !1 = !{!"String 1"}
11 !2 = !{!"String 2"}
12 !3 = !{!"String 3"}
13 !4 = !{!"String 4"}
14 !5 = !{!"String 5"}
15 !6 = !{!"String 6"}
16 !7 = !{!"String 7"}
17 !8 = !{!"String 8"}
18 !9 = !{!"String 9"}
[all …]
/llvm-project/llvm/test/Transforms/IROutliner/
H A Dopt-remarks.ll35 ; YAML-NEXT: - String: 'did not outline '
36 ; YAML-NEXT: - String: '2'
37 ; YAML-NEXT: - String: ' regions due to estimated increase of '
39 ; YAML-NEXT: - String: ' instructions at locations '
41 ; YAML-NEXT: - String: ' '
49 ; YAML-NEXT: - String: 'did not outline '
50 ; YAML-NEXT: - String: '2'
51 ; YAML-NEXT: - String: ' regions due to estimated increase of '
53 ; YAML-NEXT: - String: ' instructions at locations '
55 ; YAML-NEXT: - String: ' '
[all …]
/llvm-project/llvm/test/Transforms/Util/
H A Dtrivial-auto-var-init-call.ll14 ; YAML-NEXT: - String: 'Call to '
16 ; YAML-NEXT: - String: ' inserted by -ftrivial-auto-var-init.'
17 ; YAML-NEXT: - String: ' Inlined: '
19 ; YAML-NEXT: - String: .
20 ; YAML-NEXT: - String: ' Volatile: '
22 ; YAML-NEXT: - String: .
23 ; YAML-NEXT: - String: ' Atomic: '
25 ; YAML-NEXT: - String: .
35 ; YAML-NEXT: - String: 'Call to '
37 ; YAML-NEXT: - String: ' inserted by -ftrivial-auto-var-init.'
[all …]
H A Dtrivial-auto-var-init-store.ll15 ; YAML-NEXT: - String: Store inserted by -ftrivial-auto-var-init.
16 ; YAML-NEXT: - String: "\nStore size: "
18 ; YAML-NEXT: - String: ' bytes.'
19 ; YAML-NEXT: - String: ' Volatile: '
21 ; YAML-NEXT: - String: .
22 ; YAML-NEXT: - String: ' Atomic: '
24 ; YAML-NEXT: - String: .
40 ; YAML-NEXT: - String: Store inserted by -ftrivial-auto-var-init.
41 ; YAML-NEXT: - String: "\nStore size: "
43 ; YAML-NEXT: - String: ' bytes.'
[all …]
/llvm-project/clang/tools/libclang/
H A DCXString.cpp57 CXString createRef(const char *String) { in createRef() argument
58 if (String && String[0] == '\0') in createRef()
62 Str.data = String; in createRef()
67 CXString createDup(const char *String) { in createDup() argument
68 if (!String) in createDup()
71 if (String[0] == '\0') in createDup()
75 Str.data = strdup(String); in createDup()
80 CXString createRef(StringRef String) { in createRef() argument
81 if (!String.data()) in createRef()
87 if (String.empty()) in createRef()
[all …]
/llvm-project/llvm/unittests/ADT/
H A DConcurrentHashtableTest.cpp22 class String { class
24 String() {} in String() function in __anond67d4c160111::String
28 static String *create(const std::string &Num, AllocatorTy &Allocator) { in create()
29 String *Result = Allocator.template Allocate<String>(); in create()
30 new (Result) String(Num); in create()
35 String(const std::string &Num) { Data += Num; } in String() function in __anond67d4c160111::String
43 ConcurrentHashTableByPtr<std::string, String, PerThreadBumpPtrAllocator, in TEST()
45 std::string, String, PerThreadBumpPtrAllocator>> in TEST()
54 std::pair<String *, bool> res1 = HashTable.insert("1"); in TEST()
59 std::pair<String *, bool> res2 = HashTable.insert("2"); in TEST()
[all …]
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dmemsize-remarks.ll151 ; YAML-NEXT: - String: 'Call to '
153 ; YAML-NEXT: - String: .
154 ; YAML-NEXT: - String: ' Memory operation size: '
156 ; YAML-NEXT: - String: ' bytes.'
157 ; YAML-NEXT: - String: "\n Written Variables: "
159 ; YAML-NEXT: - String: ' ('
161 ; YAML-NEXT: - String: ' bytes)'
162 ; YAML-NEXT: - String: .
163 ; YAML-NEXT: - String: ' Inlined: '
165 ; YAML-NEXT: - String: .
[all …]
H A Dmachine-outliner-remarks.ll20 ; YAML-NEXT: - String: 'Did not outline '
22 ; YAML-NEXT: - String: ' instructions'
23 ; YAML-NEXT: - String: ' from '
25 ; YAML-NEXT: - String: ' locations.'
26 ; YAML-NEXT: - String: ' Bytes from outlining all occurrences ('
28 ; YAML-NEXT: - String: ')'
29 ; YAML-NEXT: - String: ' >= Unoutlined instruction bytes ('
31 ; YAML-NEXT: - String: ')'
32 ; YAML-NEXT: - String: ' (Also found at: '
34 ; YAML-NEXT: - String: ')'
[all …]
H A Darm64-spill-remarks.ll48 ; YAML: - String: ' spills '
50 ; YAML: - String: ' total spills cost '
52 ; YAML: - String: ' reloads '
54 ; YAML: - String: ' total reloads cost '
55 ; YAML: - String: generated in loop
65 ; YAML: - String: ' spills '
67 ; YAML: - String: ' total spills cost '
69 ; YAML: - String: ' reloads '
71 ; YAML: - String: ' total reloads cost '
72 ; YAML: - String: generated in loop
[all …]
/llvm-project/llvm/test/Transforms/SampleProfile/
H A Dpseudo-probe-profile.ll74 ;YAML-NEXT: - String: 'Applied '
76 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
78 ;YAML-NEXT: - String: ', Factor='
80 ;YAML-NEXT: - String: ', OriginalSamples='
82 ;YAML-NEXT: - String: ')'
89 ;YAML-NEXT: - String: 'Applied '
91 ;YAML-NEXT: - String: ' samples from profile (ProbeId='
93 ;YAML-NEXT: - String: ', Factor='
95 ;YAML-NEXT: - String: ', OriginalSamples='
97 ;YAML-NEXT: - String
[all...]
H A Dpseudo-probe-inline.ll89 ;YAML-NEXT: - String: ''''
92 ;YAML-NEXT: - String: ''' inlined into '''
95 ;YAML-NEXT: - String: ''''
96 ;YAML-NEXT: - String: ' to match profiling context'
97 ;YAML-NEXT: - String: ' with '
98 ;YAML-NEXT: - String: '(cost='
100 ;YAML-NEXT: - String: ', threshold='
102 ;YAML-NEXT: - String: ')'
103 ;YAML-NEXT: - String: ' at callsite '
104 ;YAML-NEXT: - String: foo
[all …]
H A Dremarks.ll42 ;YAML-NEXT: - String: ''''
45 ;YAML-NEXT: - String: ''' inlined into '
48 ;YAML-NEXT: - String: ''''
49 ;YAML-NEXT: - String: ' to match profiling context'
50 ;YAML-NEXT: - String: ' with '
51 ;YAML-NEXT: - String: '(cost='
53 ;YAML-NEXT: - String: ', threshold='
55 ;YAML-NEXT: - String: ')'
56 ;YAML-NEXT: - String: ' at callsite '
57 ;YAML-NEXT: - String: main
[all …]
/llvm-project/clang/test/CodeGenCXX/
H A Dalias-available-externally.cpp7 struct String { struct
8 String() {} in String() argument
9 ~String();
14 String<CharT>::~String() {} in ~String()
16 extern template struct String<char>;
18 struct Foo : public String<char> { Foo() { String<char> s; } }; in Foo()
/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.h21 explicit ScopedString() { String.push_back('\0'); } in ScopedString()
22 uptr length() { return String.size() - 1; } in length()
23 const char *data() { return String.data(); } in data()
25 String.clear(); in clear()
26 String.push_back('\0'); in clear()
30 void output() const { outputRaw(String.data()); } in output()
31 void reserve(size_t Size) { String.reserve(Size + 1); } in reserve()
32 uptr capacity() { return String.capacity() - 1; } in capacity()
43 Vector<char, 256> String; variable
H A Dstring_utils.cpp30 String.push_back('-'); in appendNumber()
49 String.push_back(c); in appendNumber()
52 String.push_back('-'); in appendNumber()
57 String.push_back(Digit); in appendNumber()
89 String.push_back(*S); in appendString()
96 String.push_back(' '); in appendString()
110 DCHECK(String.size() > 0); in vappend()
111 String.resize(String.size() - 1); in vappend()
120 String.push_back(*Cur); in vappend()
183 String.push_back(static_cast<char>(va_arg(Args, int))); in vappend()
[all …]
/llvm-project/llvm/test/tools/gold/X86/
H A Dopt-remarks.ll43 ; YAML-NEXT: - String: ' will not be inlined into '
45 ; YAML-NEXT: - String: ' because its definition is unavailable'
53 ; YAML-NEXT: - String: ' will not be inlined into '
55 ; YAML-NEXT: - String: ' because its definition is unavailable'
62 ; YAML-NEXT: - String: ''''
64 ; YAML-NEXT: - String: ''' inlined into '''
66 ; YAML-NEXT: - String: ''''
67 ; YAML-NEXT: - String: ' with '
68 ; YAML-NEXT: - String: '(cost='
70 ; YAML-NEXT: - String: ', threshold='
[all …]
/llvm-project/mlir/lib/Query/Matcher/
H A DVariantValue.cpp50 : type(ValueType::String) { in VariantValue()
51 value.String = new llvm::StringRef(string); in VariantValue()
66 case ValueType::String: in operator =()
81 case ValueType::String: in reset()
82 delete value.String; in reset()
94 bool VariantValue::isString() const { return type == ValueType::String; } in isString()
98 return *value.String; in getString()
103 type = ValueType::String; in setString()
104 value.String = new llvm::StringRef(newValue); in setString()
122 case ValueType::String: in getTypeAsString()
/llvm-project/llvm/test/ThinLTO/X86/
H A Ddiagnostic-handler-remarks-with-hotness.ll45 ; YAML1-NEXT: - String: ''''
47 ; YAML1-NEXT: - String: ''' inlined into '
49 ; YAML1-NEXT: - String: ''''
50 ; YAML1-NEXT: - String: ' with '
51 ; YAML1-NEXT: - String: '(cost='
53 ; YAML1-NEXT: - String: ', threshold='
55 ; YAML1-NEXT: - String: ')'
67 ; YAML2-NEXT: - String: ''''
69 ; YAML2-NEXT: - String: ''' inlined into '
71 ; YAML2-NEXT: - String: ''''
[all …]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/objc/
H A Dnsdate-formatter.rst6 When ``NSDateFormatter`` is used to convert an ``NSDate`` type to a ``String`` type, the user
14 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `yyyy-ww`;
17 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `dd-MM-yyyy (ww-YYYY)`;
22 * | **Example:** Input Date: `29 December 2014` ; Format String: `F-MM`;
27 * | **Example:** Input Date: `29 December 2014` ; Format String: `F-EE`
32 * | **Example:** Input Date: `29 December 2014` ; Format String: `WW-yyyy`
37 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-QQ`
40 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `ww-YYYY (QQ-yyyy)`
45 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-MM`
48 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `ww-YYYY (MM-yyyy)`
[all …]
/llvm-project/llvm/lib/Support/
H A DRegex.cpp83 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches, in match() argument
96 if (String.data() == nullptr) in match()
97 String = ""; in match()
103 pm[0].rm_eo = String.size(); in match()
105 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
129 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match()
137 std::string Regex::sub(StringRef Repl, StringRef String, in sub() argument
142 if (!match(String, &Matches, Error)) in sub()
143 return std::string(String); in sub()
147 std::string Res(String.begin(), Matches[0].begin()); in sub()
[all …]
/llvm-project/lld/test/ELF/lto/
H A Dopt-remarks.ll35 ; YAML-NEXT: - String: ''''
37 ; YAML-NEXT: - String: ''' inlined into '''
39 ; YAML-NEXT: - String: ''''
40 ; YAML-NEXT: - String: ' with '
41 ; YAML-NEXT: - String: '(cost='
43 ; YAML-NEXT: - String: ', threshold='
45 ; YAML-NEXT: - String: ')'
54 ; YAML-HOT-NEXT: - String: ''''
56 ; YAML-HOT-NEXT: - String: ''' inlined into '''
58 ; YAML-HOT-NEXT: - String: ''''
[all …]
/llvm-project/libcxx/test/std/strings/basic.string/string.capacity/
H A Dresize_and_overwrite.pass.cpp64 template <class String> in test()
66 test_appending<String>(10, 15, 15); in test()
67 test_appending<String>(10, 15, 20); in test()
68 test_appending<String>(10, 40, 40); in test()
69 test_appending<String>(10, 40, 50); in test()
70 test_appending<String>(30, 35, 35); in test()
71 test_appending<String>(30, 35, 45); in test()
72 test_appending<String>(10, 15, 30); in test()
73 test_truncating<String>(15, 10); in test()
74 test_truncating<String>(4 in test()
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtset/
H A Dformat.pass.cpp42 using String = std::basic_string<CharT>; in test_format()
43 using OutIt = std::back_insert_iterator<String>; in test_format()
48 String result; in test_format()
57 using String = std::basic_string<CharT>; in test_assure_parse_is_called()
58 using OutIt = std::back_insert_iterator<String>; in test_assure_parse_is_called()
62 String result; in test_assure_parse_is_called()
75 using String = std::basic_string<CharT>; in test_assure_parse_is_called()
76 using OutIt = std::back_insert_iterator<String>; in test_assure_parse_is_called()
80 String result; in test_assure_parse_is_called()
41 using String = std::basic_string<CharT>; test_format() typedef
56 using String = std::basic_string<CharT>; test_assure_parse_is_called() typedef
74 using String = std::basic_string<CharT>; test_assure_parse_is_called() typedef
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtdef/
H A Dformat.pass.cpp39 using String = std::basic_string<CharT>; in test_format()
40 using OutIt = std::back_insert_iterator<String>; in test_format()
45 String result; in test_format()
54 using String = std::basic_string<CharT>; in test_assure_parse_is_called()
55 using OutIt = std::back_insert_iterator<String>; in test_assure_parse_is_called()
59 String result; in test_assure_parse_is_called()
72 using String = std::basic_string<CharT>; in test_assure_parse_is_called()
73 using OutIt = std::back_insert_iterator<String>; in test_assure_parse_is_called()
77 String result; in test_assure_parse_is_called()
38 using String = std::basic_string<CharT>; test_format() typedef
53 using String = std::basic_string<CharT>; test_assure_parse_is_called() typedef
71 using String = std::basic_string<CharT>; test_assure_parse_is_called() typedef
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.formatter/
H A Dformat.pass.cpp43 using String = std::basic_string<CharT>; in test_format()
44 using OutIt = std::back_insert_iterator<String>; in test_format()
49 String result; in test_format()
58 using String = std::basic_string<CharT>; in test_assure_parse_is_called()
59 using OutIt = std::back_insert_iterator<String>; in test_assure_parse_is_called()
63 String result; in test_assure_parse_is_called()
76 using String = std::basic_string<CharT>; in test_assure_parse_is_called()
77 using OutIt = std::back_insert_iterator<String>; in test_assure_parse_is_called()
81 String result; in test_assure_parse_is_called()
42 using String = std::basic_string<CharT>; test_format() typedef
57 using String = std::basic_string<CharT>; test_assure_parse_is_called() typedef
75 using String = std::basic_string<CharT>; test_assure_parse_is_called() typedef

12345678910>>...30