/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | DexRewriter.java | 71 private final Rewriter<ClassDef> classDefRewriter; 72 private final Rewriter<Field> fieldRewriter; 73 private final Rewriter<Method> methodRewriter; 74 private final Rewriter<MethodParameter> methodParameterRewriter; 75 private final Rewriter<MethodImplementation> methodImplementationRewriter; 76 private final Rewriter<Instruction> instructionRewriter; 77 private final Rewriter<TryBlock<? extends ExceptionHandler>> tryBlockRewriter; 78 private final Rewriter<ExceptionHandler> exceptionHandlerRewriter; 79 private final Rewriter<DebugItem> debugItemRewriter; 80 private final Rewriter<String> typeRewriter; [all …]
|
D | Rewriters.java | 44 @Nonnull Rewriter<ClassDef> getClassDefRewriter(); in getClassDefRewriter() 45 @Nonnull Rewriter<Field> getFieldRewriter(); in getFieldRewriter() 47 @Nonnull Rewriter<Method> getMethodRewriter(); in getMethodRewriter() 48 @Nonnull Rewriter<MethodParameter> getMethodParameterRewriter(); in getMethodParameterRewriter() 49 @Nonnull Rewriter<MethodImplementation> getMethodImplementationRewriter(); in getMethodImplementationRewriter() 50 @Nonnull Rewriter<Instruction> getInstructionRewriter(); in getInstructionRewriter() 51 @Nonnull Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter(); in getTryBlockRewriter() 52 @Nonnull Rewriter<ExceptionHandler> getExceptionHandlerRewriter(); in getExceptionHandlerRewriter() 53 @Nonnull Rewriter<DebugItem> getDebugItemRewriter(); in getDebugItemRewriter() 55 @Nonnull Rewriter<String> getTypeRewriter(); in getTypeRewriter() [all …]
|
D | RewriterModule.java | 44 @Nonnull public Rewriter<ClassDef> getClassDefRewriter(@Nonnull Rewriters rewriters) { in getClassDefRewriter() 48 @Nonnull public Rewriter<Field> getFieldRewriter(@Nonnull Rewriters rewriters) { in getFieldRewriter() 52 @Nonnull public Rewriter<Method> getMethodRewriter(@Nonnull Rewriters rewriters) { in getMethodRewriter() 56 …@Nonnull public Rewriter<MethodParameter> getMethodParameterRewriter(@Nonnull Rewriters rewriters)… in getMethodParameterRewriter() 60 …@Nonnull public Rewriter<MethodImplementation> getMethodImplementationRewriter(@Nonnull Rewriters … in getMethodImplementationRewriter() 64 @Nonnull public Rewriter<Instruction> getInstructionRewriter(@Nonnull Rewriters rewriters) { in getInstructionRewriter() 68 …@Nonnull public Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter(@Nonnull Rewrit… in getTryBlockRewriter() 72 …@Nonnull public Rewriter<ExceptionHandler> getExceptionHandlerRewriter(@Nonnull Rewriters rewriter… in getExceptionHandlerRewriter() 76 @Nonnull public Rewriter<DebugItem> getDebugItemRewriter(@Nonnull Rewriters rewriters) { in getDebugItemRewriter() 80 @Nonnull public Rewriter<String> getTypeRewriter(@Nonnull Rewriters rewriters) { in getTypeRewriter() [all …]
|
D | RewriterUtils.java | 43 public static <T> T rewriteNullable(@Nonnull Rewriter<T> rewriter, @Nullable T value) { in rewriteNullable() 47 public static <T> Set<T> rewriteSet(@Nonnull final Rewriter<T> rewriter, in rewriteSet() 73 public static <T> List<T> rewriteList(@Nonnull final Rewriter<T> rewriter, 86 public static <T> Iterable<T> rewriteIterable(@Nonnull final Rewriter<T> rewriter, 108 public static TypeReference rewriteTypeReference(@Nonnull final Rewriter<String> typeRewriter,
|
/external/clang/include/clang/Rewrite/Core/ |
D | HTMLRewrite.h | 23 class Rewriter; variable 33 void HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E, 40 inline void HighlightRange(Rewriter &R, SourceRange Range, in HighlightRange() 53 void EscapeText(Rewriter& R, FileID FID, 63 void AddLineNumbers(Rewriter& R, FileID FID); 65 void AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID, 70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP); 76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
|
D | Rewriter.h | 31 class Rewriter { 56 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter() function 58 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {} in Rewriter() function
|
D | RewriteBuffer.h | 19 class Rewriter; variable 28 friend class Rewriter; variable
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteTest.cpp | 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest() local 26 for (TokenRewriter::token_iterator I = Rewriter.token_begin(), in DoRewriteTest() 27 E = Rewriter.token_end(); I != E; ++I) { in DoRewriteTest() 30 Rewriter.AddTokenBefore(I, "<i>"); in DoRewriteTest() 31 Rewriter.AddTokenAfter(I, "</i>"); in DoRewriteTest() 36 for (TokenRewriter::token_iterator I = Rewriter.token_begin(), in DoRewriteTest() 37 E = Rewriter.token_end(); I != E; ++I) in DoRewriteTest()
|
D | FrontendActions.cpp | 99 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction() 106 Rewriter->WriteFixedFiles(); in EndSourceFileAction() 125 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation() local 129 err = Rewriter.WriteFixedFiles(&RewrittenFiles); in BeginInvocation()
|
/external/clang/include/clang/Tooling/ |
D | Refactoring.h | 28 class Rewriter; variable 61 bool applyAllReplacements(Rewriter &Rewrite); 65 int saveRewrittenFiles(Rewriter &Rewrite); 87 Rewriter &Rewrite, StringRef Style = "file");
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | scoped_allocator_optimizer.h | 75 class Rewriter { 77 virtual ~Rewriter() {} in ~Rewriter() 95 Rewriter* GetRewriter(const string& op_name); 102 std::unordered_map<string, Rewriter*> rewriters_; 103 std::vector<Rewriter*> to_delete_;
|
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 124 int Rewriter::getRangeSize(const CharSourceRange &Range, in getRangeSize() 157 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const { in getRangeSize() 168 std::string Rewriter::getRewrittenText(SourceRange Range) const { in getRewrittenText() 212 unsigned Rewriter::getLocationOffsetAndFileID(SourceLocation Loc, in getLocationOffsetAndFileID() 223 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { in getEditBuffer() 238 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, in InsertText() 279 bool Rewriter::InsertTextAfterToken(SourceLocation Loc, StringRef Str) { in InsertTextAfterToken() 291 bool Rewriter::RemoveText(SourceLocation Start, unsigned Length, in RemoveText() 303 bool Rewriter::ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() 313 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { in ReplaceText() [all …]
|
D | HTMLRewrite.cpp | 32 void html::HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E, in HighlightRange() 106 void html::EscapeText(Rewriter &R, FileID FID, in EscapeText() 226 void html::AddLineNumbers(Rewriter& R, FileID FID) { in AddLineNumbers() 270 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID, in AddHeaderFooterInternalBuiltinCSS() 357 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) { in SyntaxHighlight() 446 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) { in HighlightMacros()
|
/external/bcc/src/cc/frontends/clang/ |
D | tp_frontend_action.h | 46 clang::Rewriter &rewriter); 55 clang::Rewriter &rewriter_; 62 clang::Rewriter &rewriter); 79 std::unique_ptr<clang::Rewriter> rewriter_;
|
D | b_frontend_action.h | 86 clang::Rewriter &rewriter_; /// modifications to the source go into this class 96 explicit ProbeVisitor(clang::ASTContext &C, clang::Rewriter &rewriter, 119 clang::Rewriter &rewriter_; 136 clang::Rewriter &rewriter, std::set<clang::Decl *> &m); 165 clang::Rewriter &rewriter() const { return *rewriter_; } in rewriter() 178 std::unique_ptr<clang::Rewriter> rewriter_;
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 104 void simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI); 107 void rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter); 111 PHINode *IndVar, SCEVExpander &Rewriter); 115 Value *expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, Loop *L, 479 Value *IndVarSimplify::expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, in expandSCEVIfNeeded() argument 484 if (Value *ExistingValue = Rewriter.findExistingExpansion(S, InsertPt, L)) in expandSCEVIfNeeded() 489 return Rewriter.expandCodeFor(S, ResultTy, InsertPt); in expandSCEVIfNeeded() 507 void IndVarSimplify::rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in rewriteLoopExitValues() argument 606 bool HighCost = Rewriter.isHighCostExpansion(ExitValue, L, Inst); in rewriteLoopExitValues() 608 expandSCEVIfNeeded(Rewriter, ExitValue, L, Inst, PN->getType()); in rewriteLoopExitValues() [all …]
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 48 Rewriter Rewrite(Sources, DefaultLangOptions); in runAndSave() 57 bool RefactoringTool::applyAllReplacements(Rewriter &Rewrite) { in applyAllReplacements() 61 int RefactoringTool::saveRewrittenFiles(Rewriter &Rewrite) { in saveRewrittenFiles() 66 Rewriter &Rewrite, StringRef Style) { in formatAndApplyAllReplacements()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 144 void simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI); 147 void rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter); 151 PHINode *IndVar, SCEVExpander &Rewriter); 155 Value *expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, Loop *L, 524 Value *IndVarSimplify::expandSCEVIfNeeded(SCEVExpander &Rewriter, const SCEV *S, in expandSCEVIfNeeded() argument 529 if (Value *ExistingValue = Rewriter.getExactExistingExpansion(S, InsertPt, L)) in expandSCEVIfNeeded() 534 return Rewriter.expandCodeFor(S, ResultTy, InsertPt); in expandSCEVIfNeeded() 552 void IndVarSimplify::rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in rewriteLoopExitValues() argument 652 bool HighCost = Rewriter.isHighCostExpansion(ExitValue, L, Inst); in rewriteLoopExitValues() 654 expandSCEVIfNeeded(Rewriter, ExitValue, L, Inst, PN->getType()); in rewriteLoopExitValues() [all …]
|
/external/clang/unittests/Tooling/ |
D | RewriterTest.cpp | 18 TEST(Rewriter, OverwritesChangedFiles) { in TEST() argument 27 TEST(Rewriter, ContinuesOverwritingFilesOnError) { in TEST() argument 40 TEST(Rewriter, AdjacentInsertAndDelete) { in TEST() argument
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 120 void SimplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LPPassManager &LPM); 122 void RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter); 124 void RewriteIVExpressions(Loop *L, SCEVExpander &Rewriter); 127 PHINode *IndVar, SCEVExpander &Rewriter); 494 void IndVarSimplify::RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in RewriteLoopExitValues() argument 555 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst); in RewriteLoopExitValues() 594 Rewriter.clearInsertPoint(); in RewriteLoopExitValues() 643 void IndVarSimplify::RewriteIVExpressions(Loop *L, SCEVExpander &Rewriter) { in RewriteIVExpressions() argument 683 Value *NewVal = Rewriter.expandCodeFor(AR, UseTy, InsertPt); in RewriteIVExpressions() 834 PHINode *CreateWideIV(SCEVExpander &Rewriter); [all …]
|
/external/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 33 class Rewriter; variable 121 bool apply(Rewriter &Rewrite) const; 156 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite); 165 Rewriter &Rewrite);
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 45 class Rewriter { class 47 virtual ~Rewriter() {} in ~Rewriter() 62 public Rewriter { 144 class BindOnceRewriter : public MatchFinder::MatchCallback, public Rewriter { 192 class PassByValueRewriter : public MatchFinder::MatchCallback, public Rewriter { 242 class AddStdMoveRewriter : public MatchFinder::MatchCallback, public Rewriter { 593 public Rewriter { 668 std::unique_ptr<Rewriter> rewriter; in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 57 SCEVExpander &Rewriter; member in __anoneccf6d620111::SimplifyIndvar 64 LoopInfo *LI, SCEVExpander &Rewriter, in SimplifyIndvar() argument 66 : L(Loop), LI(LI), SE(SE), DT(DT), Rewriter(Rewriter), DeadInsts(Dead), in SimplifyIndvar() 663 if (Rewriter.isHighCostExpansion(S, L, I)) in replaceIVUserWithLoopInvariant() 667 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); in replaceIVUserWithLoopInvariant() 956 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV() argument 957 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, Rewriter, in simplifyUsersOfIV() 967 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs() local 969 Rewriter.setDebugType(DEBUG_TYPE); in simplifyLoopIVs() 973 Changed |= simplifyUsersOfIV(cast<PHINode>(I), SE, DT, LI, Dead, Rewriter); in simplifyLoopIVs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PeepholeOptimizer.cpp | 787 class Rewriter { class 792 Rewriter(MachineInstr &CopyLike) : CopyLike(CopyLike) {} in Rewriter() function in __anon5d64f7ac0211::Rewriter 793 virtual ~Rewriter() {} in ~Rewriter() 829 class CopyRewriter : public Rewriter { 831 CopyRewriter(MachineInstr &MI) : Rewriter(MI) { in CopyRewriter() 865 class UncoalescableRewriter : public Rewriter { 869 UncoalescableRewriter(MachineInstr &MI) : Rewriter(MI) { in UncoalescableRewriter() 904 class InsertSubregRewriter : public Rewriter { 906 InsertSubregRewriter(MachineInstr &MI) : Rewriter(MI) { in InsertSubregRewriter() 954 class ExtractSubregRewriter : public Rewriter { [all …]
|
/external/clang/include/clang/Rewrite/Frontend/ |
D | FixItRewriter.h | 68 Rewriter Rewrite; 86 typedef Rewriter::buffer_iterator iterator;
|