blob: 442a2c9bdef129e9a25b612adae83dcc1911291b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef SLANG_IR_SPECIALIZE_TARGET_SWITCH_H
#define SLANG_IR_SPECIALIZE_TARGET_SWITCH_H
namespace Slang
{
struct IRModule;
class TargetRequest;
class DiagnosticSink;
// Repalce all target_switch insts with the case that matches current target.
//
void specializeTargetSwitch(TargetRequest* target, IRModule* module, DiagnosticSink* sink);
} // namespace Slang
#endif
|