/llvm-project/mlir/lib/Dialect/Arith/IR/ |
H A D | ValueBoundsOpInterfaceImpl.cpp | 23 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 D | ValueBoundsOpInterfaceImpl.cpp | 47 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 D | gc-unit-overlapping-address-ranges.test | 168 - 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 D | gc-func-overlapping-address-ranges.test | 161 - 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 D | odr-fwd-declaration.test | 248 - 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 D | gc-exec.test | 105 - 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 D | gc-bfd.test | 105 - 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 D | verify.test | 105 - 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 D | gc-maxpc.test | 108 - 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 D | gc-class.test | 270 - 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 D | dwarf4-macro-vendor-specific.test | 127 - 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 D | gc-no-garbage.test | 107 - 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 D | dwarf4-macro-short.test | 141 - 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 D | dwarf5-macro-opcodeop.test | 139 - 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 D | ConstString.cpp | 89 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 D | ValueBoundsOpInterfaceImpl.cpp | 23 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 D | ValueBoundsOpInterface.cpp | 184 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 D | redundant-string-cstr-function.cpp | 1 // 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 D | redundant-string-cstr-format.cpp | 1 // 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 D | odr-types-in-subprogram1.test | 334 - 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 D | odr-fwd-declaration3.test | 292 - 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 D | odr-nested-types2.test | 301 - 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 D | ValueBoundsOpInterfaceImpl.cpp | 25 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 D | common.yaml | 95 - 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 D | formatter.c_string.pass.cpp | 34 #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...] |