mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[const evaluator] Expose the step-wise constant evaluation mode
(also referred to as flow-sensitive mode) so that the evaluator can be used by clients to constant evaluate instructions in a SILFunction body one by one following the flow of control.
This commit is contained in:
@@ -110,6 +110,8 @@ PASS(ComputeLoopInfo, "compute-loop-info",
|
||||
"Compute Loop Information for Testing")
|
||||
PASS(ConditionForwarding, "condition-forwarding",
|
||||
"Conditional Branch Forwarding to Fold SIL switch_enum")
|
||||
PASS(ConstantEvaluatorTester, "test-constant-evaluator",
|
||||
"Test constant evaluator")
|
||||
PASS(CopyForwarding, "copy-forwarding",
|
||||
"Copy Forwarding to Remove Redundant Copies")
|
||||
PASS(CopyPropagation, "copy-propagation",
|
||||
|
||||
Reference in New Issue
Block a user