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

Method GetDebugInlinedAt

source/opt/debug_info_manager.cpp:440–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440Instruction* DebugInfoManager::GetDebugInlinedAt(uint32_t dbg_inlined_at_id) {
441 auto* inlined_at = GetDbgInst(dbg_inlined_at_id);
442 if (inlined_at == nullptr) return nullptr;
443 if (inlined_at->GetCommonDebugOpcode() != CommonDebugInfoDebugInlinedAt) {
444 return nullptr;
445 }
446 return inlined_at;
447}
448
449Instruction* DebugInfoManager::CloneDebugInlinedAt(uint32_t clone_inlined_at_id,
450 Instruction* insert_before) {

Callers 6

CloneAndMapLocalsMethod · 0.45
AnalyzeDebugInstMethod · 0.45
ClearDebugInfoMethod · 0.45
ProcessMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45

Calls 1

GetCommonDebugOpcodeMethod · 0.80

Tested by 2

TEST_FFunction · 0.36
TESTFunction · 0.36