Home
last modified time | relevance | path

Searched refs:allSources (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/flang/lib/Parser/
H A Dparsing.cpp25 AllSources &allSources{allCooked_.allSources()}; in Prescan() local
26 allSources.ClearSearchPath(); in Prescan()
29 allSources.AppendSearchPathDirectory(path); in Prescan()
37 sourceFile = allSources.ReadStandardInput(fileError); in Prescan()
40 sourceFile = allSources.Open(path, fileError); in Prescan()
46 ProvenanceRange range{allSources.AddCompilerInsertion(path)}; in Prescan()
59 allSources.AppendSearchPathDirectory(path); in Prescan()
63 Preprocessor preprocessor{allSources}; in Prescan()
87 ProvenanceRange range{allSources.AddIncludedFile( in Prescan()
110 const AllSources &allSources{allCooked().allSources()}; in EmitPreprocessedSource() local
[all …]
H A Dpreprocessor.h69 const AllSources &allSources() const { return allSources_; } in allSources() function
70 AllSources &allSources() { return allSources_; } in allSources() function
H A Dprescan.h40 const AllSources &allSources() const { return allSources_; } in allSources() function
41 AllSources &allSources() { return allSources_; } in allSources() function
H A Dprovenance.cpp126 const AllSources &allSources) const { in Invert()
131 ProvenanceRange source{allSources.IntersectionWithSourceFiles(range)}; in Invert()
465 provenanceMap_.Put(allCookedSources.allSources().AddCompilerInsertion( in Marshal()
473 AllSources &allSources) { in CompileProvenanceRangeToOffsetMappings() argument
475 invertedMap_ = provenanceMap_.Invert(allSources); in CompileProvenanceRangeToOffsetMappings()
H A Dpreprocessor.cpp77 const TokenSequence &tokens, AllSources &allSources) { in Stringify() argument
79 Provenance quoteProvenance{allSources.CompilerInsertionProvenance('"')}; in Stringify()
179 result.Put(Stringify(args[index], prescanner.allSources())); in Apply()
201 prescanner.preprocessor().allSources().CompilerInsertionProvenance( in Apply()
236 Preprocessor::Preprocessor(AllSources &allSources) : allSources_{allSources} {} in Preprocessor() argument
H A Dmessage.cpp240 const AllSources &sources{allCooked.allSources()}; in Emit()
H A Dprescan.cpp31 allSources_{preprocessor_.allSources()}, features_{lfc},
/llvm-project-15.0.7/flang/lib/Frontend/
H A DCompilerInstance.cpp30 allSources(new Fortran::parser::AllSources()), in CompilerInstance()
31 allCookedSources(new Fortran::parser::AllCookedSources(*allSources)), in CompilerInstance()
35 allSources->set_encoding(Fortran::parser::Encoding::UTF_8); in CompilerInstance()
151 allSources->set_encoding(invoc.getFortranOpts().encoding); in executeAction()
H A DFrontendActions.cpp185 Fortran::parser::AllSources &allSources{ci.getAllSources()}; in executeAction() local
189 sf = allSources.ReadStandardInput(errorStream); in executeAction()
191 sf = allSources.Open(path, errorStream, std::optional<std::string>{"."s}); in executeAction()
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DCompilerInstance.h48 std::shared_ptr<Fortran::parser::AllSources> allSources; variable
104 Fortran::parser::AllSources &getAllSources() const { return *allSources; } in getAllSources()
106 bool hasAllSources() const { return allSources != nullptr; } in hasAllSources()
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dparsing.h69 allCooked_.allSources().EmitMessage(o,
H A Dprovenance.h267 AllSources &allSources() { return allSources_; } in allSources() function
268 const AllSources &allSources() const { return allSources_; } in allSources() function
/llvm-project-15.0.7/flang/tools/bbc/
H A Dbbc.cpp319 Fortran::parser::AllSources allSources; in main() local
320 Fortran::parser::AllCookedSources allCookedSources(allSources); in main()
/llvm-project-15.0.7/flang/tools/f18-parse-demo/
H A Df18-parse-demo.cpp163 Fortran::parser::AllSources allSources; in CompileFortran() local
164 Fortran::parser::AllCookedSources allCookedSources{allSources}; in CompileFortran()