Home
last modified time | relevance | path

Searched refs:fileLoc (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Target/LLVMIR/
DDebugTranslation.cpp69 if (auto fileLoc = loc.dyn_cast<FileLineColLoc>()) in extractFileLoc() local
70 return fileLoc; in extractFileLoc()
97 FileLineColLoc fileLoc = extractFileLoc(func.getLoc()); in translate() local
98 auto *file = translateFile(fileLoc ? fileLoc.getFilename() : "<unknown>"); in translate()
99 unsigned line = fileLoc ? fileLoc.getLine() : 0; in translate()
146 } else if (auto fileLoc = loc.dyn_cast<FileLineColLoc>()) { in translateLoc() local
147 auto *file = translateFile(fileLoc.getFilename()); in translateLoc()
149 llvmLoc = llvm::DILocation::get(llvmCtx, fileLoc.getLine(), in translateLoc()
150 fileLoc.getColumn(), fileScope, in translateLoc()
/external/llvm-project/mlir/lib/IR/
DDiagnostics.cpp371 if (auto fileLoc = loc.dyn_cast<FileLineColLoc>()) in getFileLineColLoc() local
372 return fileLoc; in getFileLineColLoc()
436 auto fileLoc = getFileLineColLoc(loc); in emitDiagnostic() local
439 if (!fileLoc) { in emitDiagnostic()
451 auto smloc = convertLocToSMLoc(*fileLoc); in emitDiagnostic()
461 locOS << fileLoc->getFilename() << ":" << fileLoc->getLine() << ":" in emitDiagnostic()
462 << fileLoc->getColumn(); in emitDiagnostic()
530 llvm::SMLoc fileLoc; member
699 llvm::SMRange range(err.fileLoc, in verify()
700 llvm::SMLoc::getFromPointer(err.fileLoc.getPointer() + in verify()
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp621 auto fileLoc = module.getLoc().dyn_cast<FileLineColLoc>(); in processDebugInfo() local
622 auto fileName = fileLoc ? fileLoc.getFilename() : "<unknown>"; in processDebugInfo()
2135 auto fileLoc = loc.dyn_cast<FileLineColLoc>(); in emitDebugLine() local
2136 if (fileLoc) in emitDebugLine()
2138 {fileID, fileLoc.getLine(), fileLoc.getColumn()}); in emitDebugLine()