summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-insert-debug-value-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-insert-debug-value-store.h')
-rw-r--r--source/slang/slang-ir-insert-debug-value-store.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/source/slang/slang-ir-insert-debug-value-store.h b/source/slang/slang-ir-insert-debug-value-store.h
index 3067c8cdd..0dc289b2e 100644
--- a/source/slang/slang-ir-insert-debug-value-store.h
+++ b/source/slang/slang-ir-insert-debug-value-store.h
@@ -1,10 +1,24 @@
#ifndef SLANG_IR_INSERT_DEBUG_VALUE_STORE_H
#define SLANG_IR_INSERT_DEBUG_VALUE_STORE_H
+#include "core/slang-basic.h"
+
namespace Slang
{
struct IRModule;
-void insertDebugValueStore(IRModule* module);
+struct IRType;
+struct IRFunc;
+struct IRInst;
+
+struct DebugValueStoreContext
+{
+ Dictionary<IRType*, bool> m_mapTypeToDebugability;
+ bool isDebuggableType(IRType* type);
+ void insertDebugValueStore(IRFunc* func);
+ bool isTypeKind(IRInst* inst);
+};
+void insertDebugValueStore(DebugValueStoreContext& context, IRModule* module);
+
} // namespace Slang
#endif // SLANG_IR_INSERT_DEBUG_VALUE_STORE_H