diff options
-rw-r--r-- | libsolidity/CMakeLists.txt | 6 | ||||
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.h | 2 | ||||
-rw-r--r-- | libsolidity/inlineasm/AsmCodeGen.cpp | 4 | ||||
-rw-r--r-- | libsolidity/interface/AssemblyStack.cpp | 4 | ||||
-rw-r--r-- | libyul/ASTDataForward.h (renamed from libjulia/ASTDataForward.h) | 0 | ||||
-rw-r--r-- | libyul/Exceptions.h (renamed from libjulia/Exceptions.h) | 0 | ||||
-rw-r--r-- | libyul/backends/evm/AbstractAssembly.h (renamed from libjulia/backends/evm/AbstractAssembly.h) | 0 | ||||
-rw-r--r-- | libyul/backends/evm/EVMAssembly.cpp (renamed from libjulia/backends/evm/EVMAssembly.cpp) | 2 | ||||
-rw-r--r-- | libyul/backends/evm/EVMAssembly.h (renamed from libjulia/backends/evm/EVMAssembly.h) | 2 | ||||
-rw-r--r-- | libyul/backends/evm/EVMCodeTransform.cpp (renamed from libjulia/backends/evm/EVMCodeTransform.cpp) | 2 | ||||
-rw-r--r-- | libyul/backends/evm/EVMCodeTransform.h (renamed from libjulia/backends/evm/EVMCodeTransform.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/ASTCopier.cpp (renamed from libjulia/optimiser/ASTCopier.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/ASTCopier.h (renamed from libjulia/optimiser/ASTCopier.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/ASTWalker.cpp (renamed from libjulia/optimiser/ASTWalker.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/ASTWalker.h (renamed from libjulia/optimiser/ASTWalker.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/CommonSubexpressionEliminator.cpp (renamed from libjulia/optimiser/CommonSubexpressionEliminator.cpp) | 8 | ||||
-rw-r--r-- | libyul/optimiser/CommonSubexpressionEliminator.h (renamed from libjulia/optimiser/CommonSubexpressionEliminator.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/DataFlowAnalyzer.cpp (renamed from libjulia/optimiser/DataFlowAnalyzer.cpp) | 8 | ||||
-rw-r--r-- | libyul/optimiser/DataFlowAnalyzer.h (renamed from libjulia/optimiser/DataFlowAnalyzer.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Disambiguator.cpp (renamed from libjulia/optimiser/Disambiguator.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/Disambiguator.h (renamed from libjulia/optimiser/Disambiguator.h) | 6 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionInliner.cpp (renamed from libjulia/optimiser/ExpressionInliner.cpp) | 8 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionInliner.h (renamed from libjulia/optimiser/ExpressionInliner.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionJoiner.cpp (renamed from libjulia/optimiser/ExpressionJoiner.cpp) | 8 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionJoiner.h (renamed from libjulia/optimiser/ExpressionJoiner.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionSimplifier.cpp (renamed from libjulia/optimiser/ExpressionSimplifier.cpp) | 6 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionSimplifier.h (renamed from libjulia/optimiser/ExpressionSimplifier.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionSplitter.cpp (renamed from libjulia/optimiser/ExpressionSplitter.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/ExpressionSplitter.h (renamed from libjulia/optimiser/ExpressionSplitter.h) | 6 | ||||
-rw-r--r-- | libyul/optimiser/FullInliner.cpp (renamed from libjulia/optimiser/FullInliner.cpp) | 12 | ||||
-rw-r--r-- | libyul/optimiser/FullInliner.h (renamed from libjulia/optimiser/FullInliner.h) | 10 | ||||
-rw-r--r-- | libyul/optimiser/FunctionGrouper.cpp (renamed from libjulia/optimiser/FunctionGrouper.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/FunctionGrouper.h (renamed from libjulia/optimiser/FunctionGrouper.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/FunctionHoister.cpp (renamed from libjulia/optimiser/FunctionHoister.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/FunctionHoister.h (renamed from libjulia/optimiser/FunctionHoister.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/InlinableExpressionFunctionFinder.cpp (renamed from libjulia/optimiser/InlinableExpressionFunctionFinder.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/InlinableExpressionFunctionFinder.h (renamed from libjulia/optimiser/InlinableExpressionFunctionFinder.h) | 4 | ||||
-rw-r--r-- | libyul/optimiser/MainFunction.cpp (renamed from libjulia/optimiser/MainFunction.cpp) | 6 | ||||
-rw-r--r-- | libyul/optimiser/MainFunction.h (renamed from libjulia/optimiser/MainFunction.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Metrics.cpp (renamed from libjulia/optimiser/Metrics.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Metrics.h (renamed from libjulia/optimiser/Metrics.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/NameCollector.cpp (renamed from libjulia/optimiser/NameCollector.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/NameCollector.h (renamed from libjulia/optimiser/NameCollector.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/NameDispenser.cpp (renamed from libjulia/optimiser/NameDispenser.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/NameDispenser.h (renamed from libjulia/optimiser/NameDispenser.h) | 0 | ||||
-rw-r--r-- | libyul/optimiser/README.md (renamed from libjulia/optimiser/README.md) | 0 | ||||
-rw-r--r-- | libyul/optimiser/Rematerialiser.cpp (renamed from libjulia/optimiser/Rematerialiser.cpp) | 8 | ||||
-rw-r--r-- | libyul/optimiser/Rematerialiser.h (renamed from libjulia/optimiser/Rematerialiser.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Semantics.cpp (renamed from libjulia/optimiser/Semantics.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/Semantics.h (renamed from libjulia/optimiser/Semantics.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/SimplificationRules.cpp (renamed from libjulia/optimiser/SimplificationRules.cpp) | 10 | ||||
-rw-r--r-- | libyul/optimiser/SimplificationRules.h (renamed from libjulia/optimiser/SimplificationRules.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Substitution.cpp (renamed from libjulia/optimiser/Substitution.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Substitution.h (renamed from libjulia/optimiser/Substitution.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/SyntacticalEquality.cpp (renamed from libjulia/optimiser/SyntacticalEquality.cpp) | 4 | ||||
-rw-r--r-- | libyul/optimiser/SyntacticalEquality.h (renamed from libjulia/optimiser/SyntacticalEquality.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/UnusedPruner.cpp (renamed from libjulia/optimiser/UnusedPruner.cpp) | 10 | ||||
-rw-r--r-- | libyul/optimiser/UnusedPruner.h (renamed from libjulia/optimiser/UnusedPruner.h) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Utilities.cpp (renamed from libjulia/optimiser/Utilities.cpp) | 2 | ||||
-rw-r--r-- | libyul/optimiser/Utilities.h (renamed from libjulia/optimiser/Utilities.h) | 2 | ||||
-rw-r--r-- | test/CMakeLists.txt | 6 | ||||
-rw-r--r-- | test/boostTest.cpp | 4 | ||||
-rw-r--r-- | test/libyul/Common.cpp (renamed from test/libjulia/Common.cpp) | 4 | ||||
-rw-r--r-- | test/libyul/Common.h (renamed from test/libjulia/Common.h) | 0 | ||||
-rw-r--r-- | test/libyul/Inliner.cpp (renamed from test/libjulia/Inliner.cpp) | 12 | ||||
-rw-r--r-- | test/libyul/Parser.cpp (renamed from test/libjulia/Parser.cpp) | 0 | ||||
-rw-r--r-- | test/libyul/YulOptimizerTest.cpp (renamed from test/libjulia/YulOptimizerTest.cpp) | 28 | ||||
-rw-r--r-- | test/libyul/YulOptimizerTest.h (renamed from test/libjulia/YulOptimizerTest.h) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/branches_for.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_for.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr2.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/smoke.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/commonSubexpressionEliminator/variable_for_variable.yul (renamed from test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/variable_for_variable.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/for_statement.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/for_statement.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/funtion_call.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/funtion_call.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/if_statement.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/if_statement.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/smoke.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/smoke_yul.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/smoke_yul.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/switch_statement.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/switch_statement.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/variables.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/variables.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/variables_clash.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/variables_clash.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/disambiguator/variables_inside_functions.yul (renamed from test/libjulia/yulOptimizerTests/disambiguator/variables_inside_functions.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/complex_with_evm.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/complex_with_evm.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/double_calls.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/double_calls.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/double_recursive_calls.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/double_recursive_calls.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/no_inline_mload.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/no_inline_mload.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/no_move_with_sideeffects.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/no_move_with_sideeffects.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/simple.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/simple.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionInliner/with_args.yul (renamed from test/libjulia/yulOptimizerTests/expressionInliner/with_args.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/if_condition.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/if_condition.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/muli_wrong_order3.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/muli_wrong_order3.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/multi.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/multi.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/multi_reference.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/multi_wrong_order.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_across_blocks.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_across_blocks.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition1.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition1.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition2.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/only_assignment.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/only_assignment.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/reassignment.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/reassignment.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/simple.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/simple.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/single_wrong_order.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/single_wrong_order.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/smoke.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/switch_expression.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/switch_expression.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionJoiner/triple.yul (renamed from test/libjulia/yulOptimizerTests/expressionJoiner/triple.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/constant_propagation.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/constant_propagation.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/constants.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/constants.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_complex.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_complex.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_simple.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_simple.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/including_function_calls.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/including_function_calls.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/inside_for.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/inside_for.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/invariant.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/invariant.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_1.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/mod_and_1.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_2.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/mod_and_2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_arguments.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_arguments.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_names.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_names.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_equality_not_movable.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_equality_not_movable.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_removes_non_constant_and_not_movable.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_removes_non_constant_and_not_movable.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/reversed.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/reversed.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSimplifier/smoke.yul (renamed from test/libjulia/yulOptimizerTests/expressionSimplifier/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSplitter/control_flow.yul (renamed from test/libjulia/yulOptimizerTests/expressionSplitter/control_flow.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSplitter/inside_function.yul (renamed from test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSplitter/smoke.yul (renamed from test/libjulia/yulOptimizerTests/expressionSplitter/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSplitter/switch.yul (renamed from test/libjulia/yulOptimizerTests/expressionSplitter/switch.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/expressionSplitter/trivial.yul (renamed from test/libjulia/yulOptimizerTests/expressionSplitter/trivial.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/inside_condition.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/inside_condition.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/move_up_rightwards_argument.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/move_up_rightwards_argument.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/multi_fun.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/multi_fun.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/multi_return.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/multi_return.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/no_return.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/no_return.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/pop_result.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/pop_result.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/fullInliner/simple.yul (renamed from test/libjulia/yulOptimizerTests/fullInliner/simple.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionGrouper/empty_block.yul (renamed from test/libjulia/yulOptimizerTests/functionGrouper/empty_block.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionGrouper/multi_fun_mixed.yul (renamed from test/libjulia/yulOptimizerTests/functionGrouper/multi_fun_mixed.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionGrouper/nested_fun.yul (renamed from test/libjulia/yulOptimizerTests/functionGrouper/nested_fun.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionGrouper/single_fun.yul (renamed from test/libjulia/yulOptimizerTests/functionGrouper/single_fun.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionGrouper/smoke.yul (renamed from test/libjulia/yulOptimizerTests/functionGrouper/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionHoister/empty_block.yul (renamed from test/libjulia/yulOptimizerTests/functionHoister/empty_block.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionHoister/multi_mixed.yul (renamed from test/libjulia/yulOptimizerTests/functionHoister/multi_mixed.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionHoister/nested.yul (renamed from test/libjulia/yulOptimizerTests/functionHoister/nested.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionHoister/single.yul (renamed from test/libjulia/yulOptimizerTests/functionHoister/single.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/functionHoister/smoke.yul (renamed from test/libjulia/yulOptimizerTests/functionHoister/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/mainFunction/empty_block.yul (renamed from test/libjulia/yulOptimizerTests/mainFunction/empty_block.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/mainFunction/multi_fun_mixed.yul (renamed from test/libjulia/yulOptimizerTests/mainFunction/multi_fun_mixed.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/mainFunction/nested_fun.yul (renamed from test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/mainFunction/sigle_fun.yul (renamed from test/libjulia/yulOptimizerTests/mainFunction/sigle_fun.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/mainFunction/smoke.yul (renamed from test/libjulia/yulOptimizerTests/mainFunction/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/branches_for1.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/branches_for1.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/branches_for2.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/branches_for2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/branches_for_declared_in_init1.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/branches_for_declared_in_init1.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/branches_for_declared_in_init2.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/branches_for_declared_in_init2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/branches_if.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/branches_if.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/branches_switch.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/branches_switch.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/do_not_move_out_of_scope.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/do_not_move_out_of_scope.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code1.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code1.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code2.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code2.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/expression.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/expression.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/non_movable_function.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/non_movable_function.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/non_movable_instruction.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/reassign.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/reassign.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/reassignment.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/reassignment.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/smoke.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/trivial.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/trivial.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/update_asignment_remat.yul (renamed from test/libjulia/yulOptimizerTests/rematerialiser/update_asignment_remat.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/functions.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/functions.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/intermediate_assignment.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/intermediate_assignment.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/multi_assign.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/multi_assign.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/multi_assignments.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/multi_assignments.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/multi_declarations.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/multi_declarations.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/multi_declare.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/multi_declare.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/multi_partial_assignments.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/multi_partial_assignments.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/smoke.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/smoke.yul) | 0 | ||||
-rw-r--r-- | test/libyul/yulOptimizerTests/unusedPruner/trivial.yul (renamed from test/libjulia/yulOptimizerTests/unusedPruner/trivial.yul) | 0 | ||||
-rw-r--r-- | test/tools/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/tools/isoltest.cpp | 4 |
179 files changed, 143 insertions, 143 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt index 91a4678a..136d39b1 100644 --- a/libsolidity/CMakeLists.txt +++ b/libsolidity/CMakeLists.txt @@ -1,6 +1,6 @@ -# Until we have a clear separation, libjulia has to be included here -file(GLOB_RECURSE sources "*.cpp" "../libjulia/*.cpp") -file(GLOB_RECURSE headers "*.h" "../libjulia/*.h") +# Until we have a clear separation, libyul has to be included here +file(GLOB_RECURSE sources "*.cpp" "../libyul/*.cpp") +file(GLOB_RECURSE headers "*.h" "../libyul/*.h") find_package(Z3 QUIET) if (${Z3_FOUND}) diff --git a/libsolidity/inlineasm/AsmAnalysis.h b/libsolidity/inlineasm/AsmAnalysis.h index 8d2a71f0..fd5c6ac7 100644 --- a/libsolidity/inlineasm/AsmAnalysis.h +++ b/libsolidity/inlineasm/AsmAnalysis.h @@ -25,7 +25,7 @@ #include <libsolidity/inlineasm/AsmScope.h> -#include <libjulia/backends/evm/AbstractAssembly.h> +#include <libyul/backends/evm/AbstractAssembly.h> #include <libsolidity/inlineasm/AsmDataForward.h> diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp index dded9f76..0c1baf4c 100644 --- a/libsolidity/inlineasm/AsmCodeGen.cpp +++ b/libsolidity/inlineasm/AsmCodeGen.cpp @@ -32,8 +32,8 @@ #include <libevmasm/SourceLocation.h> #include <libevmasm/Instruction.h> -#include <libjulia/backends/evm/AbstractAssembly.h> -#include <libjulia/backends/evm/EVMCodeTransform.h> +#include <libyul/backends/evm/AbstractAssembly.h> +#include <libyul/backends/evm/EVMCodeTransform.h> #include <libdevcore/CommonIO.h> diff --git a/libsolidity/interface/AssemblyStack.cpp b/libsolidity/interface/AssemblyStack.cpp index 46fa1d6b..dbd976d1 100644 --- a/libsolidity/interface/AssemblyStack.cpp +++ b/libsolidity/interface/AssemblyStack.cpp @@ -31,8 +31,8 @@ #include <libevmasm/Assembly.h> -#include <libjulia/backends/evm/EVMCodeTransform.h> -#include <libjulia/backends/evm/EVMAssembly.h> +#include <libyul/backends/evm/EVMCodeTransform.h> +#include <libyul/backends/evm/EVMAssembly.h> using namespace std; using namespace dev; diff --git a/libjulia/ASTDataForward.h b/libyul/ASTDataForward.h index 143b9c46..143b9c46 100644 --- a/libjulia/ASTDataForward.h +++ b/libyul/ASTDataForward.h diff --git a/libjulia/Exceptions.h b/libyul/Exceptions.h index 48624a56..48624a56 100644 --- a/libjulia/Exceptions.h +++ b/libyul/Exceptions.h diff --git a/libjulia/backends/evm/AbstractAssembly.h b/libyul/backends/evm/AbstractAssembly.h index b6818923..b6818923 100644 --- a/libjulia/backends/evm/AbstractAssembly.h +++ b/libyul/backends/evm/AbstractAssembly.h diff --git a/libjulia/backends/evm/EVMAssembly.cpp b/libyul/backends/evm/EVMAssembly.cpp index 07ad05c9..af0ddbb8 100644 --- a/libjulia/backends/evm/EVMAssembly.cpp +++ b/libyul/backends/evm/EVMAssembly.cpp @@ -18,7 +18,7 @@ * Assembly interface for EVM and EVM1.5. */ -#include <libjulia/backends/evm/EVMAssembly.h> +#include <libyul/backends/evm/EVMAssembly.h> #include <libevmasm/Instruction.h> diff --git a/libjulia/backends/evm/EVMAssembly.h b/libyul/backends/evm/EVMAssembly.h index 56ae7655..30abad97 100644 --- a/libjulia/backends/evm/EVMAssembly.h +++ b/libyul/backends/evm/EVMAssembly.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/backends/evm/AbstractAssembly.h> +#include <libyul/backends/evm/AbstractAssembly.h> #include <libevmasm/LinkerObject.h> diff --git a/libjulia/backends/evm/EVMCodeTransform.cpp b/libyul/backends/evm/EVMCodeTransform.cpp index dc536f77..afc9e608 100644 --- a/libjulia/backends/evm/EVMCodeTransform.cpp +++ b/libyul/backends/evm/EVMCodeTransform.cpp @@ -18,7 +18,7 @@ * Common code generator for translating Yul / inline assembly to EVM and EVM1.5. */ -#include <libjulia/backends/evm/EVMCodeTransform.h> +#include <libyul/backends/evm/EVMCodeTransform.h> #include <libsolidity/inlineasm/AsmAnalysisInfo.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/backends/evm/EVMCodeTransform.h b/libyul/backends/evm/EVMCodeTransform.h index ed0785d3..6a0941b6 100644 --- a/libjulia/backends/evm/EVMCodeTransform.h +++ b/libyul/backends/evm/EVMCodeTransform.h @@ -18,9 +18,9 @@ * Common code generator for translating Yul / inline assembly to EVM and EVM1.5. */ -#include <libjulia/backends/evm/EVMAssembly.h> +#include <libyul/backends/evm/EVMAssembly.h> -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> #include <libsolidity/inlineasm/AsmScope.h> diff --git a/libjulia/optimiser/ASTCopier.cpp b/libyul/optimiser/ASTCopier.cpp index a8a1e30f..c3fe7778 100644 --- a/libjulia/optimiser/ASTCopier.cpp +++ b/libyul/optimiser/ASTCopier.cpp @@ -18,9 +18,9 @@ * Creates an independent copy of an AST, renaming identifiers to be unique. */ -#include <libjulia/optimiser/ASTCopier.h> +#include <libyul/optimiser/ASTCopier.h> -#include <libjulia/Exceptions.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/ASTCopier.h b/libyul/optimiser/ASTCopier.h index cb2925e3..ce9226a6 100644 --- a/libjulia/optimiser/ASTCopier.h +++ b/libyul/optimiser/ASTCopier.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> #include <boost/variant.hpp> #include <boost/optional.hpp> diff --git a/libjulia/optimiser/ASTWalker.cpp b/libyul/optimiser/ASTWalker.cpp index dc94cc60..042d1f11 100644 --- a/libjulia/optimiser/ASTWalker.cpp +++ b/libyul/optimiser/ASTWalker.cpp @@ -18,7 +18,7 @@ * Generic AST walker. */ -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/ASTWalker.h b/libyul/optimiser/ASTWalker.h index e1f0f5bd..b34559a3 100644 --- a/libjulia/optimiser/ASTWalker.h +++ b/libyul/optimiser/ASTWalker.h @@ -20,9 +20,9 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/Exceptions.h> +#include <libyul/Exceptions.h> #include <boost/variant.hpp> #include <boost/optional.hpp> diff --git a/libjulia/optimiser/CommonSubexpressionEliminator.cpp b/libyul/optimiser/CommonSubexpressionEliminator.cpp index 458b3437..8bb4ca2e 100644 --- a/libjulia/optimiser/CommonSubexpressionEliminator.cpp +++ b/libyul/optimiser/CommonSubexpressionEliminator.cpp @@ -19,11 +19,11 @@ * in scope by a reference to that variable. */ -#include <libjulia/optimiser/CommonSubexpressionEliminator.h> +#include <libyul/optimiser/CommonSubexpressionEliminator.h> -#include <libjulia/optimiser/Metrics.h> -#include <libjulia/optimiser/SyntacticalEquality.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/Metrics.h> +#include <libyul/optimiser/SyntacticalEquality.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/CommonSubexpressionEliminator.h b/libyul/optimiser/CommonSubexpressionEliminator.h index a8ca3abb..37cd80ff 100644 --- a/libjulia/optimiser/CommonSubexpressionEliminator.h +++ b/libyul/optimiser/CommonSubexpressionEliminator.h @@ -21,7 +21,7 @@ #pragma once -#include <libjulia/optimiser/DataFlowAnalyzer.h> +#include <libyul/optimiser/DataFlowAnalyzer.h> namespace dev { diff --git a/libjulia/optimiser/DataFlowAnalyzer.cpp b/libyul/optimiser/DataFlowAnalyzer.cpp index 0ad0eac9..3300a2bd 100644 --- a/libjulia/optimiser/DataFlowAnalyzer.cpp +++ b/libyul/optimiser/DataFlowAnalyzer.cpp @@ -20,11 +20,11 @@ * Common Subexpression Eliminator. */ -#include <libjulia/optimiser/DataFlowAnalyzer.h> +#include <libyul/optimiser/DataFlowAnalyzer.h> -#include <libjulia/optimiser/NameCollector.h> -#include <libjulia/optimiser/Semantics.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/NameCollector.h> +#include <libyul/optimiser/Semantics.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/DataFlowAnalyzer.h b/libyul/optimiser/DataFlowAnalyzer.h index 66df2f48..054f6bd4 100644 --- a/libjulia/optimiser/DataFlowAnalyzer.h +++ b/libyul/optimiser/DataFlowAnalyzer.h @@ -22,7 +22,7 @@ #pragma once -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <string> #include <map> diff --git a/libjulia/optimiser/Disambiguator.cpp b/libyul/optimiser/Disambiguator.cpp index 687be9b9..87da0391 100644 --- a/libjulia/optimiser/Disambiguator.cpp +++ b/libyul/optimiser/Disambiguator.cpp @@ -18,9 +18,9 @@ * Optimiser component that makes all identifiers unique. */ -#include <libjulia/optimiser/Disambiguator.h> +#include <libyul/optimiser/Disambiguator.h> -#include <libjulia/Exceptions.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> #include <libsolidity/inlineasm/AsmScope.h> diff --git a/libjulia/optimiser/Disambiguator.h b/libyul/optimiser/Disambiguator.h index 4ef43736..f6b8fd46 100644 --- a/libjulia/optimiser/Disambiguator.h +++ b/libyul/optimiser/Disambiguator.h @@ -20,10 +20,10 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/optimiser/ASTCopier.h> -#include <libjulia/optimiser/NameDispenser.h> +#include <libyul/optimiser/ASTCopier.h> +#include <libyul/optimiser/NameDispenser.h> #include <libsolidity/inlineasm/AsmAnalysisInfo.h> diff --git a/libjulia/optimiser/ExpressionInliner.cpp b/libyul/optimiser/ExpressionInliner.cpp index 450769fd..d4f7c4a4 100644 --- a/libjulia/optimiser/ExpressionInliner.cpp +++ b/libyul/optimiser/ExpressionInliner.cpp @@ -18,11 +18,11 @@ * Optimiser component that performs function inlining inside expressions. */ -#include <libjulia/optimiser/ExpressionInliner.h> +#include <libyul/optimiser/ExpressionInliner.h> -#include <libjulia/optimiser/InlinableExpressionFunctionFinder.h> -#include <libjulia/optimiser/Substitution.h> -#include <libjulia/optimiser/Semantics.h> +#include <libyul/optimiser/InlinableExpressionFunctionFinder.h> +#include <libyul/optimiser/Substitution.h> +#include <libyul/optimiser/Semantics.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/ExpressionInliner.h b/libyul/optimiser/ExpressionInliner.h index 3d24ef5d..99fa68c9 100644 --- a/libjulia/optimiser/ExpressionInliner.h +++ b/libyul/optimiser/ExpressionInliner.h @@ -19,9 +19,9 @@ */ #pragma once -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> #include <boost/variant.hpp> #include <boost/optional.hpp> diff --git a/libjulia/optimiser/ExpressionJoiner.cpp b/libyul/optimiser/ExpressionJoiner.cpp index 5b92e332..ebf01346 100644 --- a/libjulia/optimiser/ExpressionJoiner.cpp +++ b/libyul/optimiser/ExpressionJoiner.cpp @@ -19,11 +19,11 @@ * it more or less inlines variable declarations. */ -#include <libjulia/optimiser/ExpressionJoiner.h> +#include <libyul/optimiser/ExpressionJoiner.h> -#include <libjulia/optimiser/NameCollector.h> -#include <libjulia/optimiser/Utilities.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/NameCollector.h> +#include <libyul/optimiser/Utilities.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/ExpressionJoiner.h b/libyul/optimiser/ExpressionJoiner.h index 91b45b49..a7ae50bc 100644 --- a/libjulia/optimiser/ExpressionJoiner.h +++ b/libyul/optimiser/ExpressionJoiner.h @@ -20,9 +20,9 @@ */ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <map> diff --git a/libjulia/optimiser/ExpressionSimplifier.cpp b/libyul/optimiser/ExpressionSimplifier.cpp index 8bd6b1c7..5d89cef0 100644 --- a/libjulia/optimiser/ExpressionSimplifier.cpp +++ b/libyul/optimiser/ExpressionSimplifier.cpp @@ -18,10 +18,10 @@ * Optimiser component that uses the simplification rules to simplify expressions. */ -#include <libjulia/optimiser/ExpressionSimplifier.h> +#include <libyul/optimiser/ExpressionSimplifier.h> -#include <libjulia/optimiser/SimplificationRules.h> -#include <libjulia/optimiser/Semantics.h> +#include <libyul/optimiser/SimplificationRules.h> +#include <libyul/optimiser/Semantics.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/ExpressionSimplifier.h b/libyul/optimiser/ExpressionSimplifier.h index 8a9e0e20..d11cd5d6 100644 --- a/libjulia/optimiser/ExpressionSimplifier.h +++ b/libyul/optimiser/ExpressionSimplifier.h @@ -20,9 +20,9 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> namespace dev { diff --git a/libjulia/optimiser/ExpressionSplitter.cpp b/libyul/optimiser/ExpressionSplitter.cpp index f189f563..e4e2739e 100644 --- a/libjulia/optimiser/ExpressionSplitter.cpp +++ b/libyul/optimiser/ExpressionSplitter.cpp @@ -19,9 +19,9 @@ * declarations. */ -#include <libjulia/optimiser/ExpressionSplitter.h> +#include <libyul/optimiser/ExpressionSplitter.h> -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/ExpressionSplitter.h b/libyul/optimiser/ExpressionSplitter.h index 324d2b13..89757df3 100644 --- a/libjulia/optimiser/ExpressionSplitter.h +++ b/libyul/optimiser/ExpressionSplitter.h @@ -20,10 +20,10 @@ */ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/optimiser/ASTWalker.h> -#include <libjulia/optimiser/NameDispenser.h> +#include <libyul/optimiser/ASTWalker.h> +#include <libyul/optimiser/NameDispenser.h> #include <vector> diff --git a/libjulia/optimiser/FullInliner.cpp b/libyul/optimiser/FullInliner.cpp index f41dc198..7af642be 100644 --- a/libjulia/optimiser/FullInliner.cpp +++ b/libyul/optimiser/FullInliner.cpp @@ -18,13 +18,13 @@ * Optimiser component that performs function inlining for arbitrary functions. */ -#include <libjulia/optimiser/FullInliner.h> +#include <libyul/optimiser/FullInliner.h> -#include <libjulia/optimiser/ASTCopier.h> -#include <libjulia/optimiser/ASTWalker.h> -#include <libjulia/optimiser/NameCollector.h> -#include <libjulia/optimiser/Semantics.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/ASTCopier.h> +#include <libyul/optimiser/ASTWalker.h> +#include <libyul/optimiser/NameCollector.h> +#include <libyul/optimiser/Semantics.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/FullInliner.h b/libyul/optimiser/FullInliner.h index ff9e6854..ecf987f7 100644 --- a/libjulia/optimiser/FullInliner.h +++ b/libyul/optimiser/FullInliner.h @@ -19,12 +19,12 @@ */ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/optimiser/ASTCopier.h> -#include <libjulia/optimiser/ASTWalker.h> -#include <libjulia/optimiser/NameDispenser.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/ASTCopier.h> +#include <libyul/optimiser/ASTWalker.h> +#include <libyul/optimiser/NameDispenser.h> +#include <libyul/Exceptions.h> #include <libevmasm/SourceLocation.h> diff --git a/libjulia/optimiser/FunctionGrouper.cpp b/libyul/optimiser/FunctionGrouper.cpp index f1e99e6b..cbdd215f 100644 --- a/libjulia/optimiser/FunctionGrouper.cpp +++ b/libyul/optimiser/FunctionGrouper.cpp @@ -19,7 +19,7 @@ * statements are moved to a block of their own followed by all function definitions. */ -#include <libjulia/optimiser/FunctionGrouper.h> +#include <libyul/optimiser/FunctionGrouper.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/FunctionGrouper.h b/libyul/optimiser/FunctionGrouper.h index 64a71318..57279c16 100644 --- a/libjulia/optimiser/FunctionGrouper.h +++ b/libyul/optimiser/FunctionGrouper.h @@ -21,7 +21,7 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> namespace dev { diff --git a/libjulia/optimiser/FunctionHoister.cpp b/libyul/optimiser/FunctionHoister.cpp index 98fc714c..99525494 100644 --- a/libjulia/optimiser/FunctionHoister.cpp +++ b/libyul/optimiser/FunctionHoister.cpp @@ -20,8 +20,8 @@ * anywhere else. */ -#include <libjulia/optimiser/FunctionHoister.h> -#include <libjulia/optimiser/Utilities.h> +#include <libyul/optimiser/FunctionHoister.h> +#include <libyul/optimiser/Utilities.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/FunctionHoister.h b/libyul/optimiser/FunctionHoister.h index f9f8bce0..80d55703 100644 --- a/libjulia/optimiser/FunctionHoister.h +++ b/libyul/optimiser/FunctionHoister.h @@ -21,9 +21,9 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> namespace dev { diff --git a/libjulia/optimiser/InlinableExpressionFunctionFinder.cpp b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp index e237063d..e6332f3a 100644 --- a/libjulia/optimiser/InlinableExpressionFunctionFinder.cpp +++ b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp @@ -18,9 +18,9 @@ * Optimiser component that identifies functions to be inlined. */ -#include <libjulia/optimiser/InlinableExpressionFunctionFinder.h> +#include <libyul/optimiser/InlinableExpressionFunctionFinder.h> -#include <libjulia/optimiser/Utilities.h> +#include <libyul/optimiser/Utilities.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/InlinableExpressionFunctionFinder.h b/libyul/optimiser/InlinableExpressionFunctionFinder.h index d11160d7..69c003e6 100644 --- a/libjulia/optimiser/InlinableExpressionFunctionFinder.h +++ b/libyul/optimiser/InlinableExpressionFunctionFinder.h @@ -20,8 +20,8 @@ #pragma once -#include <libjulia/ASTDataForward.h> -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/ASTDataForward.h> +#include <libyul/optimiser/ASTWalker.h> #include <set> diff --git a/libjulia/optimiser/MainFunction.cpp b/libyul/optimiser/MainFunction.cpp index bcd2f178..dfc19574 100644 --- a/libjulia/optimiser/MainFunction.cpp +++ b/libyul/optimiser/MainFunction.cpp @@ -19,10 +19,10 @@ * inputs nor outputs. */ -#include <libjulia/optimiser/MainFunction.h> +#include <libyul/optimiser/MainFunction.h> -#include <libjulia/optimiser/NameCollector.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/NameCollector.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/MainFunction.h b/libyul/optimiser/MainFunction.h index 7201d89a..4d790729 100644 --- a/libjulia/optimiser/MainFunction.h +++ b/libyul/optimiser/MainFunction.h @@ -21,7 +21,7 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> namespace dev { diff --git a/libjulia/optimiser/Metrics.cpp b/libyul/optimiser/Metrics.cpp index eaa1494f..ce7c1bed 100644 --- a/libjulia/optimiser/Metrics.cpp +++ b/libyul/optimiser/Metrics.cpp @@ -18,7 +18,7 @@ * Module providing metrics for the optimizer. */ -#include <libjulia/optimiser/Metrics.h> +#include <libyul/optimiser/Metrics.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/Metrics.h b/libyul/optimiser/Metrics.h index ff058fc3..f0d6a203 100644 --- a/libjulia/optimiser/Metrics.h +++ b/libyul/optimiser/Metrics.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> namespace dev { diff --git a/libjulia/optimiser/NameCollector.cpp b/libyul/optimiser/NameCollector.cpp index c0d0b707..cbc7aad2 100644 --- a/libjulia/optimiser/NameCollector.cpp +++ b/libyul/optimiser/NameCollector.cpp @@ -18,7 +18,7 @@ * Specific AST walker that collects all defined names. */ -#include <libjulia/optimiser/NameCollector.h> +#include <libyul/optimiser/NameCollector.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/NameCollector.h b/libyul/optimiser/NameCollector.h index 29856172..9ea32674 100644 --- a/libjulia/optimiser/NameCollector.h +++ b/libyul/optimiser/NameCollector.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <string> #include <map> diff --git a/libjulia/optimiser/NameDispenser.cpp b/libyul/optimiser/NameDispenser.cpp index cae19381..4b177389 100644 --- a/libjulia/optimiser/NameDispenser.cpp +++ b/libyul/optimiser/NameDispenser.cpp @@ -18,7 +18,7 @@ * Optimiser component that can create new unique names. */ -#include <libjulia/optimiser/NameDispenser.h> +#include <libyul/optimiser/NameDispenser.h> using namespace std; using namespace dev; diff --git a/libjulia/optimiser/NameDispenser.h b/libyul/optimiser/NameDispenser.h index 91c43d54..91c43d54 100644 --- a/libjulia/optimiser/NameDispenser.h +++ b/libyul/optimiser/NameDispenser.h diff --git a/libjulia/optimiser/README.md b/libyul/optimiser/README.md index faef818b..faef818b 100644 --- a/libjulia/optimiser/README.md +++ b/libyul/optimiser/README.md diff --git a/libjulia/optimiser/Rematerialiser.cpp b/libyul/optimiser/Rematerialiser.cpp index 392099fb..5f2b9e8b 100644 --- a/libjulia/optimiser/Rematerialiser.cpp +++ b/libyul/optimiser/Rematerialiser.cpp @@ -18,11 +18,11 @@ * Optimisation stage that replaces variables by their most recently assigned expressions. */ -#include <libjulia/optimiser/Rematerialiser.h> +#include <libyul/optimiser/Rematerialiser.h> -#include <libjulia/optimiser/Metrics.h> -#include <libjulia/optimiser/ASTCopier.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/Metrics.h> +#include <libyul/optimiser/ASTCopier.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/Rematerialiser.h b/libyul/optimiser/Rematerialiser.h index 60dbfada..d06c2754 100644 --- a/libjulia/optimiser/Rematerialiser.h +++ b/libyul/optimiser/Rematerialiser.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/optimiser/DataFlowAnalyzer.h> +#include <libyul/optimiser/DataFlowAnalyzer.h> #include <string> #include <map> diff --git a/libjulia/optimiser/Semantics.cpp b/libyul/optimiser/Semantics.cpp index f28925a4..d610341d 100644 --- a/libjulia/optimiser/Semantics.cpp +++ b/libyul/optimiser/Semantics.cpp @@ -18,9 +18,9 @@ * Specific AST walkers that collect semantical facts. */ -#include <libjulia/optimiser/Semantics.h> +#include <libyul/optimiser/Semantics.h> -#include <libjulia/Exceptions.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/Semantics.h b/libyul/optimiser/Semantics.h index 6df5f01a..1963e7a3 100644 --- a/libjulia/optimiser/Semantics.h +++ b/libyul/optimiser/Semantics.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <string> #include <map> diff --git a/libjulia/optimiser/SimplificationRules.cpp b/libyul/optimiser/SimplificationRules.cpp index 56cb96ac..ca3f2984 100644 --- a/libjulia/optimiser/SimplificationRules.cpp +++ b/libyul/optimiser/SimplificationRules.cpp @@ -18,12 +18,12 @@ * Module for applying replacement rules against Expressions. */ -#include <libjulia/optimiser/SimplificationRules.h> +#include <libyul/optimiser/SimplificationRules.h> -#include <libjulia/optimiser/Utilities.h> -#include <libjulia/optimiser/ASTCopier.h> -#include <libjulia/optimiser/Semantics.h> -#include <libjulia/optimiser/SyntacticalEquality.h> +#include <libyul/optimiser/Utilities.h> +#include <libyul/optimiser/ASTCopier.h> +#include <libyul/optimiser/Semantics.h> +#include <libyul/optimiser/SyntacticalEquality.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/SimplificationRules.h b/libyul/optimiser/SimplificationRules.h index e35e6466..2b5bccd5 100644 --- a/libjulia/optimiser/SimplificationRules.h +++ b/libyul/optimiser/SimplificationRules.h @@ -23,7 +23,7 @@ #include <libevmasm/ExpressionClasses.h> #include <libevmasm/SimplificationRule.h> -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/Substitution.cpp b/libyul/optimiser/Substitution.cpp index 668b6cb6..eafe1da9 100644 --- a/libjulia/optimiser/Substitution.cpp +++ b/libyul/optimiser/Substitution.cpp @@ -18,7 +18,7 @@ * Specific AST copier that replaces certain identifiers with expressions. */ -#include <libjulia/optimiser/Substitution.h> +#include <libyul/optimiser/Substitution.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/Substitution.h b/libyul/optimiser/Substitution.h index 313a08d7..c7e604ca 100644 --- a/libjulia/optimiser/Substitution.h +++ b/libyul/optimiser/Substitution.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/optimiser/ASTCopier.h> +#include <libyul/optimiser/ASTCopier.h> #include <string> #include <map> diff --git a/libjulia/optimiser/SyntacticalEquality.cpp b/libyul/optimiser/SyntacticalEquality.cpp index c497336d..a235e509 100644 --- a/libjulia/optimiser/SyntacticalEquality.cpp +++ b/libyul/optimiser/SyntacticalEquality.cpp @@ -18,9 +18,9 @@ * Component that can compare ASTs for equality on a syntactic basis. */ -#include <libjulia/optimiser/SyntacticalEquality.h> +#include <libyul/optimiser/SyntacticalEquality.h> -#include <libjulia/Exceptions.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/SyntacticalEquality.h b/libyul/optimiser/SyntacticalEquality.h index b7c09330..58d4f365 100644 --- a/libjulia/optimiser/SyntacticalEquality.h +++ b/libyul/optimiser/SyntacticalEquality.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> #include <vector> diff --git a/libjulia/optimiser/UnusedPruner.cpp b/libyul/optimiser/UnusedPruner.cpp index af503712..10b1c171 100644 --- a/libjulia/optimiser/UnusedPruner.cpp +++ b/libyul/optimiser/UnusedPruner.cpp @@ -18,12 +18,12 @@ * Optimisation stage that removes unused variables and functions. */ -#include <libjulia/optimiser/UnusedPruner.h> +#include <libyul/optimiser/UnusedPruner.h> -#include <libjulia/optimiser/NameCollector.h> -#include <libjulia/optimiser/Semantics.h> -#include <libjulia/optimiser/Utilities.h> -#include <libjulia/Exceptions.h> +#include <libyul/optimiser/NameCollector.h> +#include <libyul/optimiser/Semantics.h> +#include <libyul/optimiser/Utilities.h> +#include <libyul/Exceptions.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/UnusedPruner.h b/libyul/optimiser/UnusedPruner.h index 73e8de7c..305c62a7 100644 --- a/libjulia/optimiser/UnusedPruner.h +++ b/libyul/optimiser/UnusedPruner.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/optimiser/ASTWalker.h> +#include <libyul/optimiser/ASTWalker.h> #include <string> #include <map> diff --git a/libjulia/optimiser/Utilities.cpp b/libyul/optimiser/Utilities.cpp index ff108b89..7591ed5b 100644 --- a/libjulia/optimiser/Utilities.cpp +++ b/libyul/optimiser/Utilities.cpp @@ -18,7 +18,7 @@ * Some useful snippets for the optimiser. */ -#include <libjulia/optimiser/Utilities.h> +#include <libyul/optimiser/Utilities.h> #include <libsolidity/inlineasm/AsmData.h> diff --git a/libjulia/optimiser/Utilities.h b/libyul/optimiser/Utilities.h index 88ba3f47..ae77d2e0 100644 --- a/libjulia/optimiser/Utilities.h +++ b/libyul/optimiser/Utilities.h @@ -20,7 +20,7 @@ #pragma once -#include <libjulia/ASTDataForward.h> +#include <libyul/ASTDataForward.h> namespace dev { diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 701d53e5..91c1b200 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -7,8 +7,8 @@ file(GLOB libdevcore_sources "libdevcore/*.cpp") file(GLOB libdevcore_headers "libdevcore/*.h") file(GLOB libevmasm_sources "libevmasm/*.cpp") file(GLOB libevmasm_headers "libevmasm/*.h") -file(GLOB libjulia_sources "libjulia/*.cpp") -file(GLOB libjulia_headers "libjulia/*.h") +file(GLOB libyul_sources "libyul/*.cpp") +file(GLOB libyul_headers "libyul/*.h") file(GLOB liblll_sources "liblll/*.cpp") file(GLOB liblll_headers "liblll/*.h") file(GLOB libsolidity_sources "libsolidity/*.cpp") @@ -18,7 +18,7 @@ add_executable(soltest ${sources} ${headers} ${contracts_sources} ${contracts_headers} ${libdevcore_sources} ${libdevcore_headers} ${libevmasm_sources} ${libevmasm_headers} - ${libjulia_sources} ${libjulia_headers} + ${libyul_sources} ${libyul_headers} ${liblll_sources} ${liblll_headers} ${libsolidity_sources} ${libsolidity_headers} ) diff --git a/test/boostTest.cpp b/test/boostTest.cpp index cbbf586f..c199535a 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.cpp @@ -38,7 +38,7 @@ #include <test/Options.h> #include <test/libsolidity/ASTJSONTest.h> #include <test/libsolidity/SyntaxTest.h> -#include <test/libjulia/YulOptimizerTest.h> +#include <test/libyul/YulOptimizerTest.h> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hpp> @@ -141,7 +141,7 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] ) ) > 0, "no JSON AST tests found"); solAssert(registerTests( master, - dev::test::Options::get().testPath / "libjulia", + dev::test::Options::get().testPath / "libyul", "yulOptimizerTests", dev::julia::test::YulOptimizerTest::create ) > 0, "no Yul Optimizer tests found"); diff --git a/test/libjulia/Common.cpp b/test/libyul/Common.cpp index a0592667..f23136e6 100644 --- a/test/libjulia/Common.cpp +++ b/test/libyul/Common.cpp @@ -19,11 +19,11 @@ * Common functions the Yul tests. */ -#include <test/libjulia/Common.h> +#include <test/libyul/Common.h> #include <test/Options.h> -#include <libjulia/optimiser/Disambiguator.h> +#include <libyul/optimiser/Disambiguator.h> #include <libsolidity/parsing/Scanner.h> diff --git a/test/libjulia/Common.h b/test/libyul/Common.h index b9c3d2fb..b9c3d2fb 100644 --- a/test/libjulia/Common.h +++ b/test/libyul/Common.h diff --git a/test/libjulia/Inliner.cpp b/test/libyul/Inliner.cpp index 95b61b29..471b2e2f 100644 --- a/test/libjulia/Inliner.cpp +++ b/test/libyul/Inliner.cpp @@ -19,13 +19,13 @@ * Unit tests for the Yul function inliner. */ -#include <test/libjulia/Common.h> +#include <test/libyul/Common.h> -#include <libjulia/optimiser/ExpressionInliner.h> -#include <libjulia/optimiser/InlinableExpressionFunctionFinder.h> -#include <libjulia/optimiser/FullInliner.h> -#include <libjulia/optimiser/FunctionHoister.h> -#include <libjulia/optimiser/FunctionGrouper.h> +#include <libyul/optimiser/ExpressionInliner.h> +#include <libyul/optimiser/InlinableExpressionFunctionFinder.h> +#include <libyul/optimiser/FullInliner.h> +#include <libyul/optimiser/FunctionHoister.h> +#include <libyul/optimiser/FunctionGrouper.h> #include <libsolidity/inlineasm/AsmPrinter.h> diff --git a/test/libjulia/Parser.cpp b/test/libyul/Parser.cpp index 3f329d28..3f329d28 100644 --- a/test/libjulia/Parser.cpp +++ b/test/libyul/Parser.cpp diff --git a/test/libjulia/YulOptimizerTest.cpp b/test/libyul/YulOptimizerTest.cpp index 38765774..62a4aa10 100644 --- a/test/libjulia/YulOptimizerTest.cpp +++ b/test/libyul/YulOptimizerTest.cpp @@ -15,25 +15,25 @@ along with solidity. If not, see <http://www.gnu.org/licenses/>. */ -#include <test/libjulia/YulOptimizerTest.h> +#include <test/libyul/YulOptimizerTest.h> #include <test/libsolidity/FormattedScope.h> #include <test/Options.h> -#include <libjulia/optimiser/Disambiguator.h> -#include <libjulia/optimiser/CommonSubexpressionEliminator.h> -#include <libjulia/optimiser/NameCollector.h> -#include <libjulia/optimiser/ExpressionSplitter.h> -#include <libjulia/optimiser/FunctionGrouper.h> -#include <libjulia/optimiser/FunctionHoister.h> -#include <libjulia/optimiser/ExpressionInliner.h> -#include <libjulia/optimiser/FullInliner.h> -#include <libjulia/optimiser/MainFunction.h> -#include <libjulia/optimiser/Rematerialiser.h> -#include <libjulia/optimiser/ExpressionSimplifier.h> -#include <libjulia/optimiser/UnusedPruner.h> -#include <libjulia/optimiser/ExpressionJoiner.h> +#include <libyul/optimiser/Disambiguator.h> +#include <libyul/optimiser/CommonSubexpressionEliminator.h> +#include <libyul/optimiser/NameCollector.h> +#include <libyul/optimiser/ExpressionSplitter.h> +#include <libyul/optimiser/FunctionGrouper.h> +#include <libyul/optimiser/FunctionHoister.h> +#include <libyul/optimiser/ExpressionInliner.h> +#include <libyul/optimiser/FullInliner.h> +#include <libyul/optimiser/MainFunction.h> +#include <libyul/optimiser/Rematerialiser.h> +#include <libyul/optimiser/ExpressionSimplifier.h> +#include <libyul/optimiser/UnusedPruner.h> +#include <libyul/optimiser/ExpressionJoiner.h> #include <libsolidity/parsing/Scanner.h> #include <libsolidity/inlineasm/AsmPrinter.h> diff --git a/test/libjulia/YulOptimizerTest.h b/test/libyul/YulOptimizerTest.h index 8f9a81f7..8f9a81f7 100644 --- a/test/libjulia/YulOptimizerTest.h +++ b/test/libyul/YulOptimizerTest.h diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_for.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/branches_for.yul index c59bced7..c59bced7 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_for.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/branches_for.yul diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul index 5b8200d9..5b8200d9 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/branches_if.yul diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr.yul index cb0ca38d..cb0ca38d 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr.yul diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr2.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr2.yul index ebc17446..ebc17446 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr2.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/non_movable_instr2.yul diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/smoke.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/smoke.yul index b9457229..b9457229 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/smoke.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul index 684272f5..684272f5 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/trivial.yul diff --git a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/variable_for_variable.yul b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/variable_for_variable.yul index ab94afc2..ab94afc2 100644 --- a/test/libjulia/yulOptimizerTests/commonSubexpressionEliminator/variable_for_variable.yul +++ b/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/variable_for_variable.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/for_statement.yul b/test/libyul/yulOptimizerTests/disambiguator/for_statement.yul index 0d2a38c5..0d2a38c5 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/for_statement.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/for_statement.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/funtion_call.yul b/test/libyul/yulOptimizerTests/disambiguator/funtion_call.yul index f917bb68..f917bb68 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/funtion_call.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/funtion_call.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/if_statement.yul b/test/libyul/yulOptimizerTests/disambiguator/if_statement.yul index 14f53757..14f53757 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/if_statement.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/if_statement.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/smoke.yul b/test/libyul/yulOptimizerTests/disambiguator/smoke.yul index d6cd8a61..d6cd8a61 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/smoke.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/smoke_yul.yul b/test/libyul/yulOptimizerTests/disambiguator/smoke_yul.yul index e55f4cd3..e55f4cd3 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/smoke_yul.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/smoke_yul.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/switch_statement.yul b/test/libyul/yulOptimizerTests/disambiguator/switch_statement.yul index 340ecccf..340ecccf 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/switch_statement.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/switch_statement.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/variables.yul b/test/libyul/yulOptimizerTests/disambiguator/variables.yul index 65bd4c8f..65bd4c8f 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/variables.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/variables.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/variables_clash.yul b/test/libyul/yulOptimizerTests/disambiguator/variables_clash.yul index e462442a..e462442a 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/variables_clash.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/variables_clash.yul diff --git a/test/libjulia/yulOptimizerTests/disambiguator/variables_inside_functions.yul b/test/libyul/yulOptimizerTests/disambiguator/variables_inside_functions.yul index e80959f6..e80959f6 100644 --- a/test/libjulia/yulOptimizerTests/disambiguator/variables_inside_functions.yul +++ b/test/libyul/yulOptimizerTests/disambiguator/variables_inside_functions.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/complex_with_evm.yul b/test/libyul/yulOptimizerTests/expressionInliner/complex_with_evm.yul index 519a2af8..519a2af8 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/complex_with_evm.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/complex_with_evm.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/double_calls.yul b/test/libyul/yulOptimizerTests/expressionInliner/double_calls.yul index e1da8e07..e1da8e07 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/double_calls.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/double_calls.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/double_recursive_calls.yul b/test/libyul/yulOptimizerTests/expressionInliner/double_recursive_calls.yul index 082cb53f..082cb53f 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/double_recursive_calls.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/double_recursive_calls.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/no_inline_mload.yul b/test/libyul/yulOptimizerTests/expressionInliner/no_inline_mload.yul index 0fb43a9d..0fb43a9d 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/no_inline_mload.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/no_inline_mload.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/no_move_with_sideeffects.yul b/test/libyul/yulOptimizerTests/expressionInliner/no_move_with_sideeffects.yul index 7fdad6c4..7fdad6c4 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/no_move_with_sideeffects.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/no_move_with_sideeffects.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/simple.yul b/test/libyul/yulOptimizerTests/expressionInliner/simple.yul index c186eafd..c186eafd 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/simple.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/simple.yul diff --git a/test/libjulia/yulOptimizerTests/expressionInliner/with_args.yul b/test/libyul/yulOptimizerTests/expressionInliner/with_args.yul index b5f4d515..b5f4d515 100644 --- a/test/libjulia/yulOptimizerTests/expressionInliner/with_args.yul +++ b/test/libyul/yulOptimizerTests/expressionInliner/with_args.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/if_condition.yul b/test/libyul/yulOptimizerTests/expressionJoiner/if_condition.yul index a1349511..a1349511 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/if_condition.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/if_condition.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/muli_wrong_order3.yul b/test/libyul/yulOptimizerTests/expressionJoiner/muli_wrong_order3.yul index 0d407c7c..0d407c7c 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/muli_wrong_order3.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/muli_wrong_order3.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/multi.yul b/test/libyul/yulOptimizerTests/expressionJoiner/multi.yul index fd53ca51..fd53ca51 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/multi.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/multi.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul b/test/libyul/yulOptimizerTests/expressionJoiner/multi_reference.yul index 078a12a5..078a12a5 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_reference.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/multi_reference.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_wrong_order.yul b/test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order.yul index 965e07e9..965e07e9 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_wrong_order.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul b/test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul index c577e182..c577e182 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/multi_wrong_order2.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_across_blocks.yul b/test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_across_blocks.yul index a781bb2a..a781bb2a 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_across_blocks.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_across_blocks.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition1.yul b/test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition1.yul index 75218a5c..75218a5c 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition1.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition1.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition2.yul b/test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition2.yul index d5f7d8fa..d5f7d8fa 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition2.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/no_replacement_in_loop_condition2.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/only_assignment.yul b/test/libyul/yulOptimizerTests/expressionJoiner/only_assignment.yul index c7411211..c7411211 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/only_assignment.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/only_assignment.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/reassignment.yul b/test/libyul/yulOptimizerTests/expressionJoiner/reassignment.yul index 1e502353..1e502353 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/reassignment.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/reassignment.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/simple.yul b/test/libyul/yulOptimizerTests/expressionJoiner/simple.yul index b03bcf45..b03bcf45 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/simple.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/simple.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/single_wrong_order.yul b/test/libyul/yulOptimizerTests/expressionJoiner/single_wrong_order.yul index 3b433f78..3b433f78 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/single_wrong_order.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/single_wrong_order.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/smoke.yul b/test/libyul/yulOptimizerTests/expressionJoiner/smoke.yul index c0e2c6f2..c0e2c6f2 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/smoke.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/switch_expression.yul b/test/libyul/yulOptimizerTests/expressionJoiner/switch_expression.yul index 0e4e540e..0e4e540e 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/switch_expression.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/switch_expression.yul diff --git a/test/libjulia/yulOptimizerTests/expressionJoiner/triple.yul b/test/libyul/yulOptimizerTests/expressionJoiner/triple.yul index 7b722be1..7b722be1 100644 --- a/test/libjulia/yulOptimizerTests/expressionJoiner/triple.yul +++ b/test/libyul/yulOptimizerTests/expressionJoiner/triple.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/constant_propagation.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/constant_propagation.yul index 0b55adc5..0b55adc5 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/constant_propagation.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/constant_propagation.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/constants.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/constants.yul index bd1a5a53..bd1a5a53 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/constants.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/constants.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_complex.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_complex.yul index f6190622..f6190622 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_complex.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_complex.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul index e91403cd..e91403cd 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_simple.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_simple.yul index d35686cd..d35686cd 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/identity_rules_simple.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_simple.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/including_function_calls.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/including_function_calls.yul index c2ca504a..c2ca504a 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/including_function_calls.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/including_function_calls.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/inside_for.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/inside_for.yul index 42c37826..42c37826 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/inside_for.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/inside_for.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/invariant.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/invariant.yul index e6d84552..e6d84552 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/invariant.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/invariant.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/mod_and_1.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_1.yul index 88714ce0..88714ce0 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/mod_and_1.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_1.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/mod_and_2.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_2.yul index 4d52abe8..4d52abe8 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/mod_and_2.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_2.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_arguments.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_arguments.yul index 53270b72..53270b72 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_arguments.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_arguments.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_names.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_names.yul index 6ab65d29..6ab65d29 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_names.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_different_names.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_equality_not_movable.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_equality_not_movable.yul index ab1bd128..ab1bd128 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_function_call_equality_not_movable.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_function_call_equality_not_movable.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_removes_non_constant_and_not_movable.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_removes_non_constant_and_not_movable.yul index fc61c3df..fc61c3df 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/not_applied_removes_non_constant_and_not_movable.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/not_applied_removes_non_constant_and_not_movable.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/reversed.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/reversed.yul index 6353cda9..6353cda9 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/reversed.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/reversed.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSimplifier/smoke.yul b/test/libyul/yulOptimizerTests/expressionSimplifier/smoke.yul index 88420e92..88420e92 100644 --- a/test/libjulia/yulOptimizerTests/expressionSimplifier/smoke.yul +++ b/test/libyul/yulOptimizerTests/expressionSimplifier/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSplitter/control_flow.yul b/test/libyul/yulOptimizerTests/expressionSplitter/control_flow.yul index d021129f..d021129f 100644 --- a/test/libjulia/yulOptimizerTests/expressionSplitter/control_flow.yul +++ b/test/libyul/yulOptimizerTests/expressionSplitter/control_flow.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul b/test/libyul/yulOptimizerTests/expressionSplitter/inside_function.yul index 53bbcea7..53bbcea7 100644 --- a/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul +++ b/test/libyul/yulOptimizerTests/expressionSplitter/inside_function.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSplitter/smoke.yul b/test/libyul/yulOptimizerTests/expressionSplitter/smoke.yul index f69f60b6..f69f60b6 100644 --- a/test/libjulia/yulOptimizerTests/expressionSplitter/smoke.yul +++ b/test/libyul/yulOptimizerTests/expressionSplitter/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSplitter/switch.yul b/test/libyul/yulOptimizerTests/expressionSplitter/switch.yul index aee7976f..aee7976f 100644 --- a/test/libjulia/yulOptimizerTests/expressionSplitter/switch.yul +++ b/test/libyul/yulOptimizerTests/expressionSplitter/switch.yul diff --git a/test/libjulia/yulOptimizerTests/expressionSplitter/trivial.yul b/test/libyul/yulOptimizerTests/expressionSplitter/trivial.yul index bff70cd8..bff70cd8 100644 --- a/test/libjulia/yulOptimizerTests/expressionSplitter/trivial.yul +++ b/test/libyul/yulOptimizerTests/expressionSplitter/trivial.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/inside_condition.yul b/test/libyul/yulOptimizerTests/fullInliner/inside_condition.yul index ae25e9a3..ae25e9a3 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/inside_condition.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/inside_condition.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/move_up_rightwards_argument.yul b/test/libyul/yulOptimizerTests/fullInliner/move_up_rightwards_argument.yul index e1def585..e1def585 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/move_up_rightwards_argument.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/move_up_rightwards_argument.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/multi_fun.yul b/test/libyul/yulOptimizerTests/fullInliner/multi_fun.yul index 94bbe5dc..94bbe5dc 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/multi_fun.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/multi_fun.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/multi_return.yul b/test/libyul/yulOptimizerTests/fullInliner/multi_return.yul index f3c5b0ee..f3c5b0ee 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/multi_return.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/multi_return.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/no_return.yul b/test/libyul/yulOptimizerTests/fullInliner/no_return.yul index 53fe3527..53fe3527 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/no_return.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/no_return.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/pop_result.yul b/test/libyul/yulOptimizerTests/fullInliner/pop_result.yul index 3883c67c..3883c67c 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/pop_result.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/pop_result.yul diff --git a/test/libjulia/yulOptimizerTests/fullInliner/simple.yul b/test/libyul/yulOptimizerTests/fullInliner/simple.yul index dd1a4e0a..dd1a4e0a 100644 --- a/test/libjulia/yulOptimizerTests/fullInliner/simple.yul +++ b/test/libyul/yulOptimizerTests/fullInliner/simple.yul diff --git a/test/libjulia/yulOptimizerTests/functionGrouper/empty_block.yul b/test/libyul/yulOptimizerTests/functionGrouper/empty_block.yul index f0d49d7b..f0d49d7b 100644 --- a/test/libjulia/yulOptimizerTests/functionGrouper/empty_block.yul +++ b/test/libyul/yulOptimizerTests/functionGrouper/empty_block.yul diff --git a/test/libjulia/yulOptimizerTests/functionGrouper/multi_fun_mixed.yul b/test/libyul/yulOptimizerTests/functionGrouper/multi_fun_mixed.yul index c830d5da..c830d5da 100644 --- a/test/libjulia/yulOptimizerTests/functionGrouper/multi_fun_mixed.yul +++ b/test/libyul/yulOptimizerTests/functionGrouper/multi_fun_mixed.yul diff --git a/test/libjulia/yulOptimizerTests/functionGrouper/nested_fun.yul b/test/libyul/yulOptimizerTests/functionGrouper/nested_fun.yul index 4a8be86a..4a8be86a 100644 --- a/test/libjulia/yulOptimizerTests/functionGrouper/nested_fun.yul +++ b/test/libyul/yulOptimizerTests/functionGrouper/nested_fun.yul diff --git a/test/libjulia/yulOptimizerTests/functionGrouper/single_fun.yul b/test/libyul/yulOptimizerTests/functionGrouper/single_fun.yul index 149a44eb..149a44eb 100644 --- a/test/libjulia/yulOptimizerTests/functionGrouper/single_fun.yul +++ b/test/libyul/yulOptimizerTests/functionGrouper/single_fun.yul diff --git a/test/libjulia/yulOptimizerTests/functionGrouper/smoke.yul b/test/libyul/yulOptimizerTests/functionGrouper/smoke.yul index 650a163e..650a163e 100644 --- a/test/libjulia/yulOptimizerTests/functionGrouper/smoke.yul +++ b/test/libyul/yulOptimizerTests/functionGrouper/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/functionHoister/empty_block.yul b/test/libyul/yulOptimizerTests/functionHoister/empty_block.yul index 6ea9f59d..6ea9f59d 100644 --- a/test/libjulia/yulOptimizerTests/functionHoister/empty_block.yul +++ b/test/libyul/yulOptimizerTests/functionHoister/empty_block.yul diff --git a/test/libjulia/yulOptimizerTests/functionHoister/multi_mixed.yul b/test/libyul/yulOptimizerTests/functionHoister/multi_mixed.yul index 1e3bc5a1..1e3bc5a1 100644 --- a/test/libjulia/yulOptimizerTests/functionHoister/multi_mixed.yul +++ b/test/libyul/yulOptimizerTests/functionHoister/multi_mixed.yul diff --git a/test/libjulia/yulOptimizerTests/functionHoister/nested.yul b/test/libyul/yulOptimizerTests/functionHoister/nested.yul index 20f094f1..20f094f1 100644 --- a/test/libjulia/yulOptimizerTests/functionHoister/nested.yul +++ b/test/libyul/yulOptimizerTests/functionHoister/nested.yul diff --git a/test/libjulia/yulOptimizerTests/functionHoister/single.yul b/test/libyul/yulOptimizerTests/functionHoister/single.yul index ba922612..ba922612 100644 --- a/test/libjulia/yulOptimizerTests/functionHoister/single.yul +++ b/test/libyul/yulOptimizerTests/functionHoister/single.yul diff --git a/test/libjulia/yulOptimizerTests/functionHoister/smoke.yul b/test/libyul/yulOptimizerTests/functionHoister/smoke.yul index 35c1ce5f..35c1ce5f 100644 --- a/test/libjulia/yulOptimizerTests/functionHoister/smoke.yul +++ b/test/libyul/yulOptimizerTests/functionHoister/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/mainFunction/empty_block.yul b/test/libyul/yulOptimizerTests/mainFunction/empty_block.yul index bae6bd48..bae6bd48 100644 --- a/test/libjulia/yulOptimizerTests/mainFunction/empty_block.yul +++ b/test/libyul/yulOptimizerTests/mainFunction/empty_block.yul diff --git a/test/libjulia/yulOptimizerTests/mainFunction/multi_fun_mixed.yul b/test/libyul/yulOptimizerTests/mainFunction/multi_fun_mixed.yul index dd5caaec..dd5caaec 100644 --- a/test/libjulia/yulOptimizerTests/mainFunction/multi_fun_mixed.yul +++ b/test/libyul/yulOptimizerTests/mainFunction/multi_fun_mixed.yul diff --git a/test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul b/test/libyul/yulOptimizerTests/mainFunction/nested_fun.yul index 309b97cc..309b97cc 100644 --- a/test/libjulia/yulOptimizerTests/mainFunction/nested_fun.yul +++ b/test/libyul/yulOptimizerTests/mainFunction/nested_fun.yul diff --git a/test/libjulia/yulOptimizerTests/mainFunction/sigle_fun.yul b/test/libyul/yulOptimizerTests/mainFunction/sigle_fun.yul index fa9a8f41..fa9a8f41 100644 --- a/test/libjulia/yulOptimizerTests/mainFunction/sigle_fun.yul +++ b/test/libyul/yulOptimizerTests/mainFunction/sigle_fun.yul diff --git a/test/libjulia/yulOptimizerTests/mainFunction/smoke.yul b/test/libyul/yulOptimizerTests/mainFunction/smoke.yul index 7be14746..7be14746 100644 --- a/test/libjulia/yulOptimizerTests/mainFunction/smoke.yul +++ b/test/libyul/yulOptimizerTests/mainFunction/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for1.yul b/test/libyul/yulOptimizerTests/rematerialiser/branches_for1.yul index dbd1ee63..dbd1ee63 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for1.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/branches_for1.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for2.yul b/test/libyul/yulOptimizerTests/rematerialiser/branches_for2.yul index 6a52e045..6a52e045 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for2.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/branches_for2.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for_declared_in_init1.yul b/test/libyul/yulOptimizerTests/rematerialiser/branches_for_declared_in_init1.yul index fc816419..fc816419 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for_declared_in_init1.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/branches_for_declared_in_init1.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for_declared_in_init2.yul b/test/libyul/yulOptimizerTests/rematerialiser/branches_for_declared_in_init2.yul index 3d916890..3d916890 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/branches_for_declared_in_init2.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/branches_for_declared_in_init2.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/branches_if.yul b/test/libyul/yulOptimizerTests/rematerialiser/branches_if.yul index c148c2f2..c148c2f2 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/branches_if.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/branches_if.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/branches_switch.yul b/test/libyul/yulOptimizerTests/rematerialiser/branches_switch.yul index 8f70a79d..8f70a79d 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/branches_switch.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/branches_switch.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/do_not_move_out_of_scope.yul b/test/libyul/yulOptimizerTests/rematerialiser/do_not_move_out_of_scope.yul index 891a5043..891a5043 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/do_not_move_out_of_scope.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/do_not_move_out_of_scope.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code1.yul b/test/libyul/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code1.yul index 016fa0d7..016fa0d7 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code1.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code1.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code2.yul b/test/libyul/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code2.yul index d95dc1fc..d95dc1fc 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code2.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/do_not_remat_large_amounts_of_code2.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/expression.yul b/test/libyul/yulOptimizerTests/rematerialiser/expression.yul index a801677d..a801677d 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/expression.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/expression.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_function.yul b/test/libyul/yulOptimizerTests/rematerialiser/non_movable_function.yul index 9a041dfc..9a041dfc 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_function.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/non_movable_function.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul b/test/libyul/yulOptimizerTests/rematerialiser/non_movable_instruction.yul index 8767abc9..8767abc9 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/non_movable_instruction.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/non_movable_instruction.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/reassign.yul b/test/libyul/yulOptimizerTests/rematerialiser/reassign.yul index 47124658..47124658 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/reassign.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/reassign.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/reassignment.yul b/test/libyul/yulOptimizerTests/rematerialiser/reassignment.yul index 13238780..13238780 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/reassignment.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/reassignment.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/smoke.yul b/test/libyul/yulOptimizerTests/rematerialiser/smoke.yul index 2423db32..2423db32 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/smoke.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/trivial.yul b/test/libyul/yulOptimizerTests/rematerialiser/trivial.yul index d29ea98a..d29ea98a 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/trivial.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/trivial.yul diff --git a/test/libjulia/yulOptimizerTests/rematerialiser/update_asignment_remat.yul b/test/libyul/yulOptimizerTests/rematerialiser/update_asignment_remat.yul index 7d35fee0..7d35fee0 100644 --- a/test/libjulia/yulOptimizerTests/rematerialiser/update_asignment_remat.yul +++ b/test/libyul/yulOptimizerTests/rematerialiser/update_asignment_remat.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/functions.yul b/test/libyul/yulOptimizerTests/unusedPruner/functions.yul index ec9cdda8..ec9cdda8 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/functions.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/functions.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_assignment.yul b/test/libyul/yulOptimizerTests/unusedPruner/intermediate_assignment.yul index 4ed6dd2c..4ed6dd2c 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_assignment.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/intermediate_assignment.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul b/test/libyul/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul index 94d101e9..94d101e9 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/intermediate_multi_assignment.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/multi_assign.yul b/test/libyul/yulOptimizerTests/unusedPruner/multi_assign.yul index a14dc28c..a14dc28c 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/multi_assign.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/multi_assign.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/multi_assignments.yul b/test/libyul/yulOptimizerTests/unusedPruner/multi_assignments.yul index fe94edb8..fe94edb8 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/multi_assignments.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/multi_assignments.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/multi_declarations.yul b/test/libyul/yulOptimizerTests/unusedPruner/multi_declarations.yul index 3cf35007..3cf35007 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/multi_declarations.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/multi_declarations.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/multi_declare.yul b/test/libyul/yulOptimizerTests/unusedPruner/multi_declare.yul index adabac87..adabac87 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/multi_declare.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/multi_declare.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/multi_partial_assignments.yul b/test/libyul/yulOptimizerTests/unusedPruner/multi_partial_assignments.yul index 5db0ade9..5db0ade9 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/multi_partial_assignments.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/multi_partial_assignments.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/smoke.yul b/test/libyul/yulOptimizerTests/unusedPruner/smoke.yul index ca2ed942..ca2ed942 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/smoke.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/smoke.yul diff --git a/test/libjulia/yulOptimizerTests/unusedPruner/trivial.yul b/test/libyul/yulOptimizerTests/unusedPruner/trivial.yul index 9b4cf9fd..9b4cf9fd 100644 --- a/test/libjulia/yulOptimizerTests/unusedPruner/trivial.yul +++ b/test/libyul/yulOptimizerTests/unusedPruner/trivial.yul diff --git a/test/tools/CMakeLists.txt b/test/tools/CMakeLists.txt index bb7adc13..65054fca 100644 --- a/test/tools/CMakeLists.txt +++ b/test/tools/CMakeLists.txt @@ -3,5 +3,5 @@ target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_L add_executable(isoltest isoltest.cpp ../Options.cpp ../Common.cpp ../libsolidity/TestCase.cpp ../libsolidity/SyntaxTest.cpp ../libsolidity/AnalysisFramework.cpp ../libsolidity/SolidityExecutionFramework.cpp ../ExecutionFramework.cpp - ../RPCSession.cpp ../libsolidity/ASTJSONTest.cpp ../libjulia/YulOptimizerTest.cpp) + ../RPCSession.cpp ../libsolidity/ASTJSONTest.cpp ../libyul/YulOptimizerTest.cpp) target_link_libraries(isoltest PRIVATE libsolc solidity evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) diff --git a/test/tools/isoltest.cpp b/test/tools/isoltest.cpp index 5134fe4f..a8e2b09e 100644 --- a/test/tools/isoltest.cpp +++ b/test/tools/isoltest.cpp @@ -21,7 +21,7 @@ #include <test/libsolidity/AnalysisFramework.h> #include <test/libsolidity/SyntaxTest.h> #include <test/libsolidity/ASTJSONTest.h> -#include <test/libjulia/YulOptimizerTest.h> +#include <test/libyul/YulOptimizerTest.h> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/replace.hpp> @@ -386,7 +386,7 @@ Allowed options)", if (auto stats = runTestSuite( "Yul Optimizer", - testPath / "libjulia", + testPath / "libyul", "yulOptimizerTests", julia::test::YulOptimizerTest::create, formatted |