Hi,
Please find the latest report on new defect(s) introduced to llvm found with Coverity Scan.
37 new defect(s) introduced to llvm found with Coverity Scan.
24 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 20 of 37 defect(s)
** CID 1524291: Performance inefficiencies (AUTO_CAUSES_COPY)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 3883 in DWARFASTParserClang::ParseRustVariantPart(lldb_private::plugin::dwarf::DWARFDIE &, const lldb_private::plugin::dwarf::DWARFDIE &, lldb_private::CompilerType &, lldb::AccessType, lldb_private::ClangASTImporter::LayoutInfo &)()
*** CID 1524291: Performance inefficiencies (AUTO_CAUSES_COPY)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 3883 in DWARFASTParserClang::ParseRustVariantPart(lldb_private::plugin::dwarf::DWARFDIE &, const lldb_private::plugin::dwarf::DWARFDIE &, lldb_private::CompilerType &, lldb::AccessType, lldb_private::ClangASTImporter::LayoutInfo &)()
3877 std::string(
3878 llvm::formatv(“{0}$Inner”, class_clang_type.GetTypeName(false))),
3879 clang::TTK_Union, lldb::eLanguageTypeRust);
3880 m_ast.StartTagDeclarationDefinition(inner_holder);
3881 m_ast.SetIsPacked(inner_holder);
3882
CID 1524291: Performance inefficiencies (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type VariantMember.
3883 for (auto member : variants.members()) {
3884
3885 auto has_discriminant = !member.IsDefault();
3886
3887 auto member_type = die.ResolveTypeUID(member.type_ref.Reference());
3888
** CID 1524290: Performance inefficiencies (AUTO_CAUSES_COPY)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 2619 in ::VariantPart::VariantPart(const lldb_private::plugin::dwarf::DWARFDIE &, const lldb_private::plugin::dwarf::DWARFDIE &, std::shared_ptr<lldb_private::Module>)()
*** CID 1524290: Performance inefficiencies (AUTO_CAUSES_COPY)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 2619 in ::VariantPart::VariantPart(const lldb_private::plugin::dwarf::DWARFDIE &, const lldb_private::plugin::dwarf::DWARFDIE &, std::shared_ptr<lldb_private::Module>)()
2613 }
2614
2615 VariantPart::VariantPart(const DWARFDIE &die, const DWARFDIE &parent_die,
2616 lldb::ModuleSP module_sp)
2617 : _members(), _discriminant(die, module_sp) {
2618
CID 1524290: Performance inefficiencies (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type DWARFDIE.
2619 for (auto child : die.children()) {
2620 if (child.Tag() == llvm::dwarf::DW_TAG_variant) {
2621 _members.push_back(VariantMember(child, module_sp));
2622 }
2623 }
2624 }
** CID 1524289: (Y2K38_SAFETY)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 432 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *)()
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 433 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *)()
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 481 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *)()
*** CID 1524289: (Y2K38_SAFETY)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 432 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *)()
426 if (comp_unit_info->oso_mod_time != llvm::sys::TimePoint<>() &&
427 oso_mod_time != comp_unit_info->oso_mod_time) {
428 comp_unit_info->oso_load_error.SetErrorStringWithFormat(
429 "debug map object file "%s" changed (actual: 0x%8.8x, debug "
430 "map: 0x%8.8x) since this executable was linked, debug info "
431 “will not be loaded”, oso_file.GetPath().c_str(),
CID 1524289: (Y2K38_SAFETY) A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "llvm::sys::toTimeT(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(oso_mod_time))" is cast to "uint32_t".
432 (uint32_t)llvm::sys::toTimeT(oso_mod_time),
433 (uint32_t)llvm::sys::toTimeT(comp_unit_info->oso_mod_time));
434 obj_file->GetModule()->ReportError(
435 “{0}”, comp_unit_info->oso_load_error.AsCString());
436 return nullptr;
437 }
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 433 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *)()
427 oso_mod_time != comp_unit_info->oso_mod_time) {
428 comp_unit_info->oso_load_error.SetErrorStringWithFormat(
429 "debug map object file "%s" changed (actual: 0x%8.8x, debug "
430 "map: 0x%8.8x) since this executable was linked, debug info "
431 “will not be loaded”, oso_file.GetPath().c_str(),
432 (uint32_t)llvm::sys::toTimeT(oso_mod_time),
CID 1524289: (Y2K38_SAFETY) A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "llvm::sys::toTimeT(comp_unit_info->oso_mod_time)" is cast to "uint32_t".
433 (uint32_t)llvm::sys::toTimeT(comp_unit_info->oso_mod_time));
434 obj_file->GetModule()->ReportError(
435 “{0}”, comp_unit_info->oso_load_error.AsCString());
436 return nullptr;
437 }
438
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 481 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *)()
475 // file didn’t exist in the .a file or the mod time didn’t match.
476 comp_unit_info->oso_load_error.SetErrorStringWithFormat(
477 ""%s" object from the "%s" archive: "
478 "either the .o file doesn’t exist in the archive or the "
479 “modification time (0x%8.8x) of the .o file doesn’t match”,
480 oso_object.AsCString(), oso_file.GetPath().c_str(),
CID 1524289: (Y2K38_SAFETY) A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "llvm::sys::toTimeT(comp_unit_info->oso_mod_time)" is cast to "uint32_t".
481 (uint32_t)llvm::sys::toTimeT(comp_unit_info->oso_mod_time));
482 }
483 }
484 }
485 if (comp_unit_info->oso_sp)
486 return comp_unit_info->oso_sp->module_sp.get();
** CID 1524288: (UNINIT)
*** CID 1524288: (UNINIT)
/mlir/lib/Query/Matcher/Parser.cpp: 104 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
98 return result;
99 }
100
101 // End of file case
102 if (code.empty()) {
103 result.set(TokenKind::Eof, “”);
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "~TokenInfo".
104 return result;
105 }
106
107 // Switch to handle specific characters
108 switch (code[0]) {
109 case ‘#’:
/mlir/lib/Query/Matcher/Parser.cpp: 111 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
105 }
106
107 // Switch to handle specific characters
108 switch (code[0]) {
109 case ‘#’:
110 code = code.drop_until((char c) { return c == ‘\n’; });
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "~TokenInfo".
111 return getNextToken();
112 case ‘,’:
113 result.set(TokenKind::Comma, firstCharacterAndDrop(code));
114 break;
115 case ‘.’:
116 result.set(TokenKind::Period, firstCharacterAndDrop(code));
/mlir/lib/Query/Matcher/Parser.cpp: 139 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
133 default:
134 parseIdentifierOrInvalid(&result);
135 break;
136 }
137
138 result.range.end = currentLocation();
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "TokenInfo".
139 return result;
140 }
141
142 // Consume a string literal, handle escape sequences and missing closing
143 // quote.
144 void consumeStringLiteral(TokenInfo *result) {
/mlir/lib/Query/Matcher/Parser.cpp: 98 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
92
93 // Code completion case
94 if (codeCompletionLocation && codeCompletionLocation <= code.data()) {
95 result.set(TokenKind::CodeCompletion,
96 llvm::StringRef(codeCompletionLocation, 0));
97 codeCompletionLocation = nullptr;
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "~TokenInfo".
98 return result;
99 }
100
101 // End of file case
102 if (code.empty()) {
103 result.set(TokenKind::Eof, “”);
/mlir/lib/Query/Matcher/Parser.cpp: 98 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
92
93 // Code completion case
94 if (codeCompletionLocation && codeCompletionLocation <= code.data()) {
95 result.set(TokenKind::CodeCompletion,
96 llvm::StringRef(codeCompletionLocation, 0));
97 codeCompletionLocation = nullptr;
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "TokenInfo".
98 return result;
99 }
100
101 // End of file case
102 if (code.empty()) {
103 result.set(TokenKind::Eof, “”);
/mlir/lib/Query/Matcher/Parser.cpp: 139 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
133 default:
134 parseIdentifierOrInvalid(&result);
135 break;
136 }
137
138 result.range.end = currentLocation();
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "~TokenInfo".
139 return result;
140 }
141
142 // Consume a string literal, handle escape sequences and missing closing
143 // quote.
144 void consumeStringLiteral(TokenInfo *result) {
/mlir/lib/Query/Matcher/Parser.cpp: 104 in mlir::query::matcher::internal::Parser::CodeTokenizer::getNextToken()()
98 return result;
99 }
100
101 // End of file case
102 if (code.empty()) {
103 result.set(TokenKind::Eof, “”);
CID 1524288: (UNINIT) Using uninitialized value "result.value.value" when calling "TokenInfo".
104 return result;
105 }
106
107 // Switch to handle specific characters
108 switch (code[0]) {
109 case ‘#’:
** CID 1524287: (SIZEOF_MISMATCH)
/lldb/source/Expression/DWARFExpression.cpp: 1105 in lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext *, lldb_private::RegisterContext *, std::shared_ptr<lldb_private::Module>, const lldb_private::DataExtractor &, const lldb_private::plugin::dwarf::DWARFUnit *, lldb::RegisterKind, const lldb_private::Value *, const lldb_private::Value *, lldb_private::Value &, lldb_private::Status *)()
/lldb/source/Expression/DWARFExpression.cpp: 1008 in lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext *, lldb_private::RegisterContext *, std::shared_ptr<lldb_private::Module>, const lldb_private::DataExtractor &, const lldb_private::plugin::dwarf::DWARFUnit *, lldb::RegisterKind, const lldb_private::Value *, const lldb_private::Value *, lldb_private::Value &, lldb_private::Status *)()
*** CID 1524287: (SIZEOF_MISMATCH)
/lldb/source/Expression/DWARFExpression.cpp: 1105 in lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext *, lldb_private::RegisterContext *, std::shared_ptr<lldb_private::Module>, const lldb_private::DataExtractor &, const lldb_private::plugin::dwarf::DWARFUnit *, lldb::RegisterKind, const lldb_private::Value *, const lldb_private::Value *, lldb_private::Value &, lldb_private::Status *)()
1099 }
1100 Value::ValueType value_type = stack.back().GetValueType();
1101 switch (value_type) {
1102 case Value::ValueType::HostAddress: {
1103 void *src = (void *)stack.back().GetScalar().ULongLong();
1104 intptr_t ptr;
CID 1524287: (SIZEOF_MISMATCH) Passing argument "src" of type "void *" and argument "8UL /* sizeof (void *) */" to function "memcpy" is suspicious.
1105 ::memcpy(&ptr, src, sizeof(void *));
1106 // I can’t decide whether the size operand should apply to the bytes in
1107 // their
1108 // lldb-host endianness or the target endianness… I doubt this’ll ever
1109 // come up but I’ll opt for assuming big endian regardless.
1110 switch (size) {
/lldb/source/Expression/DWARFExpression.cpp: 1008 in lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext *, lldb_private::RegisterContext *, std::shared_ptr<lldb_private::Module>, const lldb_private::DataExtractor &, const lldb_private::plugin::dwarf::DWARFUnit *, lldb::RegisterKind, const lldb_private::Value *, const lldb_private::Value *, lldb_private::Value &, lldb_private::Status *)()
1002 }
1003 Value::ValueType value_type = stack.back().GetValueType();
1004 switch (value_type) {
1005 case Value::ValueType::HostAddress: {
1006 void *src = (void *)stack.back().GetScalar().ULongLong();
1007 intptr_t ptr;
CID 1524287: (SIZEOF_MISMATCH) Passing argument "src" of type "void *" and argument "8UL /* sizeof (void *) */" to function "memcpy" is suspicious.
1008 ::memcpy(&ptr, src, sizeof(void *));
1009 stack.back().GetScalar() = ptr;
1010 stack.back().ClearContext();
1011 } break;
1012 case Value::ValueType::FileAddress: {
1013 auto file_addr = stack.back().GetScalar().ULongLong(
** CID 1524286: Uninitialized variables (USE_AFTER_MOVE)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp: 4184 in lldb_private::plugin::dwarf::SymbolFileDWARF::CollectCallEdges(std::shared_ptr<lldb_private::Module>, lldb_private::plugin::dwarf::DWARFDIE)()
*** CID 1524286: Uninitialized variables (USE_AFTER_MOVE)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp: 4184 in lldb_private::plugin::dwarf::SymbolFileDWARF::CollectCallEdges(std::shared_ptr<lldb_private::Module>, lldb_private::plugin::dwarf::DWARFDIE)()
4178 }
4179 edge = std::make_unique(
4180 *call_target, caller_address_type, caller_address, tail_call,
4181 std::move(parameters));
4182 }
4183
CID 1524286: Uninitialized variables (USE_AFTER_MOVE) "parameters" is used after it has been already moved.
4184 if (log && parameters.size()) {
4185 for (const CallSiteParameter ¶m : parameters) {
4186 StreamString callee_loc_desc, caller_loc_desc;
4187 param.LocationInCallee.GetDescription(&callee_loc_desc,
4188 eDescriptionLevelBrief, nullptr);
4189 param.LocationInCaller.GetDescription(&caller_loc_desc,
** CID 1524285: Null pointer dereferences (FORWARD_NULL)
*** CID 1524285: Null pointer dereferences (FORWARD_NULL)
/llvm/lib/Transforms/Utils/CodeLayout.cpp: 752 in ::ExtTSPImpl::mergeChainPairs()()
746
747 // Compute the gain of merging the two chains.
748 MergeGainT CurGain = getBestMergeGain(ChainPred, ChainSucc, Edge);
749 if (CurGain.score() <= EPS)
750 continue;
751
CID 1524285: Null pointer dereferences (FORWARD_NULL) Passing null pointer "BestChainSucc" to "operator ()", which dereferences it.
752 if (BestGain < CurGain ||
753 (std::abs(CurGain.score() - BestGain.score()) < EPS &&
754 compareChainPairs(ChainPred, ChainSucc, BestChainPred,
755 BestChainSucc))) {
756 BestGain = CurGain;
757 BestChainPred = ChainPred;
** CID 1524284: (UNINIT)
*** CID 1524284: (UNINIT)
/lldb/source/Expression/DWARFExpression.cpp: 1754 in lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext *, lldb_private::RegisterContext *, std::shared_ptr<lldb_private::Module>, const lldb_private::DataExtractor &, const lldb_private::plugin::dwarf::DWARFUnit *, lldb::RegisterKind, const lldb_private::Value *, const lldb_private::Value *, lldb_private::Value &, lldb_private::Status *)()
1748 error_ptr->SetErrorStringWithFormatv(
1749 “Invalid opcode offset in DW_OP_bra: {0}+({1}) > {2}”, offset,
1750 bra_offset, opcodes.GetByteSize());
1751 return false;
1752 }
1753 }
CID 1524284: (UNINIT) Using uninitialized value "zero.m_float.U" when calling "~Scalar".
1754 }
1755 break;
1756
1757 // OPCODE: DW_OP_eq
1758 // OPERANDS: none
1759 // DESCRIPTION: pops the top two stack values, compares using the
/lldb/source/Expression/DWARFExpression.cpp: 1751 in lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext *, lldb_private::RegisterContext *, std::shared_ptr<lldb_private::Module>, const lldb_private::DataExtractor &, const lldb_private::plugin::dwarf::DWARFUnit *, lldb::RegisterKind, const lldb_private::Value *, const lldb_private::Value *, lldb_private::Value &, lldb_private::Status *)()
1745 offset = new_offset;
1746 else {
1747 if (error_ptr)
1748 error_ptr->SetErrorStringWithFormatv(
1749 “Invalid opcode offset in DW_OP_bra: {0}+({1}) > {2}”, offset,
1750 bra_offset, opcodes.GetByteSize());
CID 1524284: (UNINIT) Using uninitialized value "zero.m_float.U" when calling "~Scalar".
1751 return false;
1752 }
1753 }
1754 }
1755 break;
1756
** CID 1524283: Null pointer dereferences (NULL_RETURNS)
*** CID 1524283: Null pointer dereferences (NULL_RETURNS)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 1415 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOFileRange(lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo *, unsigned long, unsigned long, unsigned long, unsigned long)()
1409 lldb::addr_t oso_byte_size) {
1410 const uint32_t debug_map_idx =
1411 m_debug_map.FindEntryIndexThatContains(exe_file_addr);
1412 if (debug_map_idx != UINT32_MAX) {
1413 DebugMap::Entry *debug_map_entry =
1414 m_debug_map.FindEntryThatContains(exe_file_addr);
CID 1524283: Null pointer dereferences (NULL_RETURNS) Dereferencing a pointer that might be "nullptr" "debug_map_entry->data" when calling "SetOSOFileAddress".
1415 debug_map_entry->data.SetOSOFileAddress(oso_file_addr);
1416 addr_t range_size = std::min<addr_t>(exe_byte_size, oso_byte_size);
1417 if (range_size == 0) {
1418 range_size = std::max<addr_t>(exe_byte_size, oso_byte_size);
1419 if (range_size == 0)
1420 range_size = 1;
** CID 1524282: (NO_EFFECT)
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, std::complex>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, short>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, signed char>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned int, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned long, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned short, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned short, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, bf16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned int, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned long, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, std::complex>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
*** CID 1524282: (NO_EFFECT)
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, std::complex>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, short>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, signed char>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned int, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned long, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned short, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned short, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, bf16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned int, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned long, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned long, unsigned long, std::complex>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524282: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
** CID 1524281: High impact quality (Y2K38_SAFETY)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 1291 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetSeparateDebugInfo(lldb_private::StructuredData::Dictionary &)()
*** CID 1524281: High impact quality (Y2K38_SAFETY)
/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp: 1291 in lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetSeparateDebugInfo(lldb_private::StructuredData::Dictionary &)()
1285 const auto &info = m_compile_unit_infos[cu_idx];
1286 StructuredData::DictionarySP oso_data =
1287 std::make_sharedStructuredData::Dictionary();
1288 oso_data->AddStringItem(“so_file”, info.so_file.GetPath());
1289 oso_data->AddStringItem(“oso_path”, info.oso_path);
1290 oso_data->AddIntegerItem(“oso_mod_time”,
CID 1524281: High impact quality (Y2K38_SAFETY) A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "llvm::sys::toTimeT(info.oso_mod_time)" is cast to "uint32_t".
1291 (uint32_t)llvm::sys::toTimeT(info.oso_mod_time));
1292
1293 bool loaded_successfully = false;
1294 if (GetModuleByOSOIndex(cu_idx)) {
1295 // If we have a valid pointer to the module, we successfully
1296 // loaded the oso if there are no load errors.
** CID 1524280: (AUTO_CAUSES_COPY)
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc: 713 in mlir::arm_sve::ConvertToSvboolOp::verifyInvariantsImpl()()
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc: 722 in mlir::arm_sve::ConvertToSvboolOp::verifyInvariantsImpl()()
*** CID 1524280: (AUTO_CAUSES_COPY)
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc: 713 in mlir::arm_sve::ConvertToSvboolOp::verifyInvariantsImpl()()
707
708 ::mlir::LogicalResult ConvertToSvboolOp::verifyInvariantsImpl() {
709 {
710 unsigned index = 0; (void)index;
711 auto valueGroup0 = getODSOperands(0);
712
CID 1524280: (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type Value.
713 for (auto v : valueGroup0) {
714 if (::mlir::failed(__mlir_ods_local_type_constraint_ArmSVE3(*this, v.getType(), “operand”, index++)))
715 return ::mlir::failure();
716 }
717 }
718 {
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc: 722 in mlir::arm_sve::ConvertToSvboolOp::verifyInvariantsImpl()()
716 }
717 }
718 {
719 unsigned index = 0; (void)index;
720 auto valueGroup0 = getODSResults(0);
721
CID 1524280: (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type OpResult.
722 for (auto v : valueGroup0) {
723 if (::mlir::failed(__mlir_ods_local_type_constraint_ArmSVE2(*this, v.getType(), “result”, index++)))
724 return ::mlir::failure();
725 }
726 }
727 if (!((std::equal_to<>()(VectorType(VectorType::Builder(::llvm::cast((*this->getODSOperands(0).begin()).getType())).setDim(::llvm::cast((*this->getODSOperands(0).begin()).getType()).getRank() - 1, 16)), (*this->getODSResults(0).begin()).getType()))))
** CID 1524279: (NO_EFFECT)
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, signed char>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, bf16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, short>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned char, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned short, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned int, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, signed char>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned short, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, bf16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, short>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, f16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned int, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, f16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned char, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
*** CID 1524279: (NO_EFFECT)
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, signed char>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, bf16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, short>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned char, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned short, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned int, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, signed char>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned short, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, bf16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, short>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, f16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned int, double>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, f16>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned char, float>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, int>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524279: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
** CID 1524278: Performance inefficiencies (AUTO_CAUSES_COPY)
/llvm/tools/llvm-remarkutil/RemarkCounter.cpp: 195 in llvm::remarks::ArgumentCounter::collect(const llvm::remarks::Remark &)()
*** CID 1524278: Performance inefficiencies (AUTO_CAUSES_COPY)
/llvm/tools/llvm-remarkutil/RemarkCounter.cpp: 195 in llvm::remarks::ArgumentCounter::collect(const llvm::remarks::Remark &)()
189 std::optionalstd::string GroupByKey = getGroupByKey(Remark);
190 // Early return if we don’t have a value
191 if (!GroupByKey)
192 return;
193 auto GroupVal = *GroupByKey;
194 CountByKeysMap.insert({GroupVal, Row});
CID 1524278: Performance inefficiencies (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type pair.
195 for (auto [Key, Idx] : ArgumentSetIdxMap) {
196 auto Count = getValForKey(Key, Remark);
197 CountByKeysMap[GroupVal][Idx] += Count;
198 }
199 }
200
** CID 1524277: (NO_EFFECT)
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
*** CID 1524277: (NO_EFFECT)
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned char, unsigned char, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524277: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned short, unsigned short, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524277: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h: 534 in mlir::sparse_tensor::SparseTensorStorage<unsigned int, unsigned int, long>::sortInPlace()::[lambda(unsigned long, unsigned long) (instance 1)]::operator ()(unsigned long, unsigned long) const()
528 [this](uint64_t lhs, uint64_t rhs) {
529 for (uint64_t l = 0; l < getLvlRank(); l++) {
530 if (coordinates[l][lhs] == coordinates[l][rhs])
531 continue;
532 return coordinates[l][lhs] < coordinates[l][rhs];
533 }
CID 1524277: (NO_EFFECT) Comparing an array to null is not useful: ""duplicate coordinates"", since the test will always evaluate as true.
534 assert(false && “duplicate coordinates”);
535 return false;
536 });
537
538 applyPerm(sortedIdx);
539 }
** CID 1524276: (AUTO_CAUSES_COPY)
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.cpp.inc: 6258 in mlir::sparse_tensor::ReorderCOOOp::verifyInvariantsImpl()()
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.cpp.inc: 6267 in mlir::sparse_tensor::ReorderCOOOp::verifyInvariantsImpl()()
*** CID 1524276: (AUTO_CAUSES_COPY)
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.cpp.inc: 6258 in mlir::sparse_tensor::ReorderCOOOp::verifyInvariantsImpl()()
6252 if (::mlir::failed(__mlir_ods_local_attr_constraint_SparseTensorOps5(*this, tblgen_algorithm, “algorithm”)))
6253 return ::mlir::failure();
6254 {
6255 unsigned index = 0; (void)index;
6256 auto valueGroup0 = getODSOperands(0);
6257
CID 1524276: (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type Value.
6258 for (auto v : valueGroup0) {
6259 if (::mlir::failed(__mlir_ods_local_type_constraint_SparseTensorOps12(*this, v.getType(), “operand”, index++)))
6260 return ::mlir::failure();
6261 }
6262 }
6263 {
/build-llvm/tools/clang/stage2-bins/tools/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.cpp.inc: 6267 in mlir::sparse_tensor::ReorderCOOOp::verifyInvariantsImpl()()
6261 }
6262 }
6263 {
6264 unsigned index = 0; (void)index;
6265 auto valueGroup0 = getODSResults(0);
6266
CID 1524276: (AUTO_CAUSES_COPY) Using the "auto" keyword without an "&" causes the copy of an object of type OpResult.
6267 for (auto v : valueGroup0) {
6268 if (::mlir::failed(__mlir_ods_local_type_constraint_SparseTensorOps12(*this, v.getType(), “result”, index++)))
6269 return ::mlir::failure();
6270 }
6271 }
6272 return ::mlir::success();
** CID 1524275: Uninitialized members (UNINIT_CTOR)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 2590 in ::VariantMember::VariantMember(lldb_private::plugin::dwarf::DWARFDIE &, std::shared_ptr<lldb_private::Module>)()
*** CID 1524275: Uninitialized members (UNINIT_CTOR)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 2590 in ::VariantMember::VariantMember(lldb_private::plugin::dwarf::DWARFDIE &, std::shared_ptr<lldb_private::Module>)()
2584 }
2585 default:
2586 break;
2587 }
2588 break;
2589 }
CID 1524275: Uninitialized members (UNINIT_CTOR) Non-static class member "byte_offset" is not initialized in this constructor nor in any functions that it calls.
2590 }
2591
2592 DiscriminantValue::DiscriminantValue(const DWARFDIE &die, ModuleSP module_sp) {
2593 auto referenced_die = die.GetReferencedDIE(DW_AT_discr);
2594 DWARFAttributes attributes = referenced_die.GetAttributes();
2595 for (std::size_t i = 0; i < attributes.Size(); ++i) {
** CID 1524274: Null pointer dereferences (NULL_RETURNS)
*** CID 1524274: Null pointer dereferences (NULL_RETURNS)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp: 67 in lldb_private::plugin::dwarf::DWARFCompileUnit::BuildAddressRangeTable(lldb_private::plugin::dwarf::DWARFDebugAranges *)()
61 m_dwarf.GetDebugMapSymfile();
62 if (debug_map_sym_file) {
63 auto *cu_info =
64 debug_map_sym_file->GetCompileUnitInfo(&GetSymbolFileDWARF());
65 // If there are extra compile units the OSO entries aren’t a reliable
66 // source of information.
CID 1524274: Null pointer dereferences (NULL_RETURNS) Dereferencing a pointer that might be "nullptr" "cu_info->compile_units_sps" when calling "empty".
67 if (cu_info->compile_units_sps.empty())
68 debug_map_sym_file->AddOSOARanges(&m_dwarf, debug_aranges);
69 }
70 }
71 }
72
** CID 1524273: Null pointer dereferences (NULL_RETURNS)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 673 in DWARFASTParserClang::ParseTypeModifier(const lldb_private::SymbolContext &, const lldb_private::plugin::dwarf::DWARFDIE &, ParsedDWARFTypeAttributes &)()
*** CID 1524273: Null pointer dereferences (NULL_RETURNS)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 673 in DWARFASTParserClang::ParseTypeModifier(const lldb_private::SymbolContext &, const lldb_private::plugin::dwarf::DWARFDIE &, ParsedDWARFTypeAttributes &)()
667
668 if (target_die.GetAttributeValueAsUnsigned(DW_AT_APPLE_block, 0)) {
669 // Blocks have a __FuncPtr inside them which is a pointer to a
670 // function of the proper type.
671
672 for (DWARFDIE child_die : target_die.children()) {
CID 1524273: Null pointer dereferences (NULL_RETURNS) Dereferencing a pointer that might be "nullptr" "child_die.GetAttributeValueAsString(DW_AT_name, "")" when calling "strcmp". [Note: The source code implementation of the function has been overridden by a builtin model.]
673 if (!strcmp(child_die.GetAttributeValueAsString(DW_AT_name, “”),
674 “__FuncPtr”)) {
675 DWARFDIE function_pointer_type =
676 child_die.GetReferencedDIE(DW_AT_type);
677
678 if (function_pointer_type) {
** CID 1524272: (UNINIT)
*** CID 1524272: (UNINIT)
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 533 in ExtractDataMemberLocation(const lldb_private::plugin::dwarf::DWARFDIE &, const lldb_private::plugin::dwarf::DWARFFormValue &, std::shared_ptr<lldb_private::Module>)()
527 // With DWARF 3 and later, if the value is an integer constant,
528 // this form value is the offset in bytes from the beginning of
529 // the containing entity.
530 if (!form_value.BlockData())
531 return form_value.Unsigned();
532
CID 1524272: (UNINIT) Using uninitialized value "<temporary>.m_float.U" when calling "~Scalar".
533 Value initialValue(0);
534 Value memberOffset(0);
535 const DWARFDataExtractor &debug_info_data = die.GetData();
536 uint32_t block_length = form_value.Unsigned();
537 uint32_t block_offset =
538 form_value.BlockData() - debug_info_data.GetDataStart();
/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp: 534 in ExtractDataMemberLocation(const lldb_private::plugin::dwarf::DWARFDIE &, const lldb_private::plugin::dwarf::DWARFFormValue &, std::shared_ptr<lldb_private::Module>)()
528 // this form value is the offset in bytes from the beginning of
529 // the containing entity.
530 if (!form_value.BlockData())
531 return form_value.Unsigned();
532
533 Value initialValue(0);
CID 1524272: (UNINIT) Using uninitialized value "<temporary>.m_float.U" when calling "~Scalar".
534 Value memberOffset(0);
535 const DWARFDataExtractor &debug_info_data = die.GetData();
536 uint32_t block_length = form_value.Unsigned();
537 uint32_t block_offset =
538 form_value.BlockData() - debug_info_data.GetDataStart();
539 if (!DWARFExpression::Evaluate(
To view the defects in Coverity Scan visit, Coverity Scan - Sign in