Merge pull request #40805 from eeckstein/swift-sil-infrastructure

Add swift SIL/Optimizer infrastructure
This commit is contained in:
eeckstein
2022-01-13 08:35:25 +01:00
committed by GitHub
38 changed files with 1077 additions and 161 deletions

View File

@@ -339,7 +339,7 @@ ABSTRACT_VALUE_AND_INST(SingleValueInstruction, ValueBase, SILInstruction)
// Literals
ABSTRACT_SINGLE_VALUE_INST(LiteralInst, SingleValueInstruction)
SINGLE_VALUE_INST(FunctionRefInst, function_ref,
BRIDGED_SINGLE_VALUE_INST(FunctionRefInst, function_ref,
LiteralInst, None, DoesNotRelease)
SINGLE_VALUE_INST(DynamicFunctionRefInst, dynamic_function_ref,
LiteralInst, None, DoesNotRelease)
@@ -448,7 +448,7 @@ ABSTRACT_VALUE_AND_INST(SingleValueInstruction, ValueBase, SILInstruction)
SingleValueInstruction, None, DoesNotRelease)
BRIDGED_SINGLE_VALUE_INST(ValueToBridgeObjectInst, value_to_bridge_object,
SingleValueInstruction, None, DoesNotRelease)
SINGLE_VALUE_INST(MarkDependenceInst, mark_dependence,
BRIDGED_SINGLE_VALUE_INST(MarkDependenceInst, mark_dependence,
SingleValueInstruction, None, DoesNotRelease)
SINGLE_VALUE_INST(CopyBlockInst, copy_block,
SingleValueInstruction, MayHaveSideEffects, DoesNotRelease)