Searched refs:rewriter_ (Results 1 – 6 of 6) sorted by relevance
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 258 C(C), rewriter_(rewriter), m_(m), track_helpers_(track_helpers), in ProbeVisitor() 431 rewriter_.ReplaceText(expansionLoc(E->getOperatorLoc()), 1, pre); in VisitUnaryOperator() 432 rewriter_.InsertTextAfterToken(expansionLoc(GET_ENDLOC(sub)), post); in VisitUnaryOperator() 458 if (!rewriter_.isRewritable(GET_BEGINLOC(E))) in VisitMemberExpr() 482 string rhs = rewriter_.getRewrittenText(expansionRange(SourceRange(rhs_start, GET_ENDLOC(E)))); in VisitMemberExpr() 488 rewriter_.InsertText(expansionLoc(GET_BEGINLOC(E)), pre); in VisitMemberExpr() 489 rewriter_.ReplaceText(expansionRange(SourceRange(member, GET_ENDLOC(E))), post); in VisitMemberExpr() 501 if (!rewriter_.isRewritable(GET_BEGINLOC(E))) in VisitArraySubscriptExpr() 508 if (!rewriter_.isRewritable(GET_BEGINLOC(base))) in VisitArraySubscriptExpr() 510 if (!rewriter_.isRewritable(GET_BEGINLOC(idx))) in VisitArraySubscriptExpr() [all …]
|
D | tp_frontend_action.cc | 49 : C(C), diag_(C.getDiagnostics()), rewriter_(rewriter), out_(llvm::errs()) { in TracepointTypeVisitor() 220 insert_loc = rewriter_.getSourceMgr().getFileLoc(insert_loc); in VisitFunctionDecl() 221 rewriter_.InsertText(insert_loc, tp_struct); in VisitFunctionDecl() 240 : os_(os), rewriter_(new Rewriter) { in TracepointFrontendAction() 244 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(os_); in EndSourceFileAction() 250 rewriter_->setSourceMgr(Compiler.getSourceManager(), Compiler.getLangOpts()); in CreateASTConsumer() 252 Compiler.getASTContext(), *rewriter_)); in CreateASTConsumer()
|
D | tp_frontend_action.h | 55 clang::Rewriter &rewriter_; variable 79 std::unique_ptr<clang::Rewriter> rewriter_; variable
|
D | b_frontend_action.h | 88 clang::Rewriter &rewriter_; /// modifications to the source go into this class variable 121 clang::Rewriter &rewriter_; variable 167 clang::Rewriter &rewriter() const { return *rewriter_; } in rewriter() 180 std::unique_ptr<clang::Rewriter> rewriter_; variable
|
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/ |
D | legalize_tf_with_tf2xla.cc | 313 rewriter_(rewriter), in Tf2XlaRewriter() 314 hlo_builder_(op->getName().getStringRef().str(), rewriter_, in Tf2XlaRewriter() 340 PatternRewriter& rewriter_; member in mlir::mhlo::__anon94f199800111::Tf2XlaRewriter 536 rewriter_.replaceOp(op_, values); in LegalizeOp()
|
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/ |
D | AllReduceLowering.cpp | 30 PatternRewriter &rewriter_) in GpuAllReduceRewriter() 31 : funcOp(funcOp_), reduceOp(reduceOp_), rewriter(rewriter_), in GpuAllReduceRewriter()
|