MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / UpdateDebugInlinedAt

Method UpdateDebugInlinedAt

source/opt/instruction.cpp:537–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537void Instruction::UpdateDebugInlinedAt(uint32_t new_inlined_at) {
538 dbg_scope_.SetInlinedAt(new_inlined_at);
539 for (auto& i : dbg_line_insts_) {
540 i.dbg_scope_.SetInlinedAt(new_inlined_at);
541 }
542 if (!IsLineInst() &&
543 context()->AreAnalysesValid(IRContext::kAnalysisDebugInfo)) {
544 context()->get_debug_info_mgr()->AnalyzeDebugInst(this);
545 }
546}
547
548void Instruction::ClearDbgLineInsts() {
549 if (context()->AreAnalysesValid(IRContext::kAnalysisDefUse)) {

Callers 4

CloneAndMapLocalsMethod · 0.80
ProcessMethod · 0.80

Calls 5

IsLineInstFunction · 0.85
SetInlinedAtMethod · 0.80
AreAnalysesValidMethod · 0.80
AnalyzeDebugInstMethod · 0.80
get_debug_info_mgrMethod · 0.80

Tested by

no test coverage detected