You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mimic llvm's -print-after an -print-before. This will enable llvm IR printout.
Those two keys take string.
For example,
PrintAfter=VectorPreProcess // print IR after pass VectorPreProcess
PrintBefore=SROA // print IR after pass SROA
PrintAfter=all // print IR after each pass, same as ShaderDumpEnableAll
Pass name is case-insensitive.
DECLARE_IGC_REGKEY(bool, QualityMetricsEnable, false, "Enable Quality Metrics for IGC", true)
244
244
DECLARE_IGC_REGKEY(bool, ShaderDumpEnable, false, "dump LLVM IR, visaasm, and GenISA", true)
245
-
DECLARE_IGC_REGKEY(bool, InterleaveSourceShader, true, "Interleave the source shader in asm dump", true)
246
245
DECLARE_IGC_REGKEY(bool, ShaderDumpEnableAll, false, "dump all LLVM IR passes, visaasm, and GenISA", true)
246
+
DECLARE_IGC_REGKEY(debugString, PrintAfter, 0, "Take pass name or all. If set, enable print LLVM IR after the given pass is done (mimic llvm print-after)", true)
247
+
DECLARE_IGC_REGKEY(debugString, PrintBefore, 0, "Take pass name or all. If set, enable print LLVM IR before the given pass is done (mimic llvm print-before)", true)
248
+
DECLARE_IGC_REGKEY(bool, InterleaveSourceShader, true, "Interleave the source shader in asm dump", true)
247
249
DECLARE_IGC_REGKEY(bool, ShaderDumpPidDisable, false, "disabled adding PID to the name of shader dump directory", true)
248
250
DECLARE_IGC_REGKEY(bool, DumpToCurrentDir, false, "dump shaders to the current directory", true)
249
251
DECLARE_IGC_REGKEY(debugString, DumpToCustomDir, 0, "Dump shaders to custom directory. Parent directory must exist.", true)
0 commit comments