/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | HTMLRewrite.h | 22 class Rewriter; variable 41 void HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E, 49 inline void HighlightRange(Rewriter &R, SourceRange Range, in HighlightRange() 62 void EscapeText(Rewriter& R, FileID FID, 72 void AddLineNumbers(Rewriter& R, FileID FID); 74 void AddHeaderFooterInternalBuiltinCSS(Rewriter &R, FileID FID, 79 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP, 86 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP,
|
H A D | Rewriter.h | 32 class Rewriter { 68 explicit Rewriter() = default; 69 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter() function
|
H A D | RewriteBuffer.h | 26 friend class Rewriter; variable
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteTest.cpp | 22 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest() local 25 for (TokenRewriter::token_iterator I = Rewriter.token_begin(), in DoRewriteTest() 26 E = Rewriter.token_end(); I != E; ++I) { in DoRewriteTest() 29 Rewriter.AddTokenBefore(I, "<i>"); in DoRewriteTest() 30 Rewriter.AddTokenAfter(I, "</i>"); in DoRewriteTest() 35 for (TokenRewriter::token_iterator I = Rewriter.token_begin(), in DoRewriteTest() 36 E = Rewriter.token_end(); I != E; ++I) in DoRewriteTest()
|
H A D | RewriteMacros.cpp | 92 Rewriter Rewrite; in RewriteMacrosInInput()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | Refactoring.h | 28 class Rewriter; variable 64 bool applyAllReplacements(Rewriter &Rewrite); 68 int saveRewrittenFiles(Rewriter &Rewrite); 94 Rewriter &Rewrite, StringRef Style = "file");
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 146 bool simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI); 152 bool optimizeLoopExits(Loop *L, SCEVExpander &Rewriter); 155 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter); 161 PHINode *IndVar, SCEVExpander &Rewriter); 597 SCEVExpander &Rewriter, in simplifyAndExtend() argument 628 Rewriter, &Visitor); in simplifyAndExtend() 644 if (PHINode *WidePhi = createWideIV(WideIVs.back(), LI, SE, Rewriter, in simplifyAndExtend() 918 SCEVExpander &Rewriter, ScalarEvolution *SE) { in genLoopLimit() argument 941 return Rewriter.expandCodeFor(IVLimit, ARBase->getType(), in genLoopLimit() 953 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument [all …]
|
H A D | LoopPredication.cpp | 321 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter); 1031 bool LoopPredication::predicateLoopExits(Loop *L, SCEVExpander &Rewriter) { in isLoopProfitableToPredicate() 1109 !Rewriter.isSafeToExpandAt(MinEC, IP)) 1112 Rewriter.setInsertPoint(IP); 1136 !Rewriter.isSafeToExpandAt(ExitCount, WidenableBR)) in predicateLoopExits() 1152 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 1154 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits() 1114 predicateLoopExits(Loop * L,SCEVExpander & Rewriter) predicateLoopExits() argument
|
H A D | LoopStrengthReduce.cpp | 2152 mutable SCEVExpander Rewriter; member in __anonc21373340a11::LSRInstance 3456 Rewriter.clearPostInc(); in GenerateIVChain() 3457 Value *IncV = Rewriter.expandCodeFor(Remainder, IntTy, InsertPt); in GenerateIVChain() 3460 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain() 3471 Rewriter.clearPostInc(); in GenerateIVChain() 3472 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() 3475 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain() 3576 if (SE.isLoopInvariant(N, L) && Rewriter.isSafeToExpand(N) && in CollectFixupsAndInitialFormulae() 3656 if (!Rewriter.isSafeToExpand(S)) in InsertInitialFormula() 5676 while (Rewriter.isInsertedInstruction(&*IP) && IP != LowestIP) in AdjustInsertPositionForExpand() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | HTMLRewrite.cpp | 33 void html::HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E, in HighlightRange() 135 void html::EscapeText(Rewriter &R, FileID FID, in EscapeText() 255 void html::AddLineNumbers(Rewriter& R, FileID FID) { in AddLineNumbers() 302 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter &R, FileID FID, in AddHeaderFooterInternalBuiltinCSS() 474 Rewriter &R, FileID FID, const Preprocessor &PP, in SyntaxHighlightImpl() 563 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP, in SyntaxHighlight() 595 Rewriter &R, FileID FID, const Preprocessor &PP, in HighlightMacrosImpl() 596 llvm::function_ref<void(Rewriter &, SourceLocation, SourceLocation, in HighlightMacrosImpl() argument 740 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP, in HighlightMacros() 754 auto HighlightRangeCallback = [&](Rewriter &R, SourceLocation B, in HighlightMacros()
|
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/ |
H A D | Instrument.cpp | 27 SBVisitor(Rewriter &R, ASTContext &Context) in SBVisitor() 117 Rewriter &MyRewriter; 123 SBConsumer(Rewriter &R, ASTContext &Context) : Visitor(R, Context) {} in SBConsumer() 153 Rewriter MyRewriter;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 96 unsigned ProcessControlFlowPiece(Rewriter &R, FileID BugFileID, 100 void HandlePiece(Rewriter &R, FileID BugFileID, const PathDiagnosticPiece &P, 104 void HighlightRange(Rewriter &R, FileID BugFileID, SourceRange Range, 111 std::string GenerateHTML(const PathDiagnostic &D, Rewriter &R, 116 void FinalizeHTML(const PathDiagnostic &D, Rewriter &R, 121 void RewriteFile(Rewriter &R, const PathPieces &path, FileID FID); 128 void addArrowSVGs(Rewriter &R, FileID BugFileID, 287 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts()); in ReportDiag() 380 std::string HTMLDiagnostics::GenerateHTML(const PathDiagnostic& D, Rewriter &R, in GenerateHTML() 550 void HTMLDiagnostics::FinalizeHTML(const PathDiagnostic &D, Rewriter &R, in FinalizeHTML() [all …]
|
H A D | TextDiagnostics.cpp | 127 Rewriter Rewrite(SM, LO); in FlushDiagnosticsImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 59 SCEVExpander &Rewriter; member in __anonb324fb7f0111::SimplifyIndvar 68 SCEVExpander &Rewriter, in SimplifyIndvar() argument 70 : L(Loop), LI(LI), SE(SE), DT(DT), TTI(TTI), Rewriter(Rewriter), in SimplifyIndvar() 230 if (Rewriter.isHighCostExpansion({InvariantLHS, InvariantRHS}, L, in makeIVComparisonInvariant() 232 !Rewriter.isSafeToExpandAt(InvariantLHS, PHTerm) || in makeIVComparisonInvariant() 233 !Rewriter.isSafeToExpandAt(InvariantRHS, PHTerm)) in makeIVComparisonInvariant() 236 Rewriter.expandCodeFor(InvariantLHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant() 238 Rewriter.expandCodeFor(InvariantRHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant() 648 if (Rewriter.isHighCostExpansion(S, L, SCEVCheapExpansionBudget, TTI, I)) in replaceIVUserWithLoopInvariant() 653 if (!Rewriter.isSafeToExpandAt(S, IP)) { in replaceIVUserWithLoopInvariant() [all …]
|
H A D | LoopUtils.cpp | 1492 SCEVExpander &Rewriter, DominatorTree *DT, in rewriteLoopExitValues() argument 1589 !Rewriter.isSafeToExpand(ExitValue)) { in rewriteLoopExitValues() 1602 !Rewriter.isSafeToExpand(ExitValue)) in rewriteLoopExitValues() 1616 bool HighCost = Rewriter.isHighCostExpansion( in rewriteLoopExitValues() 1653 Value *ExitVal = Rewriter.expandCodeFor( in rewriteLoopExitValues() 1695 Rewriter.clearInsertPoint(); in rewriteLoopExitValues()
|
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/ |
H A D | FixItRewriter.h | 70 Rewriter Rewrite; 100 using iterator = Rewriter::buffer_iterator;
|
H A D | FrontendActions.h | 31 std::unique_ptr<FixItRewriter> Rewriter;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SimplifyIndVar.h | 59 SCEVExpander &Rewriter, 84 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PeepholeOptimizer.cpp | 849 class Rewriter { class 854 Rewriter(MachineInstr &CopyLike) : CopyLike(CopyLike) {} in Rewriter() function in __anon776574090211::Rewriter 855 virtual ~Rewriter() = default; 891 class CopyRewriter : public Rewriter { 893 CopyRewriter(MachineInstr &MI) : Rewriter(MI) { in CopyRewriter() 927 class UncoalescableRewriter : public Rewriter { 931 UncoalescableRewriter(MachineInstr &MI) : Rewriter(MI) { in UncoalescableRewriter() 966 class InsertSubregRewriter : public Rewriter { 968 InsertSubregRewriter(MachineInstr &MI) : Rewriter(MI) { in InsertSubregRewriter() 1016 class ExtractSubregRewriter : public Rewriter { [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Core/ |
H A D | Replacement.h | 38 class Rewriter; variable 127 bool apply(Rewriter &Rewrite) const; 322 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
|
/freebsd/tools/build/options/ |
H A D | WITH_CLANG_FULL | 1 Build the ARCMigrate, Rewriter and StaticAnalyzer components of the
|
H A D | WITHOUT_CLANG_FULL | 1 Avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 463 Rewriter &rewriter; 467 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx, in RewritesApplicator() 486 Rewriter::RewriteOptions removeOpts; in remove() 578 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts()); in applyTransform() 596 for (Rewriter::buffer_iterator in applyTransform()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
H A D | Extract.cpp | 112 Rewriter ExtractedCodeRewriter(SM, LangOpts); in createSourceReplacements()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 906 SCEVParameterRewriter Rewriter(SE, Map); in rewrite() 907 return Rewriter.visit(Scev); in rewrite() 936 SCEVLoopAddRecRewriter Rewriter(SE, Map); in rewrite() 937 return Rewriter.visit(Scev); in rewrite()
|