Home
last modified time | relevance | path

Searched full:cstr (Results 1 – 25 of 196) sorted by relevance

12345678

/llvm-project/mlir/lib/Dialect/Arith/IR/
H A DValueBoundsOpInterfaceImpl.cpp23 ValueBoundsConstraintSet &cstr) const { in populateBoundsForIndexValue()
33 AffineExpr lhs = cstr.getExpr(addIOp.getLhs()); in populateBoundsForIndexValue()
34 AffineExpr rhs = cstr.getExpr(addIOp.getRhs()); in populateBoundsForIndexValue()
35 cstr.bound(value) == lhs + rhs; in populateBoundsForIndexValue()
43 ValueBoundsConstraintSet &cstr) const { in populateBoundsForIndexValue()
48 cstr.bound(value) == attr.getInt(); in populateBoundsForIndexValue()
55 ValueBoundsConstraintSet &cstr) const { in populateBoundsForIndexValue()
59 AffineExpr lhs = cstr.getExpr(subIOp.getLhs()); in populateBoundsForIndexValue()
60 AffineExpr rhs = cstr.getExpr(subIOp.getRhs()); in populateBoundsForIndexValue()
61 cstr in populateBoundsForIndexValue()
[all...]
/llvm-project/mlir/lib/Dialect/SCF/IR/
H A DValueBoundsOpInterfaceImpl.cpp47 ValueBoundsConstraintSet &cstr) { in populateIterArgBounds()
63 if (cstr.populateAndCompare( in populateIterArgBounds()
68 cstr.bound(value)[*dim] == cstr.getExpr(initArg, dim); in populateIterArgBounds()
70 cstr.bound(value) == cstr.getExpr(initArg); in populateIterArgBounds()
80 AffineExpr lbExpr = cstr.getExpr(forOp.getLowerBound()); in populateBoundsForIndexValue()
81 AffineExpr ubExpr = cstr.getExpr(forOp.getUpperBound()); in populateBoundsForIndexValue()
82 AffineExpr stepExpr = cstr.getExpr(forOp.getStep()); in populateBoundsForIndexValue()
86 cstr in populateBoundsForIndexValue()
[all...]
/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/
H A Dgc-unit-overlapping-address-ranges.test168 - CStr: by_hand
170 - CStr: CU1
175 - CStr: class1
179 - CStr: member1
183 - CStr: class2
187 - CStr: member1
191 - CStr: class3
195 - CStr: member1
199 - CStr: int
202 - CStr: foo1
[all …]
H A Dgc-func-overlapping-address-ranges.test161 - CStr: by_hand
163 - CStr: CU1
168 - CStr: class1
172 - CStr: member1
176 - CStr: class2
180 - CStr: member1
184 - CStr: int
187 - CStr: foo1
193 - CStr: foo2
199 - CStr: foo3
[all …]
H A Dodr-fwd-declaration.test248 - CStr: by_hand
250 - CStr: CU1
255 - CStr: class1
258 - CStr: class2
265 - CStr: int
274 - CStr: var1
279 - CStr: var2
287 - CStr: by_hand
289 - CStr: CU2
294 - CStr: class1
[all …]
H A Dgc-exec.test105 - CStr: by_hand
107 - CStr: CU1
112 - CStr: class1
116 - CStr: member1
120 - CStr: class2
124 - CStr: member1
128 - CStr: class3
132 - CStr: member1
136 - CStr: int
139 - CStr: foo1
[all …]
H A Dgc-bfd.test105 - CStr: by_hand
107 - CStr: CU1
112 - CStr: class1
116 - CStr: member1
120 - CStr: class2
124 - CStr: member1
128 - CStr: class3
132 - CStr: member1
136 - CStr: int
139 - CStr: foo1
[all …]
H A Dverify.test105 - CStr: by_hand
107 - CStr: CU1
112 - CStr: class1
116 - CStr: member1
120 - CStr: class2
124 - CStr: member1
128 - CStr: class3
132 - CStr: member1
136 - CStr: int
139 - CStr
[all...]
H A Dgc-maxpc.test108 - CStr: by_hand
110 - CStr: CU1
115 - CStr: class1
119 - CStr: member1
123 - CStr: class2
127 - CStr: member1
131 - CStr: class3
135 - CStr: member1
139 - CStr: int
142 - CStr: foo1
[all …]
H A Dgc-class.test270 - CStr: by_hand
272 - CStr: CU1
277 - CStr: class1
281 - CStr: member1
285 - CStr: member2
289 - CStr: int
292 - CStr: char
295 - CStr: float
301 - CStr: var1
309 - CStr: by_hand
[all …]
H A Ddwarf4-macro-vendor-specific.test127 - CStr: by_hand
129 - CStr: CU1
135 - CStr: class1
139 - CStr: member1
143 - CStr: member2
147 - CStr: int
150 - CStr: char
153 - CStr: float
159 - CStr: var1
164 - CStr: foo1
H A Dgc-no-garbage.test107 - CStr: by_hand
109 - CStr: CU1
114 - CStr: class1
118 - CStr: member1
122 - CStr: class2
126 - CStr: member1
130 - CStr: int
133 - CStr: foo1
139 - CStr: foo2
H A Ddwarf4-macro-short.test141 - CStr: by_hand
143 - CStr: CU1
149 - CStr: class1
153 - CStr: member1
157 - CStr: member2
161 - CStr: int
164 - CStr: char
167 - CStr: float
173 - CStr: var1
178 - CStr: foo1
H A Ddwarf5-macro-opcodeop.test139 - CStr: by_hand
141 - CStr: CU1
148 - CStr: class1
152 - CStr: member1
156 - CStr: member2
160 - CStr: int
163 - CStr: char
166 - CStr: float
172 - CStr: var1
177 - CStr: foo1
/llvm-project/lldb/source/Utility/
H A DConstString.cpp89 const char *GetConstCString(const char *cstr) { in GetConstCString() argument
90 if (cstr != nullptr) in GetConstCString()
91 return GetConstCStringWithLength(cstr, strlen(cstr)); in GetConstCString()
95 const char *GetConstCStringWithLength(const char *cstr, size_t cstr_len) { in GetConstCStringWithLength() argument
96 if (cstr != nullptr) in GetConstCStringWithLength()
97 return GetConstCStringWithStringRef(llvm::StringRef(cstr, cstr_len)); in GetConstCStringWithLength()
156 const char *GetConstTrimmedCStringWithLength(const char *cstr, in GetConstTrimmedCStringWithLength() argument
158 if (cstr != nullptr) { in GetConstTrimmedCStringWithLength()
159 const size_t trimmed_len = strnlen(cstr, cstr_len); in GetConstTrimmedCStringWithLength()
160 return GetConstCStringWithLength(cstr, trimmed_len); in GetConstTrimmedCStringWithLength()
[all …]
/llvm-project/mlir/lib/Dialect/Tensor/IR/
H A DValueBoundsOpInterfaceImpl.cpp23 ValueBoundsConstraintSet &cstr) const { in populateBoundsForShapedValueDim()
29 cstr.bound(value)[dim] == cstr.getExpr(castOp.getSource(), dim); in populateBoundsForShapedValueDim()
37 ValueBoundsConstraintSet &cstr) const { in populateBoundsForIndexValue()
41 cstr.bound(value) >= 0; in populateBoundsForIndexValue()
45 cstr.bound(value) == cstr.getExpr(dimOp.getSource(), *constIndex); in populateBoundsForIndexValue()
52 ValueBoundsConstraintSet &cstr) const { in populateBoundsForShapedValueDim()
56 cstr.bound(value)[dim] == emptyOp.getMixedSizes()[dim]; in populateBoundsForShapedValueDim()
64 ValueBoundsConstraintSet &cstr) cons in populateBoundsForShapedValueDim()
[all...]
/llvm-project/mlir/lib/Interfaces/
H A DValueBoundsOpInterface.cpp184 LogicalResult status = cstr.addBound( in addBound()
186 AffineMap::get(cstr.getNumDimVars(), cstr.getNumSymbolVars(), expr), in addBound()
270 int64_t pos = isSymbol ? cstr.appendVar(VarKind::Symbol) in insert()
271 : cstr.appendVar(VarKind::SetDim); in insert()
293 int64_t pos = isSymbol ? cstr.appendVar(VarKind::Symbol) in insert()
294 : cstr.appendVar(VarKind::SetDim); in insert()
350 assert(pos >= 0 && pos < cstr.getNumDimAndSymbolVars() && "invalid position"); in getPosExpr()
351 return pos < cstr.getNumDimVars() in getPosExpr()
353 : builder.getAffineSymbolExpr(pos - cstr in getPosExpr()
474 ValueBoundsConstraintSet cstr(ctx, stopCondition); computeBound() local
590 __anonf0cb43470402(Value v, std::optional<int64_t> d, ValueBoundsConstraintSet &cstr) computeDependentBound() argument
625 __anonf0cb43470602(Value v, std::optional<int64_t> d, ValueBoundsConstraintSet &cstr) computeIndependentBound() argument
638 __anonf0cb43470702(Value v, std::optional<int64_t> dim, ValueBoundsConstraintSet &cstr) computeConstantBound() argument
642 ValueBoundsConstraintSet cstr( computeConstantBound() local
753 __anonf0cb43470802(Value v, std::optional<int64_t> dim, ValueBoundsConstraintSet &cstr) compare() argument
761 ValueBoundsConstraintSet cstr(lhs.getContext(), stopCondition); compare() local
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dredundant-string-cstr-function.cpp1 // RUN: %check_clang_tidy %s readability-redundant-string-cstr %t -- \
3 // RUN: {readability-redundant-string-cstr.StringParameterFunctions: \
29 …K-MESSAGES: :[[@LINE-1]]:26: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in fmt_print()
33 …K-MESSAGES: :[[@LINE-1]]:42: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in fmt_print()
34 …K-MESSAGES: :[[@LINE-2]]:58: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in fmt_print()
50 …K-MESSAGES: :[[@LINE-1]]:37: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in fmt_format()
54 …K-MESSAGES: :[[@LINE-1]]:53: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in fmt_format()
55 …K-MESSAGES: :[[@LINE-2]]:69: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in fmt_format()
88 …K-MESSAGES: :[[@LINE-1]]:18: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in logger1()
89 …K-MESSAGES: :[[@LINE-2]]:34: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in logger1()
[all …]
H A Dredundant-string-cstr-format.cpp1 // RUN: %check_clang_tidy -check-suffix=STDFORMAT -std=c++20 %s readability-redundant-string-cstr %…
2 …ck-suffixes=STDFORMAT,STDPRINT -std=c++2b %s readability-redundant-string-cstr %t -- -- -isystem …
59 …-STDFORMAT: :[[@LINE-1]]:37: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format()
63 …-STDFORMAT: :[[@LINE-1]]:61: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format()
64 …-STDFORMAT: :[[@LINE-2]]:77: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format()
65 …-STDFORMAT: :[[@LINE-3]]:89: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format()
70 …-STDFORMAT: :[[@LINE-1]]:33: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format()
76 …-STDFORMAT: :[[@LINE-1]]:38: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format_wide()
80 …-STDFORMAT: :[[@LINE-1]]:62: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format_wide()
81 …-STDFORMAT: :[[@LINE-2]]:78: warning: redundant call to 'c_str' [readability-redundant-string-cstr] in std_format_wide()
[all …]
/llvm-project/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/
H A Dodr-types-in-subprogram1.test334 - CStr: by_hand
336 - CStr: CU1
339 - CStr: foo
340 - CStr: __Z3foov
349 - CStr: clas1
352 - CStr: first
356 - CStr: second
362 - CStr: clas1
365 - CStr: first
370 - CStr: Container
[all …]
H A Dodr-fwd-declaration3.test292 - CStr: by_hand
294 - CStr: CU1
297 - CStr: class1
300 - CStr: class2
307 - CStr: int
316 - CStr: var1
321 - CStr: var2
329 - CStr: by_hand
331 - CStr: CU2
334 - CStr: class1
[all …]
H A Dodr-nested-types2.test301 - CStr: by_hand
303 - CStr: CU1
306 - CStr: s1
309 - CStr: s2
312 - CStr: m
318 - CStr: namespace1
321 - CStr: s3
325 - CStr: int
334 - CStr: var1
339 - CStr: var2
[all …]
/llvm-project/mlir/lib/Dialect/MemRef/IR/
H A DValueBoundsOpInterfaceImpl.cpp25 ValueBoundsConstraintSet &cstr) const { in populateBoundsForShapedValueDim()
29 cstr.bound(value)[dim] == allocOp.getMixedSizes()[dim]; in populateBoundsForShapedValueDim()
36 ValueBoundsConstraintSet &cstr) const { in populateBoundsForShapedValueDim()
42 cstr.bound(value)[dim] == cstr.getExpr(castOp.getSource(), dim); in populateBoundsForShapedValueDim()
50 ValueBoundsConstraintSet &cstr) const { in populateBoundsForIndexValue()
54 cstr.bound(value) >= 0; in populateBoundsForIndexValue()
58 cstr.bound(value) == cstr.getExpr(dimOp.getSource(), *constIndex); in populateBoundsForIndexValue()
66 ValueBoundsConstraintSet &cstr) cons in populateBoundsForShapedValueDim()
[all...]
/llvm-project/llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/
H A Dcommon.yaml95 - CStr: by_hand
97 - CStr: CU1
102 - CStr: class1
106 - CStr: member1
110 - CStr: member2
114 - CStr: int
117 - CStr: char
120 - CStr: float
126 - CStr: var1
131 - CStr: foo1
/llvm-project/libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/
H A Dformatter.c_string.pass.cpp34 #define CSTR(S) MAKE_CSTRING(CharT, S)
97 CSTR(" azAZ09,./<>?")); in test_char_pointer()
99 std::basic_string<CharT> s(CSTR("abc\0abc"), 7); in test_char_pointer()
102 test_termination_condition<ArgumentT>(STR("world"), STR("}"), CSTR("world")); in test_char_pointer()
104 CSTR("world")); in test_char_pointer()
107 CSTR("world")); in test_char_pointer()
109 CSTR("world")); in test_char_pointer()
111 CSTR("world")); in test_char_pointer()
113 CSTR("world")); in test_char_pointer()
116 CSTR("worl in test_char_pointer()
33 #define CSTR(S) MAKE_CSTRI global() macro
[all...]

12345678