summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-lower-generic-type.h
blob: 20d4fa7b33c4973da96858a16aae705f4628c212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// slang-ir-lower-generic-type.h
#pragma once

namespace Slang
{
struct SharedGenericsLoweringContext;

/// Lower all references to generic types (ThisType, AssociatedType, etc.) into IRAnyValueType,
/// and existential types into Tuple<AnyValue, WitnessTable(I), Ptr(RTTIType)>.
void lowerGenericType(SharedGenericsLoweringContext* sharedContext);

} // namespace Slang