InstructionTransformer
protocol InstructionTransformer
A type that transforms the parts of IR instructions.
-
Returns a transformed copy of
tfor use inir.Declaration
Swift
func transform(_ t: AnyType, in ir: inout IR.Program) -> AnyType -
Returns a transformed copy of
ofor use inir. -
Returns a transformed copy of
bfor use inir. -
transform(_:Extension methodin: ) Returns a transformed copy of
tfor use inir.Declaration
Swift
func transform(_ t: IR.Type, in ir: inout IR.Program) -> IR.Type -
transform(_:Extension methodin: ) Returns a transformed copy of the elements in
sfor use inir.Declaration
View on GitHub