Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 187) sorted by relevance

12345678

/llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/
H A Dexpected.txt1 The new replacement overlaps with an existing replacement.
2 New replacement: $(path)/common.h: 106:+26:"int & elem : ints"
4 The new replacement overlaps with an existing replacement.
5 New replacement: $(path)/common.h: 140:+7:"i"
6 Existing replacement: $(path)/common.h: 140:+7:"elem"
7 The new replacement overlaps with an existing replacement.
8 New replacement: $(path)/common.h: 169:+0:"(int*)"
9 Existing replacement: $(path)/common.h: 160:+12:""
10 The new replacement overlaps with an existing replacement.
11 New replacement: $(path)/common.h: 169:+1:"nullptr"
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-deprecated-replacement-fixit.m15 #define DEPRECATED(replacement) __attribute__((deprecated("message", replacement)))
55 [object multi:0 parameter:1 replacement:2]; // expected-warning {{is deprecated}}
95 - (void)methodLike:(int)param1 replacement:(int)param2 DEPRECATED("noColon:atTheEnd");
117 [object methodLike:0 replacement:1]; // expected-warning {{is deprecated}}
138 + (void)classMethod:(int)param1 replacement:(int)param2 DEPRECATED("renameClassMethod:replace_new_m…
147 + (void)classMethod:(int)param1 replacement:(int)param2 {}
150 - (void)multi:(int)param1 parameter:(int)param2 replacement:(int)param3 {}
154 [Interface classMethod:0 replacement:1]; // expected-warning {{is deprecated}}
158 [self multi:0 parameter:1 replacement:2]; // expected-warning {{is deprecated}}
168 …(int)param1 parameter:(int)param2 replacement:(int)param3 __attribute__((availability(macosx,depre…
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DSuperVectorize.cpp786 LLVM_DEBUG(dbgs() << *replacement << "\n"); in registerOpVectorReplacement()
791 opVectorReplacement[replaced] = replacement; in registerOpVectorReplacement()
810 Value replaced, Operation *replacement) { in registerValueVectorReplacement() argument
811 assert(replacement->getNumResults() == 1 && in registerValueVectorReplacement()
814 registerOpVectorReplacement(defOp, replacement); in registerValueVectorReplacement()
833 assert(replacement.getType().isa<VectorType>() && in registerValueVectorReplacementImpl()
835 valueVectorReplacement.map(replaced, replacement); in registerValueVectorReplacementImpl()
864 Value replaced, Value replacement) { in registerLoopResultScalarReplacement() argument
870 << replacement); in registerLoopResultScalarReplacement()
878 assert(!replacement.getType().isa<VectorType>() && in registerValueScalarReplacementImpl()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/order-dependent/
H A Dexpected.txt1 The new insertion has the same insert location as an existing replacement.
2 New replacement: $(path)/order-dependent.cpp: 12:+0:"1"
3 Existing replacement: $(path)/order-dependent.cpp: 12:+0:"0"
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DDropEquivalentBufferResults.cpp121 Value replacement = callOp.getOperand(resultToArgs[i]); in dropEquivalentBufferResults() local
123 if (replacement.getType() != expectedType) { in dropEquivalentBufferResults()
125 replacement = rewriter.create<memref::CastOp>( in dropEquivalentBufferResults()
126 callOp.getLoc(), expectedType, replacement); in dropEquivalentBufferResults()
128 newResults.push_back(replacement); in dropEquivalentBufferResults()
H A DAllocTensorElimination.cpp151 Value replacement = rewriteFunc(rewriter, allocTensor.getLoc(), operand); in eliminateAllocTensors() local
152 if (!replacement) in eliminateAllocTensors()
156 rewriter.replaceOp(allocTensor.getDefiningOp(), replacement); in eliminateAllocTensors()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dimplicit-bool-conversion.rst42 // ^ propose replacement: bool boolean = floating != 0.0f;
46 // ^ propose replacement: if (integer != 0) {}
50 // ^ propose replacement: if (pointer == nullptr) {}
53 // ^ propose replacement: while (true) {}
61 // ^ propose replacement: functionTakingInt(static_cast<int>(boolean));
64 // ^ propose replacement: functionTakingInt(1);
93 - in case of negated expressions conversion to bool, the proposed replacement
119 - instead of ``nullptr`` literal, ``0`` is proposed as replacement.
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DPathMappingList.h35 void Append(llvm::StringRef path, llvm::StringRef replacement, bool notify);
51 void Insert(llvm::StringRef path, llvm::StringRef replacement,
58 bool Replace(llvm::StringRef path, llvm::StringRef replacement, bool notify);
60 bool Replace(llvm::StringRef path, llvm::StringRef replacement,
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/COFF/
H A Dlong-section-name.test19 replacement = b'/4\0abcde'
29 outp.write(replacement)
30 outp.write(data[pos + len(replacement):])
/llvm-project-15.0.7/lldb/source/Target/
H A DPathMappingList.cpp60 void PathMappingList::Append(llvm::StringRef path, llvm::StringRef replacement, in Append() argument
63 m_pairs.emplace_back(pair(NormalizePath(path), NormalizePath(replacement))); in Append()
79 void PathMappingList::Insert(llvm::StringRef path, llvm::StringRef replacement, in Insert() argument
88 NormalizePath(replacement))); in Insert()
93 bool PathMappingList::Replace(llvm::StringRef path, llvm::StringRef replacement, in Replace() argument
98 m_pairs[index] = pair(NormalizePath(path), NormalizePath(replacement)); in Replace()
/llvm-project-15.0.7/compiler-rt/test/tsan/libdispatch/
H A Dlit.local.cfg.py10 for index, (template, replacement) in enumerate(config.substitutions):
12 config.substitutions[index] = (template, replacement + additional_cflags)
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DPassDetail.cpp39 Value replacement = std::get<1>(tuple); in cloneConstantsIntoTheRegion() local
40 replaceAllUsesInRegionWith(orig, replacement, region); in cloneConstantsIntoTheRegion()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dshared-ptr-array-mismatch.rst14 The check offers replacement of ``shared_ptr<T>`` to ``shared_ptr<T[]>`` if it
23 std::shared_ptr<Foo> x1(new Foo), x2(new Foo[10]); // no replacement
29 std::shared_ptr<Foo> x(new Foo[10]); // no replacement in this case
H A Dmacro-parentheses.rst13 When the replacement list has an expression, it is recommended to surround
17 It is also recommended to surround macro arguments in the replacement list
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/android/
H A Dcloexec-pipe.rst7 suggested replacement. The check also adds the O_CLOEXEC flag that marks the file descriptor to
17 Suggested replacement:
/llvm-project-15.0.7/libcxx/utils/libcxx/test/
H A Dnewconfig.py13 for (orig, replacement) in config.substitutions:
15 return replacement
/llvm-project-15.0.7/lld/MachO/
H A DInputSection.h117 return replacement ? replacement : this; in canonical()
120 return replacement ? replacement : this; in canonical()
128 ConcatInputSection *replacement = nullptr; variable
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dreplace-lds-by-ptr-ignore-small-lds.ll6 ; from kernel @k0, but since @small_lds too small for pointer replacement, pointer
7 ; replacement does not take place.
H A Dreplace-lds-by-ptr-indirect-call-signature-match.ll9 ; pointer replacement for three lds globals.
33 ; Pointer replacement code should be added.
46 ; Pointer replacement code should be added.
59 ; Pointer replacement code should be added.
/llvm-project-15.0.7/clang/docs/tools/
H A Ddump_format_help.py15 replacement = '\n.. START_%s\n\n%s\n\n.. END_%s\n' % (tag, contents, tag)
17 return re.sub(pattern, '%s', text, flags=re.S) % replacement
/llvm-project-15.0.7/lld/test/COFF/
H A Dcommon-replacement.s4 # RUN: llvm-mc -triple=x86_64-windows-gnu %S/Inputs/common-replacement.s -filetype=obj -o %t2.obj
33 # Inputs/common-replacement.s, this symbol is replaced by a normal defined
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFormat.cpp89 tooling::Replacement replacement(llvm::StringRef Code, llvm::StringRef From, in replacement() function
175 replacement(Code, StringRef(Trailing.begin(), TrailWS), ""))); in getIncrementalChangesAfterNewline()
192 Result.Changes.add(replacement(Code, Indentation, IndentAndComment))); in getIncrementalChangesAfterNewline()
196 cantFail(Result.Changes.add(replacement(Code, Indentation, ""))); in getIncrementalChangesAfterNewline()
203 Result.Changes.add(replacement(Code, Trailing.take_front(1), "\n}"))); in getIncrementalChangesAfterNewline()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DLowerABIAttributesPass.cpp207 Value replacement = in matchAndRewrite() local
219 funcOp.getLoc(), replacement, zero.constant()); in matchAndRewrite()
220 replacement = rewriter.create<spirv::LoadOp>(funcOp.getLoc(), loadPtr); in matchAndRewrite()
222 signatureConverter.remapInput(argType.index(), replacement); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizableOpInterface.cpp624 Value replacement = values[opResult.getResultNumber()]; in replaceOpWithBufferizedValues() local
628 assert((replacement.getType().isa<MemRefType>() || in replaceOpWithBufferizedValues()
629 replacement.getType().isa<UnrankedMemRefType>()) && in replaceOpWithBufferizedValues()
635 replacement = rewriter.create<bufferization::ToTensorOp>( in replaceOpWithBufferizedValues()
636 replacement.getLoc(), replacement); in replaceOpWithBufferizedValues()
638 replacements.push_back(replacement); in replaceOpWithBufferizedValues()
/llvm-project-15.0.7/clang/tools/clang-format-vs/ClangFormat/
H A DClangFormatPackage.cs452 foreach (XElement replacement in root.Descendants("replacement")) in ApplyClangFormatReplacements()
454 int offset = int.Parse(replacement.Attribute("offset").Value); in ApplyClangFormatReplacements()
455 int length = int.Parse(replacement.Attribute("length").Value); in ApplyClangFormatReplacements()
459 edit.Replace(span, replacement.Value); in ApplyClangFormatReplacements()

12345678