Home
last modified time | relevance | path

Searched refs:FileLineColLoc (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/mlir/lib/IR/
DLocation.cpp22 return attr.isa<CallSiteLoc, FileLineColLoc, FusedLoc, NameLoc, OpaqueLoc, in classof()
50 Location FileLineColLoc::get(Identifier filename, unsigned line, in get()
55 Location FileLineColLoc::get(StringRef filename, unsigned line, unsigned column, in get()
61 StringRef FileLineColLoc::getFilename() const { return getImpl()->filename; } in getFilename()
62 unsigned FileLineColLoc::getLine() const { return getImpl()->line; } in getLine()
63 unsigned FileLineColLoc::getColumn() const { return getImpl()->column; } in getColumn()
DDiagnostics.cpp368 static Optional<FileLineColLoc> getFileLineColLoc(Location loc) { in getFileLineColLoc()
371 if (auto fileLoc = loc.dyn_cast<FileLineColLoc>()) in getFileLineColLoc()
506 llvm::SMLoc SourceMgrDiagnosticHandler::convertLocToSMLoc(FileLineColLoc loc) { in convertLocToSMLoc()
728 void SourceMgrDiagnosticVerifierHandler::process(FileLineColLoc loc, in process()
DBuiltinDialect.cpp61 addAttributes<CallSiteLoc, FileLineColLoc, FusedLoc, NameLoc, OpaqueLoc, in initialize()
DBuilders.cpp34 return FileLineColLoc::get(filename, line, column, context); in getFileLineColLoc()
DAsmPrinter.cpp1226 .Case<FileLineColLoc>([&](FileLineColLoc loc) { in printLocationInternal()
1250 if (caller.isa<FileLineColLoc>()) { in printLocationInternal()
/external/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/
Dmlir-support.cpp27 auto FileLineColLoc = mlir::FileLineColLoc::get("file", 7, 8, &Context); variable
30 auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc);
31 auto FusedLoc = mlir::FusedLoc::get({FileLineColLoc, NameLoc}, &Context);
Dmlir-support.gdb59 # CHECK: cast<mlir::FileLineColLoc>
63 p FileLineColLoc
76 # CHECK: mlir::FileLineColLoc
84 # CHECK: mlir::FileLineColLoc
/external/llvm-project/mlir/lib/Target/LLVMIR/
DDebugTranslation.cpp68 static FileLineColLoc extractFileLoc(Location loc) { in extractFileLoc()
69 if (auto fileLoc = loc.dyn_cast<FileLineColLoc>()) in extractFileLoc()
75 return FileLineColLoc(); in extractFileLoc()
97 FileLineColLoc fileLoc = extractFileLoc(func.getLoc()); in translate()
146 } else if (auto fileLoc = loc.dyn_cast<FileLineColLoc>()) { in translateLoc()
DConvertFromLLVMIR.cpp53 unknownLoc(FileLineColLoc::get("imported-bitcode", 0, 0, context)), in Importer()
144 return FileLineColLoc::get(os.str(), 0, 0, context); in processDebugLoc()
149 return FileLineColLoc::get("imported-bitcode", loc.getLine(), loc.getCol(), in processDebugLoc()
842 FileLineColLoc::get("", /*line=*/0, /*column=*/0, context))); in translateLLVMIRToModule()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DTranslateRegistration.cpp58 OwningModuleRef module(ModuleOp::create(FileLineColLoc::get( in deserializeModule()
147 OwningModuleRef dstModule(ModuleOp::create(FileLineColLoc::get( in roundTripModule()
DSerializer.cpp621 auto fileLoc = module.getLoc().dyn_cast<FileLineColLoc>(); in processDebugInfo()
2135 auto fileLoc = loc.dyn_cast<FileLineColLoc>(); in emitDebugLine()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Derror_util_test.cc33 auto loc = FileLineColLoc::get(id, 0, 0, &context); in TEST()
/external/llvm-project/mlir/include/mlir/IR/
DLocation.h125 class FileLineColLoc
126 : public Attribute::AttrBase<FileLineColLoc, LocationAttr,
DDiagnostics.h559 llvm::SMLoc convertLocToSMLoc(FileLineColLoc loc);
596 void process(FileLineColLoc loc, StringRef msg, DiagnosticSeverity kind);
DBuilders.h19 class FileLineColLoc; variable
/external/llvm-project/mlir/lib/Parser/
DLocationParser.cpp122 loc = FileLineColLoc::get(str, line.getValue(), column.getValue(), ctx); in parseNameOrFileLineColLocation()
DLexer.cpp47 return FileLineColLoc::get(buffer->getBufferIdentifier(), lineAndColumn.first, in getEncodedSourceLocation()
DParser.cpp2068 Location parserLoc = FileLineColLoc::get(sourceBuf->getBufferIdentifier(), in parseSourceFile()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_translate.cc128 mlir::FileLineColLoc::get(input->getBufferIdentifier(), 0, 0, context); in FlatBufferFileToMlirTrans()
/external/llvm-project/mlir/lib/CAPI/IR/
DIR.cpp116 FileLineColLoc::get(unwrap(filename), line, col, unwrap(context))); in mlirLocationFileLineColGet()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc101 {op_name_loc, mlir::FileLineColLoc::get( in GenerateInstructionLocation()
Dmlir_hlo_to_hlo.cc393 if (auto file_line_col_loc = op->getLoc().dyn_cast<mlir::FileLineColLoc>()) { in CreateOpMetadataFromLocation()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1640 auto file_line_loc = mlir::FileLineColLoc::get( in GetLocation()
1655 auto file_line_loc = mlir::FileLineColLoc::get( in GetLocation()