https://github.com/shader-slang/slang
Raw File
Tip revision: 91301d197fe85816d365dca32e8009af9f6c1018 authored by Yong He on 27 June 2022, 06:43:11 UTC
Fine tune auto formatting and completion experience.
Tip revision: 91301d1
slang-ir-simplify-cfg.h
// slang-ir-simplify-cfg.h
#pragma once

namespace Slang
{
    struct IRModule;

        /// Simplifies control flow graph by merging basic blocks that
        /// forms a simple linear chain.
        /// Returns true if changed.
    bool simplifyCFG(IRModule* module);
}
back to top