Home
last modified time | relevance | path

Searched refs:Visitor (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeVisitorCallbackPipeline.h26 for (auto *Visitor : Pipeline) { in visitUnknownType()
27 if (auto EC = Visitor->visitUnknownType(Record)) in visitUnknownType()
34 for (auto *Visitor : Pipeline) { in visitUnknownMember()
35 if (auto EC = Visitor->visitUnknownMember(Record)) in visitUnknownMember()
42 for (auto *Visitor : Pipeline) { in visitTypeBegin()
43 if (auto EC = Visitor->visitTypeBegin(Record)) in visitTypeBegin()
50 for (auto *Visitor : Pipeline) { in visitTypeBegin()
51 if (auto EC = Visitor->visitTypeBegin(Record, Index)) in visitTypeBegin()
58 for (auto *Visitor : Pipeline) { in visitTypeEnd()
59 if (auto EC = Visitor->visitTypeEnd(Record)) in visitTypeEnd()
[all …]
H A DSymbolVisitorCallbackPipeline.h25 for (auto *Visitor : Pipeline) { in visitUnknownSymbol()
26 if (auto EC = Visitor->visitUnknownSymbol(Record)) in visitUnknownSymbol()
33 for (auto *Visitor : Pipeline) { in visitSymbolBegin()
34 if (auto EC = Visitor->visitSymbolBegin(Record, Offset)) in visitSymbolBegin()
41 for (auto *Visitor : Pipeline) { in visitSymbolBegin()
42 if (auto EC = Visitor->visitSymbolBegin(Record)) in visitSymbolBegin()
49 for (auto *Visitor : Pipeline) { in visitSymbolEnd()
50 if (auto EC = Visitor->visitSymbolEnd(Record)) in visitSymbolEnd()
62 for (auto Visitor : Pipeline) { \
63 if (auto EC = Visitor->visitKnownRecord(CVR, Record)) \
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringActionRulesInternal.h71 void visitRefactoringOptionsImpl(RefactoringOptionVisitor &Visitor, in visitRefactoringOptionsImpl() argument
74 RefactoringOptionVisitor &Visitor; in visitRefactoringOptionsImpl() member
78 Option->passToVisitor(Visitor); in visitRefactoringOptionsImpl()
82 (OptionGatherer{Visitor})(First); in visitRefactoringOptionsImpl()
83 return visitRefactoringOptionsImpl(Visitor, Rest...); in visitRefactoringOptionsImpl()
88 RefactoringOptionVisitor &Visitor, in visitRefactoringOptions() argument
91 visitRefactoringOptionsImpl(Visitor, std::get<Is>(Requirements)...); in visitRefactoringOptions()
142 void visitRefactoringOptions(RefactoringOptionVisitor &Visitor) override {
144 Visitor, Requirements,
H A DRefactoringOptions.h28 void passToVisitor(RefactoringOptionVisitor &Visitor) final { in passToVisitor() argument
29 Visitor.visit(*this, Value); in passToVisitor()
H A DRefactoringActionRule.h65 virtual void visitRefactoringOptions(RefactoringOptionVisitor &Visitor) = 0;
H A DRefactoringOption.h46 virtual void passToVisitor(RefactoringOptionVisitor &Visitor) = 0;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp190 Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) { in FieldListVisitHelper()
201 CVTypeVisitor Visitor; member
206 : Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) { in VisitHelper()
215 CVTypeVisitor Visitor; member
223 return V.Visitor.visitTypeRecord(Record, Index); in visitTypeRecord()
230 return V.Visitor.visitTypeRecord(Record); in visitTypeRecord()
237 return V.Visitor.visitTypeStream(Types); in visitTypeStream()
243 return V.Visitor.visitTypeStream(Types); in visitTypeStream()
252 return V.Visitor.visitTypeStream(Types); in visitTypeStream()
259 return V.Visitor in visitMemberRecord()
[all...]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp80 NamedDeclOccurrenceFindingVisitor Visitor(Point, Context); in getNamedDeclAt() local
91 Visitor.TraverseDecl(CurrDecl); in getNamedDeclAt()
94 return Visitor.getNamedDecl(); in getNamedDeclAt()
130 NamedDeclFindingVisitor Visitor(Name); in getNamedDeclFor() local
131 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in getNamedDeclFor()
132 return Visitor.getNamedDecl(); in getNamedDeclFor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp2042 : Visitor(new SCCPInstVisitor(DL, std::move(GetTLI), Ctx)) {} in SCCPSolver()
2048 Visitor->addPredicateInfo(F, DT, AC); in addPredicateInfo()
2052 return Visitor->markBlockExecutable(BB); in markBlockExecutable()
2056 return Visitor->getPredicateInfoFor(I); in getPredicateInfoFor()
2060 Visitor->trackValueOfGlobalVariable(GV); in trackValueOfGlobalVariable()
2064 Visitor->addTrackedFunction(F); in addTrackedFunction()
2068 Visitor->addToMustPreserveReturnsInFunctions(F); in addToMustPreserveReturnsInFunctions()
2072 return Visitor->mustPreserveReturn(F); in mustPreserveReturn()
2076 Visitor->addArgumentTrackedFunction(F); in addArgumentTrackedFunction()
2080 return Visitor->isArgumentTrackedFunction(F); in isArgumentTrackedFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.h546 virtual Error accept(SectionVisitor &Visitor) const = 0;
547 virtual Error accept(MutableSectionVisitor &Visitor) = 0;
612 Error accept(SectionVisitor &Visitor) const override;
613 Error accept(MutableSectionVisitor &Visitor) override;
655 Error accept(MutableSectionVisitor &Visitor) override;
678 Error accept(SectionVisitor &Visitor) const override;
679 Error accept(MutableSectionVisitor &Visitor) override;
698 Error accept(SectionVisitor &Visitor) const override;
699 Error accept(MutableSectionVisitor &Visitor) override;
723 Error accept(SectionVisitor &Visitor) const override;
[all …]
H A DELFObject.cpp443 Error Section::accept(SectionVisitor &Visitor) const { in accept()
444 return Visitor.visit(*this); in accept()
447 Error Section::accept(MutableSectionVisitor &Visitor) { in accept() argument
448 return Visitor.visit(*this); in accept()
505 Error DecompressedSection::accept(SectionVisitor &Visitor) const { in accept()
506 return Visitor.visit(*this); in accept()
509 Error DecompressedSection::accept(MutableSectionVisitor &Visitor) { in accept() argument
510 return Visitor.visit(*this); in accept()
513 Error OwnedDataSection::accept(SectionVisitor &Visitor) const { in accept()
514 return Visitor.visit(*this); in accept()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp272 ReferencedDeclsVisitor Visitor(Result); in getReferencedDecls() local
273 Visitor.TraverseStmt(FD.getBody()); in getReferencedDecls()
275 Visitor.TraverseConstructorInits(CtorDecl); in getReferencedDecls()
282 ReferencedDeclsVisitor Visitor(Result); in getReferencedDecls() local
283 Visitor.TraverseStmt(const_cast<Stmt *>(&S)); in getReferencedDecls()
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp123 SBConsumer(Rewriter &R, ASTContext &Context) : Visitor(R, Context) {} in SBConsumer()
129 Visitor.TraverseDecl(*b); in HandleTopLevelDecl()
135 SBVisitor Visitor; member in SBConsumer
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCMissingSuperCallChecker.cpp189 FindSuperCallVisitor Visitor(S); in checkASTDecl() local
190 Visitor.TraverseDecl(MD); in checkASTDecl()
193 if (!Visitor.DoesCallSuper) { in checkASTDecl()
H A DCastToStructChecker.cpp113 CastToStructVisitor Visitor(BR, this, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody() local
114 Visitor.TraverseDecl(const_cast<Decl *>(D)); in checkASTCodeBody()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DPostfixExpression.cpp110 class SymbolResolver : public Visitor<bool> {
115 using Visitor<bool>::Dispatch;
143 class DWARFCodegen : public Visitor<> {
147 using Visitor<>::Dispatch;
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp257 : Visitor(Context, API) {} in WrappingExtractAPIConsumer()
261 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
265 ExtractAPIVisitor<> Visitor; member in __anon9569e29f0111::WrappingExtractAPIConsumer
272 : Visitor(*LCF, Context, API), LCF(std::move(LCF)) {} in ExtractAPIConsumer()
276 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
280 BatchExtractAPIVisitor Visitor; member in __anon9569e29f0111::ExtractAPIConsumer
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp335 DerefFuncDeleteExprVisitor Visitor(ClsTmplSpDecl->getTemplateArgs(), in isClassWithSpecializedDelete() local
337 auto Result = Visitor.HasSpecializedDelete(MethodDecl); in isClassWithSpecializedDelete()
346 DerefFuncDeleteExprVisitor Visitor(DerivedClass); in isClassWithSpecializedDelete() local
347 auto Result = Visitor.HasSpecializedDelete(MethodDecl); in isClassWithSpecializedDelete()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp90 class Visitor : public ISectionContribVisitor { in ParseSectionContribs() class
95 Visitor(PdbIndex &ctx, llvm::IntervalMap<uint64_t, uint16_t> &imap) in ParseSectionContribs() function in PdbIndex::ParseSectionContribs::Visitor
112 Visitor v(*this, m_va_to_modi); in ParseSectionContribs()
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DItaniumDemangle.cpp246 DumpVisitor &Visitor; member
249 if (Visitor.anyWantNewline(V, Vs...)) in operator ()()
250 Visitor.newLine(); in operator ()()
251 Visitor.printWithPendingNewline(V); in operator ()()
252 int PrintInOrder[] = { (Visitor.printWithComma(Vs), 0)..., 0 }; in operator ()()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h656 /// Visitor implements:
662 SV &Visitor;
667 if (Visited.insert(S).second && Visitor.follow(S)) in push()
672 SCEVTraversal(SV &V) : Visitor(V) {}
676 while (!Worklist.empty() && !Visitor.isDone()) { in visitAll()
699 if (Visitor.isDone()) in visitAll()
712 template <typename SV> void visitAll(const SCEV *Root, SV &Visitor) {
713 SCEVTraversal<SV> T(Visitor); in visitAll() argument
663 SV &Visitor; global() variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp1439 CVSymbolVisitor Visitor(Pipeline); in dumpModuleSymsForObj() local
1447 if (auto EC = Visitor.visitSymbolRecord(Symbol)) { in dumpModuleSymsForObj()
1487 CVSymbolVisitor Visitor(Pipeline); in dumpModuleSymsForPdb() local
1494 if (auto EC = Visitor.visitSymbolStreamFiltered(ModS.getSymbolArray(), in dumpModuleSymsForPdb()
1500 } else if (auto EC = Visitor.visitSymbolStream(ModS.getSymbolArray(), in dumpModuleSymsForPdb()
1565 CVSymbolVisitor Visitor(Pipeline); in dumpGSIRecords() local
1568 if (auto E = Visitor.visitSymbolStream(Records.getSymbolArray(), 0)) in dumpGSIRecords()
1604 CVSymbolVisitor Visitor(Pipeline); in dumpGlobals() local
1619 if (auto E = Visitor.visitSymbolRecord(Result.second, Result.first)) in dumpGlobals()
1710 CVSymbolVisitor Visitor(Pipeline); in dumpSymbolsFromGSI() local
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DPostfixExpression.h163 template <typename ResultT = void> class Visitor {
165 virtual ~Visitor() = default;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp222 ISectionContribVisitor &Visitor) const { in visitSectionContributions()
226 Visitor.visit(SC); in visitSectionContributions()
230 Visitor.visit(SC); in visitSectionContributions()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp703 SubstitutionContext(DiagTextVisitor &Visitor, SubstitutionPiece *P) in SubstitutionContext()
704 : Visitor(Visitor) { in SubstitutionContext()
705 Substitution = Visitor.Builder.getSubstitution(P); in SubstitutionContext()
706 OldMappings = std::move(Visitor.ModifierMappings); in SubstitutionContext()
708 Visitor.getSubstitutionMappings(P, OldMappings); in SubstitutionContext()
709 Visitor.ModifierMappings = std::move(NewMappings); in SubstitutionContext()
713 Visitor.ModifierMappings = std::move(OldMappings); in ~SubstitutionContext()
717 DiagTextVisitor &Visitor; member
839 DiagTextDocPrinter Visitor{Builder, Lines}; in VisitMulti() local
840 Visitor.ModifierMappings = NodePair.second; in VisitMulti()
[all …]

123