Home
last modified time | relevance | path

Searched refs:source_mgr (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_wrapper.cc43 llvm::SourceMgr source_mgr = llvm::SourceMgr(); in PYBIND11_MODULE() local
44 source_mgr.AddNewSourceBuffer(llvm::MemoryBuffer::getMemBuffer(input), in PYBIND11_MODULE()
46 auto module = mlir::parseSourceFile(source_mgr, &ctx); in PYBIND11_MODULE()
51 mlir::SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &ctx); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_translate.cc121 llvm::SourceMgr* source_mgr, MLIRContext* context, in FlatBufferFileToMlirTrans() argument
125 source_mgr->getMemoryBuffer(source_mgr->getMainFileID()); in FlatBufferFileToMlirTrans()
177 [](llvm::SourceMgr& source_mgr, MLIRContext* context) { in __anonacaeaea80202() argument
179 &source_mgr, context, use_external_constant, in __anonacaeaea80202()
Dmlir_tflite_runner.cc110 llvm::SourceMgr source_mgr; in main() local
111 source_mgr.AddNewSourceBuffer(std::move(*file_or_err), llvm::SMLoc()); in main()
112 mlir::OwningModuleRef module(mlir::parseSourceFile(source_mgr, &context)); in main()
Dtf_tfl_translate.cc142 llvm::SourceMgr source_mgr; in main() local
143 mlir::SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &context); in main()
183 output_arrays, &source_mgr, &context); in main()
Dtf_to_tfl_flatbuffer.cc103 llvm::SourceMgr* source_mgr, MLIRContext* context) { in LoadFromGraphdefOrMlirSource() argument
113 source_mgr->AddNewSourceBuffer(std::move(file), llvm::SMLoc()); in LoadFromGraphdefOrMlirSource()
114 return OwningModuleRef(mlir::parseSourceFile(*source_mgr, context)); in LoadFromGraphdefOrMlirSource()
Dtf_to_tfl_flatbuffer.h45 llvm::SourceMgr* source_mgr, mlir::MLIRContext* context);
/external/tensorflow/tensorflow/compiler/mlir/tfjs/translate/
Dtf_tfjs_translate.cc127 llvm::SourceMgr source_mgr; in main() local
128 mlir::SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &context); in main()
144 /*prune_unused_nodes=*/true, &source_mgr, &context); in main()
Dtf_to_tfjs_json.cc78 llvm::SourceMgr* source_mgr, MLIRContext* context) { in LoadFromGraphdefOrMlirSource() argument
88 source_mgr->AddNewSourceBuffer(std::move(file), llvm::SMLoc()); in LoadFromGraphdefOrMlirSource()
89 return OwningModuleRef(mlir::parseSourceFile(*source_mgr, context)); in LoadFromGraphdefOrMlirSource()
Dtf_to_tfjs_json.h44 llvm::SourceMgr* source_mgr, mlir::MLIRContext* context);
/external/tensorflow/tensorflow/compiler/mlir/tfr/integration/
Dtfr_decompose_ctx.cc111 llvm::SourceMgr source_mgr; in GetFromText() local
112 source_mgr.AddNewSourceBuffer(std::move(memory_buffer), llvm::SMLoc()); in GetFromText()
113 mlir::OwningModuleRef module = mlir::parseSourceFile(source_mgr, mlir_ctx); in GetFromText()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionParser.cpp117 clang::SourceManager &source_mgr) in LLDBPreprocessorCallbacks() argument
119 m_source_mgr(source_mgr) {} in LLDBPreprocessorCallbacks()
1036 clang::SourceManager &source_mgr = m_compiler->getSourceManager(); in ParseInternal() local
1069 source_mgr.setMainFileID(source_mgr.createFileID( in ParseInternal()
1082 source_mgr.setMainFileID(source_mgr.createFileID(std::move(memory_buffer))); in ParseInternal()
1096 auto main_file = source_mgr.getFileEntryForID(source_mgr.getMainFileID()); in ParseInternal()
/external/llvm-project/lldb/test/API/source-manager/
DTestSourceManager.py78 source_mgr = self.dbg.GetSourceManager()
85 source_mgr.DisplaySourceLinesWithLineNumbersAndColumn(