HomeSort by: relevance | last modified time | path
    Searched defs:Replacement (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/tools/libclang/
Rewrite.cpp 35 const char *Replacement) {
39 Replacement);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
ComputeReplacements.cpp 8 #include "clang/Tooling/Core/Replacement.h"
92 // Text inserted by the replacement we are building now.
93 std::string Replacement;
95 if (ReplacedRange.empty() && Replacement.empty())
97 llvm::cantFail(Replacements.add(tooling::Replacement(
98 SM, rangeOfExpanded(A, ReplacedRange).toCharRange(SM), Replacement)));
99 Replacement = "";
106 Replacement +=
113 // There is a gap, record a replacement or deletion.
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
FunctionImportUtils.cpp 317 auto Replacement = RenamedComdats.find(C);
318 if (Replacement != RenamedComdats.end())
319 GO.setComdat(Replacement->second);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ReplaceWithVeclib.cpp 77 CallInst *Replacement = IRBuilder.CreateCall(TLIFunc, Args, OpBundles);
80 CI.replaceAllUsesWith(Replacement);
81 if (isa<FPMathOperator>(Replacement)) {
83 Replacement->copyFastMathFlags(&CI);
101 // Replacement is only performed for intrinsic functions
121 // the replacement.
SafeStack.cpp 626 Value *Replacement = IRBUser.CreateBitCast(Off, AI->getType(), Name);
631 PHI->setIncomingValueForBlock(PHI->getIncomingBlock(U), Replacement);
633 U.set(Replacement);
858 static char ID; // Pass identification, replacement for typeid..
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
RewriteRule.h 38 // Inserts an include in the file. The `Replacement` field is the name of the
44 /// the source to be replaced and a corresponding replacement string.
48 std::string Replacement;
70 // node, a replacement and, optionally, an explanation for the edit.
74 // replacement applied by the replacement term. By default, the extent is the
78 // * Replacement: a function that produces a replacement string for the target,
107 TextGenerator Replacement;
174 /// Replaces a portion of the source text with \p Replacement
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
RefactoringCallbacks.cpp 45 // Clear the matchers so that each Replacement is only emitted once.
51 for (const auto &Replacement : Callback->getReplacements()) {
53 Refactoring.FileToReplaces[std::string(Replacement.getFilePath())]
54 .add(Replacement);
56 llvm::errs() << "Skipping replacement " << Replacement.toString()
72 static Replacement replaceStmtWithText(SourceManager &Sources, const Stmt &From,
74 return tooling::Replacement(
77 static Replacement replaceStmtWithStmt(SourceManager &Sources, const Stmt &From,
91 auto Err = Replace.add(tooling::Replacement(
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
preprocess.h 97 char *Replacement;
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
TemplateName.h 355 TemplateName Replacement;
358 TemplateName replacement)
360 Parameter(parameter), Replacement(replacement) {}
364 TemplateName getReplacement() const { return Replacement; }
370 TemplateName replacement);
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Core/
Replacement.h 1 //===- Replacement.h - Framework for clang refactoring tools ----*- C++ -*-===//
79 /// A text replacement.
81 /// Represents a SourceManager independent replacement of a range of text in a
83 class Replacement {
85 /// Creates an invalid (not applicable) replacement.
86 Replacement();
88 /// Creates a replacement of the range [Offset, Offset+Length) in
94 Replacement(StringRef FilePath, unsigned Offset, unsigned Length,
97 /// Creates a Replacement of the range [Start, Start+Length) with
99 Replacement(const SourceManager &Sources, SourceLocation Start
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseExprCXX.cpp 559 Token &Replacement) {
613 &Replacement);
674 Token Replacement;
676 tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement);
679 // keyword replacement that needs to be reparsed.
680 UnconsumeToken(Replacement);
681 Result = tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement);
683 assert(!Result.isUnset() && "Typo correction suggested a keyword replacement "
ParseDeclCXX.cpp 3780 const char *Replacement = IsNoexcept ? "noexcept" : "noexcept(false)";
3787 << Replacement << FixItHint::CreateReplacement(Range, Replacement);
ParseExpr.cpp 1024 Token Replacement;
1025 Res = tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement);
1237 Token Replacement;
1254 Tok.is(tok::r_paren) ? nullptr : &Replacement);
1256 UnconsumeToken(Replacement);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
R600OpenCLImageTypeLoweringPass.cpp 164 Value *Replacement = nullptr;
167 Replacement = ConstantInt::get(Int32Type, ResourceID);
169 Replacement = &ImageSizeArg;
171 Replacement = &ImageFormatArg;
176 Inst->replaceAllUsesWith(Replacement);
197 Value *Replacement = nullptr;
200 Replacement = ConstantInt::get(Int32Type, ResourceID);
205 Inst->replaceAllUsesWith(Replacement);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroEarly.cpp 74 Value *Replacement =
77 Intrin->replaceAllUsesWith(Replacement);
241 static char ID; // Pass identification, replacement for typeid.
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
ThinLTOBitcodeWriter.cpp 77 auto Replacement = RenamedComdats.find(C);
78 if (Replacement != RenamedComdats.end())
79 GO.setComdat(Replacement->second);
527 static char ID; // Pass identification, replacement for typeid
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Core/
Replacement.cpp 1 //===- Replacement.cpp - Framework for clang refactoring tools ------------===//
13 #include "clang/Tooling/Core/Replacement.h"
45 Replacement::Replacement() : FilePath(InvalidLocation) {}
47 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length,
52 Replacement::Replacement(const SourceManager &Sources, SourceLocation Start,
57 Replacement::Replacement(const SourceManager &Sources
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
BasicBlock.cpp 78 Constant *Replacement =
82 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement,
  /src/sys/external/bsd/acpica/dist/tools/acpisrc/
acpisrc.h 144 char *Replacement;
250 char *Replacement,
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ParsedAttr.h 158 const Expr *Replacement;
164 : StrictLoc(Strict), Replacement(ReplaceExpr) {
529 return getAvailabilityData()->Replacement;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAvailability.cpp 488 StringRef Replacement;
490 Replacement = AL->getReplacement();
492 Replacement = AL->getReplacement();
495 if (!Replacement.empty())
503 Replacement, SelectorSlotNames, S.getLangOpts());
517 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement));
519 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement));
SemaTemplateInstantiate.cpp 1825 QualType Replacement = Arg.getAsType();
1829 = getSema().Context.getSubstTemplateTypeParmType(T, Replacement);
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint/
CrashDebugger.cpp 287 Constant *Replacement = ConstantPointerNull::get(Ty);
288 Alias.replaceAllUsesWith(Replacement);
295 Constant *Replacement = ConstantPointerNull::get(Ty);
296 I.replaceAllUsesWith(Replacement);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprConstant.cpp 138 assert(BeginOff <= EndOff && "invalid replacement range");
534 llvm::Constant *Replacement = buildFrom(
538 replace(Elems, First, Last, {Replacement});
1498 // Do the replacement; this basically invalidates 'init'.
1571 // replacement will succeed.
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
HWAddressSanitizer.cpp 314 // Pass identification, replacement for typeid.
1157 Value *Replacement = tagPointer(IRB, AI->getType(), AILong, Tag);
1160 Replacement->setName(Name + ".hwasan");
1162 AI->replaceUsesWithIf(Replacement,

Completed in 47 milliseconds

1 2