Searched refs:source_mgr (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/ |
D | tfr_wrapper.cc | 43 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/ |
D | flatbuffer_translate.cc | 121 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()
|
D | mlir_tflite_runner.cc | 110 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()
|
D | tf_tfl_translate.cc | 142 llvm::SourceMgr source_mgr; in main() local 143 mlir::SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &context); in main() 183 output_arrays, &source_mgr, &context); in main()
|
D | tf_to_tfl_flatbuffer.cc | 103 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()
|
D | tf_to_tfl_flatbuffer.h | 45 llvm::SourceMgr* source_mgr, mlir::MLIRContext* context);
|
/external/tensorflow/tensorflow/compiler/mlir/tfjs/translate/ |
D | tf_tfjs_translate.cc | 127 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()
|
D | tf_to_tfjs_json.cc | 78 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()
|
D | tf_to_tfjs_json.h | 44 llvm::SourceMgr* source_mgr, mlir::MLIRContext* context);
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/integration/ |
D | tfr_decompose_ctx.cc | 111 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/ |
D | ClangExpressionParser.cpp | 117 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/ |
D | TestSourceManager.py | 78 source_mgr = self.dbg.GetSourceManager() 85 source_mgr.DisplaySourceLinesWithLineNumbersAndColumn(
|