Home
last modified time | relevance | path

Searched defs:Rewriter (Results 1 – 24 of 24) sorted by relevance

/llvm-project/bolt/lib/Rewrite/
H A DMetadataManager.cpp19 std::unique_ptr<MetadataRewriter> Rewriter) { in registerRewriter()
24 for (auto &Rewriter : Rewriters) { in runSectionInitializers() local
36 for (auto &Rewriter : Rewriters) { in runInitializersPreCFG() local
48 for (auto &Rewriter : Rewriters) { in runInitializersPostCFG() local
60 for (auto &Rewriter : Rewriters) { in runFinalizersPreEmit() local
72 for (auto &Rewriter : Rewriters) { in runFinalizersAfterEmit() local
/llvm-project/clang/unittests/Tooling/
H A DRewriterTest.cpp17 TEST(Rewriter, OverwritesChangedFiles) { in TEST() argument
26 TEST(Rewriter, ContinuesOverwritingFilesOnError) { in TEST() argument
39 TEST(Rewriter, AdjacentInsertAndDelete) { in TEST() argument
/llvm-project/clang/include/clang/Tooling/
H A DRefactoring.h28 class Rewriter; variable
/llvm-project/clang/unittests/Rewrite/
H A DRewriterTest.cpp39 TEST(Rewriter, GetRewrittenTextRangeTypes) { in TEST() argument
61 TEST(Rewriter, ReplaceTextRangeTypes) { in TEST() argument
/llvm-project/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h22 class Rewriter; global() variable
H A DRewriteBuffer.h
H A DRewriter.h69 explicit Rewriter() = default; in Rewriter() function
/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp22 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest() local
H A DFrontendActions.cpp131 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp597 simplifyAndExtend(Loop * L,SCEVExpander & Rewriter,LoopInfo * LI) simplifyAndExtend() argument
918 genLoopLimit(PHINode * IndVar,BasicBlock * ExitingBB,const SCEV * ExitCount,bool UsePostInc,Loop * L,SCEVExpander & Rewriter,ScalarEvolution * SE) genLoopLimit() argument
953 linearFunctionTestReplace(Loop * L,BasicBlock * ExitingBB,const SCEV * ExitCount,PHINode * IndVar,SCEVExpander & Rewriter) linearFunctionTestReplace() argument
1248 createInvariantCond(const Loop * L,BasicBlock * ExitingBB,const ScalarEvolution::LoopInvariantPredicate & LIP,SCEVExpander & Rewriter) createInvariantCond() argument
1267 createReplacement(ICmpInst * ICmp,const Loop * L,BasicBlock * ExitingBB,const SCEV * MaxIter,bool Inverted,bool SkipLastIter,ScalarEvolution * SE,SCEVExpander & Rewriter) createReplacement() argument
1324 optimizeLoopExitWithUnknownExitCount(const Loop * L,BranchInst * BI,BasicBlock * ExitingBB,const SCEV * MaxIter,bool SkipLastIter,ScalarEvolution * SE,SCEVExpander & Rewriter,SmallVectorImpl<WeakTrackingVH> & DeadInsts) optimizeLoopExitWithUnknownExitCount() argument
1560 optimizeLoopExits(Loop * L,SCEVExpander & Rewriter) optimizeLoopExits() argument
1730 predicateLoopExits(Loop * L,SCEVExpander & Rewriter) predicateLoopExits() argument
1921 SCEVExpander Rewriter(*SE, DL, "indvars"); run() local
[all...]
H A DLoopFlatten.cpp865 SCEVExpander Rewriter(*SE, DL, "loopflatten"); in CanWidenIV() local
H A DLoopPredication.cpp1031 predicateLoopExits(Loop * L,SCEVExpander & Rewriter) predicateLoopExits() argument
H A DLoopFuse.cpp1285 SCEVPtr0 = Rewriter.visit(SCEVPtr0); in accessDiffIsPositive() local
H A DLoopStrengthReduce.cpp2150 mutable SCEVExpander Rewriter; global() member in __anona2fcd8e70a11::LSRInstance
7268 SCEVExpander Rewriter(SE, DL, "lsr", false); ReduceLoopStrength() local
7289 SCEVExpander Rewriter(SE, DL, "lsr", true); ReduceLoopStrength() local
[all...]
H A DSROA.cpp4884 AllocaSliceRewriter Rewriter(DL, AS, *this, AI, *NewAI, P.beginOffset(), rewritePartition() local
/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp59 SCEVExpander &Rewriter; member in __anon7d6845520111::SimplifyIndvar
68 SCEVExpander &Rewriter, in SimplifyIndvar() argument
1012 simplifyUsersOfIV(PHINode * CurrIV,ScalarEvolution * SE,DominatorTree * DT,LoopInfo * LI,const TargetTransformInfo * TTI,SmallVectorImpl<WeakTrackingVH> & Dead,SCEVExpander & Rewriter,IVVisitor * V) simplifyUsersOfIV() argument
1024 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); simplifyLoopIVs() local
1834 widenIVUse(WidenIV::NarrowIVDefUse DU,SCEVExpander & Rewriter,PHINode * OrigPhi,PHINode * WidePhi) widenIVUse() argument
2025 createWideIV(SCEVExpander & Rewriter) createWideIV() argument
2257 createWideIV(const WideIVInfo & WI,LoopInfo * LI,ScalarEvolution * SE,SCEVExpander & Rewriter,DominatorTree * DT,SmallVectorImpl<WeakTrackingVH> & DeadInsts,unsigned & NumElimExt,unsigned & NumWidened,bool HasGuards,bool UsePostIncrementRanges) createWideIV() argument
[all...]
H A DLoopUtils.cpp1407 rewriteLoopExitValues(Loop * L,LoopInfo * LI,TargetLibraryInfo * TLI,ScalarEvolution * SE,const TargetTransformInfo * TTI,SCEVExpander & Rewriter,DominatorTree * DT,ReplaceExitVal ReplaceExitValue,SmallVector<WeakTrackingVH,16> & DeadInsts) rewriteLoopExitValues() argument
/llvm-project/clang/include/clang/Tooling/Core/
H A DReplacement.h38 class Rewriter; variable
/llvm-project/polly/lib/Transform/
H A DScheduleTreeTransform.cpp649 BandCollapseRewriter Rewriter; in collapseBands() local
791 IdentityRewriter Rewriter; in tryGreedyFuse() local
987 ExtensionNodeRewriter Rewriter; in hoistExtensionNodes() local
1234 GreedyFusionRewriter Rewriter; in applyGreedyFusion() local
[all...]
/llvm-project/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp849 class Rewriter { global() class
854 Rewriter(MachineInstr &CopyLike) : CopyLike(CopyLike) {} Rewriter() function in __anon05f69b9c0211::Rewriter
[all...]
/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp596 Rewriter &R, FileID FID, const Preprocessor &PP, in HighlightMacrosImpl() argument
[all...]
/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp556 SCEVAddRecForUniformityRewriter Rewriter(SE, StepMultiplier, Offset, rewrite() local
/llvm-project/polly/lib/Analysis/
H A DScopDetection.cpp847 SCEVRemoveMax Rewriter(SE, Terms); rewrite() local
/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp1077 SCEVPtrToIntSinkingRewriter Rewriter(SE); getLosslessPtrToIntExpr() local
4891 SCEVInitRewriter Rewriter(L, SE); rewrite() local
4934 SCEVPostIncRewriter Rewriter(L, SE); rewrite() local
4989 SCEVBackedgeConditionFolder Rewriter(L, BECond, IsPosBECond, SE); rewrite() local
5052 SCEVShiftRewriter Rewriter(L, SE); rewrite() local
14610 SCEVPredicateRewriter Rewriter(L, SE, NewPreds, Pred); rewrite() local
15640 SCEVLoopGuardRewriter Rewriter(SE, *this); rewrite() local
[all...]