aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsolidity/analysis/ReferencesResolver.cpp6
-rw-r--r--libsolidity/analysis/TypeChecker.cpp6
-rw-r--r--libsolidity/analysis/ViewPureChecker.cpp2
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp4
-rw-r--r--libsolidity/codegen/CompilerContext.cpp10
-rw-r--r--libsolidity/codegen/ContractCompiler.cpp2
-rw-r--r--libsolidity/interface/AssemblyStack.cpp10
-rw-r--r--libsolidity/parsing/Parser.cpp2
-rw-r--r--libyul/ASTDataForward.h2
-rw-r--r--libyul/AsmAnalysis.cpp10
-rw-r--r--libyul/AsmAnalysis.h4
-rw-r--r--libyul/AsmAnalysisInfo.cpp4
-rw-r--r--libyul/AsmAnalysisInfo.h2
-rw-r--r--libyul/AsmCodeGen.cpp12
-rw-r--r--libyul/AsmCodeGen.h2
-rw-r--r--libyul/AsmData.h2
-rw-r--r--libyul/AsmParser.cpp2
-rw-r--r--libyul/AsmParser.h2
-rw-r--r--libyul/AsmPrinter.cpp4
-rw-r--r--libyul/AsmPrinter.h2
-rw-r--r--libyul/AsmScope.cpp2
-rw-r--r--libyul/AsmScopeFiller.cpp8
-rw-r--r--libyul/AsmScopeFiller.h2
-rw-r--r--libyul/backends/evm/EVMCodeTransform.cpp4
-rw-r--r--libyul/backends/evm/EVMCodeTransform.h2
-rw-r--r--libyul/optimiser/ASTCopier.cpp2
-rw-r--r--libyul/optimiser/ASTWalker.cpp2
-rw-r--r--libyul/optimiser/BlockFlattener.cpp2
-rw-r--r--libyul/optimiser/CommonSubexpressionEliminator.cpp2
-rw-r--r--libyul/optimiser/DataFlowAnalyzer.cpp2
-rw-r--r--libyul/optimiser/Disambiguator.cpp4
-rw-r--r--libyul/optimiser/Disambiguator.h2
-rw-r--r--libyul/optimiser/ExpressionInliner.cpp2
-rw-r--r--libyul/optimiser/ExpressionJoiner.cpp2
-rw-r--r--libyul/optimiser/ExpressionSimplifier.cpp2
-rw-r--r--libyul/optimiser/ExpressionSplitter.cpp2
-rw-r--r--libyul/optimiser/ForLoopInitRewriter.cpp2
-rw-r--r--libyul/optimiser/FullInliner.cpp2
-rw-r--r--libyul/optimiser/FunctionGrouper.cpp2
-rw-r--r--libyul/optimiser/FunctionHoister.cpp2
-rw-r--r--libyul/optimiser/InlinableExpressionFunctionFinder.cpp2
-rw-r--r--libyul/optimiser/MainFunction.cpp2
-rw-r--r--libyul/optimiser/Metrics.cpp2
-rw-r--r--libyul/optimiser/NameCollector.cpp2
-rw-r--r--libyul/optimiser/NameDispenser.cpp2
-rw-r--r--libyul/optimiser/RedundantAssignEliminator.cpp2
-rw-r--r--libyul/optimiser/Rematerialiser.cpp2
-rw-r--r--libyul/optimiser/SSATransform.cpp2
-rw-r--r--libyul/optimiser/SSAValueTracker.cpp2
-rw-r--r--libyul/optimiser/Semantics.cpp2
-rw-r--r--libyul/optimiser/SimplificationRules.cpp2
-rw-r--r--libyul/optimiser/SimplificationRules.h2
-rw-r--r--libyul/optimiser/Substitution.cpp2
-rw-r--r--libyul/optimiser/Suite.cpp6
-rw-r--r--libyul/optimiser/SyntacticalEquality.cpp2
-rw-r--r--libyul/optimiser/UnusedPruner.cpp2
-rw-r--r--libyul/optimiser/Utilities.cpp2
-rw-r--r--libyul/optimiser/VarDeclPropagator.cpp2
-rw-r--r--libyul/optimiser/VarDeclPropagator.h2
-rw-r--r--test/libyul/Common.cpp6
-rw-r--r--test/libyul/Common.h2
-rw-r--r--test/libyul/Inliner.cpp2
-rw-r--r--test/libyul/Parser.cpp6
-rw-r--r--test/libyul/YulOptimizerTest.cpp6
-rw-r--r--test/tools/yulopti.cpp10
65 files changed, 107 insertions, 107 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp
index 7ac3ceff..7399b344 100644
--- a/libsolidity/analysis/ReferencesResolver.cpp
+++ b/libsolidity/analysis/ReferencesResolver.cpp
@@ -25,9 +25,9 @@
#include <libsolidity/analysis/NameAndTypeResolver.h>
#include <liblangutil/Exceptions.h>
#include <libsolidity/analysis/ConstantEvaluator.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
+#include <libyul/AsmData.h>
#include <liblangutil/ErrorReporter.h>
#include <libdevcore/StringUtils.h>
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index 69de9f12..3cf4d79f 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -27,9 +27,9 @@
#include <boost/algorithm/string/join.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <libsolidity/ast/AST.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
+#include <libyul/AsmData.h>
#include <liblangutil/ErrorReporter.h>
#include <libdevcore/Algorithms.h>
diff --git a/libsolidity/analysis/ViewPureChecker.cpp b/libsolidity/analysis/ViewPureChecker.cpp
index 3fb4c026..a6236e7b 100644
--- a/libsolidity/analysis/ViewPureChecker.cpp
+++ b/libsolidity/analysis/ViewPureChecker.cpp
@@ -19,7 +19,7 @@
#include <libevmasm/SemanticInformation.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libsolidity/ast/ExperimentalFeatures.h>
#include <liblangutil/ErrorReporter.h>
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index 6b9f7227..bd6deb6e 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -23,8 +23,8 @@
#include <boost/algorithm/string/join.hpp>
#include <libdevcore/UTF8.h>
#include <libsolidity/ast/AST.h>
-#include <libsolidity/inlineasm/AsmData.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
+#include <libyul/AsmData.h>
+#include <libyul/AsmPrinter.h>
using namespace std;
using namespace langutil;
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index 9e4f2882..5117567f 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -29,10 +29,10 @@
#include <liblangutil/Scanner.h>
#include <libsolidity/interface/SourceReferenceFormatter.h>
#include <liblangutil/Scanner.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmCodeGen.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmCodeGen.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <libyul/YulString.h>
#include <boost/algorithm/string/replace.hpp>
@@ -43,7 +43,7 @@
// Change to "define" to output all intermediate code
#undef SOL_OUTPUT_ASM
#ifdef SOL_OUTPUT_ASM
-#include <libsolidity/inlineasm/AsmPrinter.h>
+#include <libyul/AsmPrinter.h>
#endif
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp
index 7a1dcd70..b2a3e05f 100644
--- a/libsolidity/codegen/ContractCompiler.cpp
+++ b/libsolidity/codegen/ContractCompiler.cpp
@@ -21,7 +21,7 @@
*/
#include <libsolidity/codegen/ContractCompiler.h>
-#include <libsolidity/inlineasm/AsmCodeGen.h>
+#include <libyul/AsmCodeGen.h>
#include <libsolidity/ast/AST.h>
#include <liblangutil/ErrorReporter.h>
#include <libsolidity/codegen/ExpressionCompiler.h>
diff --git a/libsolidity/interface/AssemblyStack.cpp b/libsolidity/interface/AssemblyStack.cpp
index 5b6b1113..5d834389 100644
--- a/libsolidity/interface/AssemblyStack.cpp
+++ b/libsolidity/interface/AssemblyStack.cpp
@@ -23,11 +23,11 @@
#include <libsolidity/interface/AssemblyStack.h>
#include <liblangutil/Scanner.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
-#include <libsolidity/inlineasm/AsmCodeGen.h>
+#include <libyul/AsmPrinter.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
+#include <libyul/AsmCodeGen.h>
#include <libevmasm/Assembly.h>
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp
index de5293b4..1ec10a72 100644
--- a/libsolidity/parsing/Parser.cpp
+++ b/libsolidity/parsing/Parser.cpp
@@ -25,7 +25,7 @@
#include <liblangutil/SourceLocation.h>
#include <libsolidity/parsing/Parser.h>
#include <liblangutil/Scanner.h>
-#include <libsolidity/inlineasm/AsmParser.h>
+#include <libyul/AsmParser.h>
#include <liblangutil/ErrorReporter.h>
using namespace std;
diff --git a/libyul/ASTDataForward.h b/libyul/ASTDataForward.h
index 8c49e68f..16dc7411 100644
--- a/libyul/ASTDataForward.h
+++ b/libyul/ASTDataForward.h
@@ -21,7 +21,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
namespace dev
{
diff --git a/libyul/AsmAnalysis.cpp b/libyul/AsmAnalysis.cpp
index fb96f73c..34c5fbb6 100644
--- a/libyul/AsmAnalysis.cpp
+++ b/libyul/AsmAnalysis.cpp
@@ -18,12 +18,12 @@
* Analyzer part of inline assembly.
*/
-#include <libsolidity/inlineasm/AsmAnalysis.h>
+#include <libyul/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmData.h>
-#include <libsolidity/inlineasm/AsmScopeFiller.h>
-#include <libsolidity/inlineasm/AsmScope.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmData.h>
+#include <libyul/AsmScopeFiller.h>
+#include <libyul/AsmScope.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <liblangutil/ErrorReporter.h>
diff --git a/libyul/AsmAnalysis.h b/libyul/AsmAnalysis.h
index 194f736e..edca5b50 100644
--- a/libyul/AsmAnalysis.h
+++ b/libyul/AsmAnalysis.h
@@ -23,11 +23,11 @@
#include <liblangutil/Exceptions.h>
#include <liblangutil/EVMVersion.h>
-#include <libsolidity/inlineasm/AsmScope.h>
+#include <libyul/AsmScope.h>
#include <libyul/backends/evm/AbstractAssembly.h>
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
#include <boost/variant.hpp>
#include <boost/optional.hpp>
diff --git a/libyul/AsmAnalysisInfo.cpp b/libyul/AsmAnalysisInfo.cpp
index 22318b12..450c0f8f 100644
--- a/libyul/AsmAnalysisInfo.cpp
+++ b/libyul/AsmAnalysisInfo.cpp
@@ -18,9 +18,9 @@
* Information generated during analyzer part of inline assembly.
*/
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmAnalysisInfo.h>
-#include <libsolidity/inlineasm/AsmScope.h>
+#include <libyul/AsmScope.h>
#include <ostream>
diff --git a/libyul/AsmAnalysisInfo.h b/libyul/AsmAnalysisInfo.h
index bd3b28c4..372ff3ed 100644
--- a/libyul/AsmAnalysisInfo.h
+++ b/libyul/AsmAnalysisInfo.h
@@ -20,7 +20,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
#include <boost/variant.hpp>
diff --git a/libyul/AsmCodeGen.cpp b/libyul/AsmCodeGen.cpp
index 2800cc7b..862337a7 100644
--- a/libyul/AsmCodeGen.cpp
+++ b/libyul/AsmCodeGen.cpp
@@ -20,13 +20,13 @@
* Code-generating part of inline assembly.
*/
-#include <libsolidity/inlineasm/AsmCodeGen.h>
+#include <libyul/AsmCodeGen.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmData.h>
-#include <libsolidity/inlineasm/AsmScope.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmData.h>
+#include <libyul/AsmScope.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <libevmasm/Assembly.h>
#include <liblangutil/SourceLocation.h>
diff --git a/libyul/AsmCodeGen.h b/libyul/AsmCodeGen.h
index bbc31397..e5e53c0d 100644
--- a/libyul/AsmCodeGen.h
+++ b/libyul/AsmCodeGen.h
@@ -22,7 +22,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmAnalysis.h>
+#include <libyul/AsmAnalysis.h>
#include <functional>
diff --git a/libyul/AsmData.h b/libyul/AsmData.h
index 23a9db75..e7af61bb 100644
--- a/libyul/AsmData.h
+++ b/libyul/AsmData.h
@@ -22,7 +22,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
#include <libevmasm/Instruction.h>
#include <liblangutil/SourceLocation.h>
diff --git a/libyul/AsmParser.cpp b/libyul/AsmParser.cpp
index b11f70e0..0d3bc32f 100644
--- a/libyul/AsmParser.cpp
+++ b/libyul/AsmParser.cpp
@@ -20,7 +20,7 @@
* Solidity inline assembly parser.
*/
-#include <libsolidity/inlineasm/AsmParser.h>
+#include <libyul/AsmParser.h>
#include <liblangutil/Scanner.h>
#include <liblangutil/ErrorReporter.h>
diff --git a/libyul/AsmParser.h b/libyul/AsmParser.h
index 9e13799a..874b4d6d 100644
--- a/libyul/AsmParser.h
+++ b/libyul/AsmParser.h
@@ -24,7 +24,7 @@
#include <memory>
#include <vector>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <liblangutil/SourceLocation.h>
#include <liblangutil/Scanner.h>
#include <liblangutil/ParserBase.h>
diff --git a/libyul/AsmPrinter.cpp b/libyul/AsmPrinter.cpp
index 7151fcfa..49e2f33b 100644
--- a/libyul/AsmPrinter.cpp
+++ b/libyul/AsmPrinter.cpp
@@ -20,8 +20,8 @@
* Converts a parsed assembly into its textual form.
*/
-#include <libsolidity/inlineasm/AsmPrinter.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmPrinter.h>
+#include <libyul/AsmData.h>
#include <liblangutil/Exceptions.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/AsmPrinter.h b/libyul/AsmPrinter.h
index 72048975..ab0c9a08 100644
--- a/libyul/AsmPrinter.h
+++ b/libyul/AsmPrinter.h
@@ -22,7 +22,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
#include <libyul/YulString.h>
diff --git a/libyul/AsmScope.cpp b/libyul/AsmScope.cpp
index 10893b96..0d7aca57 100644
--- a/libyul/AsmScope.cpp
+++ b/libyul/AsmScope.cpp
@@ -18,7 +18,7 @@
* Scopes for identifiers.
*/
-#include <libsolidity/inlineasm/AsmScope.h>
+#include <libyul/AsmScope.h>
using namespace std;
using namespace dev;
diff --git a/libyul/AsmScopeFiller.cpp b/libyul/AsmScopeFiller.cpp
index 09934bd8..2070d8de 100644
--- a/libyul/AsmScopeFiller.cpp
+++ b/libyul/AsmScopeFiller.cpp
@@ -18,11 +18,11 @@
* Module responsible for registering identifiers inside their scopes.
*/
-#include <libsolidity/inlineasm/AsmScopeFiller.h>
+#include <libyul/AsmScopeFiller.h>
-#include <libsolidity/inlineasm/AsmData.h>
-#include <libsolidity/inlineasm/AsmScope.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmData.h>
+#include <libyul/AsmScope.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <liblangutil/ErrorReporter.h>
#include <liblangutil/Exceptions.h>
diff --git a/libyul/AsmScopeFiller.h b/libyul/AsmScopeFiller.h
index 7454fd6c..fbd65bba 100644
--- a/libyul/AsmScopeFiller.h
+++ b/libyul/AsmScopeFiller.h
@@ -20,7 +20,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
#include <boost/variant.hpp>
diff --git a/libyul/backends/evm/EVMCodeTransform.cpp b/libyul/backends/evm/EVMCodeTransform.cpp
index 23e09756..3cf1061a 100644
--- a/libyul/backends/evm/EVMCodeTransform.cpp
+++ b/libyul/backends/evm/EVMCodeTransform.cpp
@@ -20,8 +20,8 @@
#include <libyul/backends/evm/EVMCodeTransform.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmAnalysisInfo.h>
+#include <libyul/AsmData.h>
#include <liblangutil/Exceptions.h>
diff --git a/libyul/backends/evm/EVMCodeTransform.h b/libyul/backends/evm/EVMCodeTransform.h
index c0de8ad6..f4696e81 100644
--- a/libyul/backends/evm/EVMCodeTransform.h
+++ b/libyul/backends/evm/EVMCodeTransform.h
@@ -22,7 +22,7 @@
#include <libyul/ASTDataForward.h>
-#include <libsolidity/inlineasm/AsmScope.h>
+#include <libyul/AsmScope.h>
#include <boost/variant.hpp>
#include <boost/optional.hpp>
diff --git a/libyul/optimiser/ASTCopier.cpp b/libyul/optimiser/ASTCopier.cpp
index d0c8dd45..d4781ec2 100644
--- a/libyul/optimiser/ASTCopier.cpp
+++ b/libyul/optimiser/ASTCopier.cpp
@@ -22,7 +22,7 @@
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/Common.h>
diff --git a/libyul/optimiser/ASTWalker.cpp b/libyul/optimiser/ASTWalker.cpp
index e29dda6b..ed4a07ad 100644
--- a/libyul/optimiser/ASTWalker.cpp
+++ b/libyul/optimiser/ASTWalker.cpp
@@ -20,7 +20,7 @@
#include <libyul/optimiser/ASTWalker.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <boost/range/adaptor/reversed.hpp>
diff --git a/libyul/optimiser/BlockFlattener.cpp b/libyul/optimiser/BlockFlattener.cpp
index 04f3ad7f..4552e3f1 100644
--- a/libyul/optimiser/BlockFlattener.cpp
+++ b/libyul/optimiser/BlockFlattener.cpp
@@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libyul/optimiser/BlockFlattener.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/Visitor.h>
#include <libdevcore/CommonData.h>
#include <functional>
diff --git a/libyul/optimiser/CommonSubexpressionEliminator.cpp b/libyul/optimiser/CommonSubexpressionEliminator.cpp
index 64605362..118d14ad 100644
--- a/libyul/optimiser/CommonSubexpressionEliminator.cpp
+++ b/libyul/optimiser/CommonSubexpressionEliminator.cpp
@@ -25,7 +25,7 @@
#include <libyul/optimiser/SyntacticalEquality.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/DataFlowAnalyzer.cpp b/libyul/optimiser/DataFlowAnalyzer.cpp
index 134777d0..7642948a 100644
--- a/libyul/optimiser/DataFlowAnalyzer.cpp
+++ b/libyul/optimiser/DataFlowAnalyzer.cpp
@@ -26,7 +26,7 @@
#include <libyul/optimiser/Semantics.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/Disambiguator.cpp b/libyul/optimiser/Disambiguator.cpp
index 4303f412..f6553ef6 100644
--- a/libyul/optimiser/Disambiguator.cpp
+++ b/libyul/optimiser/Disambiguator.cpp
@@ -22,8 +22,8 @@
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
-#include <libsolidity/inlineasm/AsmScope.h>
+#include <libyul/AsmData.h>
+#include <libyul/AsmScope.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/Disambiguator.h b/libyul/optimiser/Disambiguator.h
index 0fcd41d9..032bfedc 100644
--- a/libyul/optimiser/Disambiguator.h
+++ b/libyul/optimiser/Disambiguator.h
@@ -25,7 +25,7 @@
#include <libyul/optimiser/ASTCopier.h>
#include <libyul/optimiser/NameDispenser.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <boost/variant.hpp>
#include <boost/optional.hpp>
diff --git a/libyul/optimiser/ExpressionInliner.cpp b/libyul/optimiser/ExpressionInliner.cpp
index 07e88191..2a1b8e63 100644
--- a/libyul/optimiser/ExpressionInliner.cpp
+++ b/libyul/optimiser/ExpressionInliner.cpp
@@ -24,7 +24,7 @@
#include <libyul/optimiser/Substitution.h>
#include <libyul/optimiser/Semantics.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <boost/algorithm/cxx11/all_of.hpp>
diff --git a/libyul/optimiser/ExpressionJoiner.cpp b/libyul/optimiser/ExpressionJoiner.cpp
index 7e57a629..647e2705 100644
--- a/libyul/optimiser/ExpressionJoiner.cpp
+++ b/libyul/optimiser/ExpressionJoiner.cpp
@@ -25,7 +25,7 @@
#include <libyul/optimiser/Utilities.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/ExpressionSimplifier.cpp b/libyul/optimiser/ExpressionSimplifier.cpp
index 64e9d7e7..2c67c77a 100644
--- a/libyul/optimiser/ExpressionSimplifier.cpp
+++ b/libyul/optimiser/ExpressionSimplifier.cpp
@@ -24,7 +24,7 @@
#include <libyul/optimiser/Semantics.h>
#include <libyul/optimiser/SSAValueTracker.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/ExpressionSplitter.cpp b/libyul/optimiser/ExpressionSplitter.cpp
index 42730864..54a03620 100644
--- a/libyul/optimiser/ExpressionSplitter.cpp
+++ b/libyul/optimiser/ExpressionSplitter.cpp
@@ -23,7 +23,7 @@
#include <libyul/optimiser/ASTWalker.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/ForLoopInitRewriter.cpp b/libyul/optimiser/ForLoopInitRewriter.cpp
index 0decf5e2..b5e59884 100644
--- a/libyul/optimiser/ForLoopInitRewriter.cpp
+++ b/libyul/optimiser/ForLoopInitRewriter.cpp
@@ -15,7 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libyul/optimiser/ForLoopInitRewriter.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
#include <functional>
diff --git a/libyul/optimiser/FullInliner.cpp b/libyul/optimiser/FullInliner.cpp
index c9057cf3..a77f12f3 100644
--- a/libyul/optimiser/FullInliner.cpp
+++ b/libyul/optimiser/FullInliner.cpp
@@ -28,7 +28,7 @@
#include <libyul/optimiser/SSAValueTracker.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
#include <libdevcore/Visitor.h>
diff --git a/libyul/optimiser/FunctionGrouper.cpp b/libyul/optimiser/FunctionGrouper.cpp
index 3d2e5322..dc721cae 100644
--- a/libyul/optimiser/FunctionGrouper.cpp
+++ b/libyul/optimiser/FunctionGrouper.cpp
@@ -21,7 +21,7 @@
#include <libyul/optimiser/FunctionGrouper.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <boost/range/algorithm_ext/erase.hpp>
diff --git a/libyul/optimiser/FunctionHoister.cpp b/libyul/optimiser/FunctionHoister.cpp
index c196dead..d5c25e23 100644
--- a/libyul/optimiser/FunctionHoister.cpp
+++ b/libyul/optimiser/FunctionHoister.cpp
@@ -23,7 +23,7 @@
#include <libyul/optimiser/FunctionHoister.h>
#include <libyul/optimiser/Utilities.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/InlinableExpressionFunctionFinder.cpp b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp
index deaaee97..b15d17ce 100644
--- a/libyul/optimiser/InlinableExpressionFunctionFinder.cpp
+++ b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp
@@ -22,7 +22,7 @@
#include <libyul/optimiser/Utilities.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/MainFunction.cpp b/libyul/optimiser/MainFunction.cpp
index f3306598..5f335031 100644
--- a/libyul/optimiser/MainFunction.cpp
+++ b/libyul/optimiser/MainFunction.cpp
@@ -24,7 +24,7 @@
#include <libyul/optimiser/NameCollector.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/Metrics.cpp b/libyul/optimiser/Metrics.cpp
index 066c6b58..5107fc59 100644
--- a/libyul/optimiser/Metrics.cpp
+++ b/libyul/optimiser/Metrics.cpp
@@ -20,7 +20,7 @@
#include <libyul/optimiser/Metrics.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace dev;
using namespace dev::yul;
diff --git a/libyul/optimiser/NameCollector.cpp b/libyul/optimiser/NameCollector.cpp
index 36f55b99..7da001f8 100644
--- a/libyul/optimiser/NameCollector.cpp
+++ b/libyul/optimiser/NameCollector.cpp
@@ -20,7 +20,7 @@
#include <libyul/optimiser/NameCollector.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/NameDispenser.cpp b/libyul/optimiser/NameDispenser.cpp
index 3c870fa5..0109e606 100644
--- a/libyul/optimiser/NameDispenser.cpp
+++ b/libyul/optimiser/NameDispenser.cpp
@@ -22,7 +22,7 @@
#include <libyul/optimiser/NameCollector.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/RedundantAssignEliminator.cpp b/libyul/optimiser/RedundantAssignEliminator.cpp
index b7217074..e10fd549 100644
--- a/libyul/optimiser/RedundantAssignEliminator.cpp
+++ b/libyul/optimiser/RedundantAssignEliminator.cpp
@@ -23,7 +23,7 @@
#include <libyul/optimiser/Semantics.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/Rematerialiser.cpp b/libyul/optimiser/Rematerialiser.cpp
index 38d50ef4..8578748f 100644
--- a/libyul/optimiser/Rematerialiser.cpp
+++ b/libyul/optimiser/Rematerialiser.cpp
@@ -24,7 +24,7 @@
#include <libyul/optimiser/ASTCopier.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/SSATransform.cpp b/libyul/optimiser/SSATransform.cpp
index 6fb4b08d..dd981775 100644
--- a/libyul/optimiser/SSATransform.cpp
+++ b/libyul/optimiser/SSATransform.cpp
@@ -24,7 +24,7 @@
#include <libyul/optimiser/NameCollector.h>
#include <libyul/optimiser/NameDispenser.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/SSAValueTracker.cpp b/libyul/optimiser/SSAValueTracker.cpp
index 491117da..24776498 100644
--- a/libyul/optimiser/SSAValueTracker.cpp
+++ b/libyul/optimiser/SSAValueTracker.cpp
@@ -21,7 +21,7 @@
#include <libyul/optimiser/SSAValueTracker.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/Semantics.cpp b/libyul/optimiser/Semantics.cpp
index 3c49016e..f16a1630 100644
--- a/libyul/optimiser/Semantics.cpp
+++ b/libyul/optimiser/Semantics.cpp
@@ -22,7 +22,7 @@
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libevmasm/SemanticInformation.h>
diff --git a/libyul/optimiser/SimplificationRules.cpp b/libyul/optimiser/SimplificationRules.cpp
index a15ed391..48945fbc 100644
--- a/libyul/optimiser/SimplificationRules.cpp
+++ b/libyul/optimiser/SimplificationRules.cpp
@@ -25,7 +25,7 @@
#include <libyul/optimiser/Semantics.h>
#include <libyul/optimiser/SyntacticalEquality.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libevmasm/RuleList.h>
diff --git a/libyul/optimiser/SimplificationRules.h b/libyul/optimiser/SimplificationRules.h
index bd6aa4de..de8bcf20 100644
--- a/libyul/optimiser/SimplificationRules.h
+++ b/libyul/optimiser/SimplificationRules.h
@@ -25,7 +25,7 @@
#include <libyul/ASTDataForward.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <boost/noncopyable.hpp>
diff --git a/libyul/optimiser/Substitution.cpp b/libyul/optimiser/Substitution.cpp
index 9b3d4c03..dbac5cf6 100644
--- a/libyul/optimiser/Substitution.cpp
+++ b/libyul/optimiser/Substitution.cpp
@@ -20,7 +20,7 @@
#include <libyul/optimiser/Substitution.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
using namespace std;
using namespace dev;
diff --git a/libyul/optimiser/Suite.cpp b/libyul/optimiser/Suite.cpp
index 4d6dad45..db6dbf3e 100644
--- a/libyul/optimiser/Suite.cpp
+++ b/libyul/optimiser/Suite.cpp
@@ -36,10 +36,10 @@
#include <libyul/optimiser/RedundantAssignEliminator.h>
#include <libyul/optimiser/VarDeclPropagator.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmAnalysisInfo.h>
+#include <libyul/AsmData.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
+#include <libyul/AsmPrinter.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/SyntacticalEquality.cpp b/libyul/optimiser/SyntacticalEquality.cpp
index 66912383..092f9d82 100644
--- a/libyul/optimiser/SyntacticalEquality.cpp
+++ b/libyul/optimiser/SyntacticalEquality.cpp
@@ -22,7 +22,7 @@
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/UnusedPruner.cpp b/libyul/optimiser/UnusedPruner.cpp
index 71e86798..2072f42b 100644
--- a/libyul/optimiser/UnusedPruner.cpp
+++ b/libyul/optimiser/UnusedPruner.cpp
@@ -25,7 +25,7 @@
#include <libyul/optimiser/Utilities.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <boost/algorithm/cxx11/none_of.hpp>
diff --git a/libyul/optimiser/Utilities.cpp b/libyul/optimiser/Utilities.cpp
index df01ed39..e41fd15d 100644
--- a/libyul/optimiser/Utilities.cpp
+++ b/libyul/optimiser/Utilities.cpp
@@ -20,7 +20,7 @@
#include <libyul/optimiser/Utilities.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
diff --git a/libyul/optimiser/VarDeclPropagator.cpp b/libyul/optimiser/VarDeclPropagator.cpp
index 537b7020..855b8215 100644
--- a/libyul/optimiser/VarDeclPropagator.cpp
+++ b/libyul/optimiser/VarDeclPropagator.cpp
@@ -16,7 +16,7 @@
*/
#include <libyul/optimiser/VarDeclPropagator.h>
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <libdevcore/CommonData.h>
#include <boost/range/algorithm_ext/erase.hpp>
#include <algorithm>
diff --git a/libyul/optimiser/VarDeclPropagator.h b/libyul/optimiser/VarDeclPropagator.h
index 4522d23a..ffecd217 100644
--- a/libyul/optimiser/VarDeclPropagator.h
+++ b/libyul/optimiser/VarDeclPropagator.h
@@ -20,7 +20,7 @@
#include <libyul/ASTDataForward.h>
#include <libyul/optimiser/ASTWalker.h>
#include <libyul/Exceptions.h>
-#include <libsolidity/inlineasm/AsmDataForward.h>
+#include <libyul/AsmDataForward.h>
#include <vector>
#include <set>
#include <map>
diff --git a/test/libyul/Common.cpp b/test/libyul/Common.cpp
index 8913483f..ae7686b7 100644
--- a/test/libyul/Common.cpp
+++ b/test/libyul/Common.cpp
@@ -27,9 +27,9 @@
#include <liblangutil/Scanner.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmPrinter.h>
#include <libsolidity/interface/SourceReferenceFormatter.h>
#include <liblangutil/ErrorReporter.h>
diff --git a/test/libyul/Common.h b/test/libyul/Common.h
index 390e214f..8241bfe1 100644
--- a/test/libyul/Common.h
+++ b/test/libyul/Common.h
@@ -21,7 +21,7 @@
#pragma once
-#include <libsolidity/inlineasm/AsmData.h>
+#include <libyul/AsmData.h>
#include <string>
#include <vector>
diff --git a/test/libyul/Inliner.cpp b/test/libyul/Inliner.cpp
index 66810298..38d2491f 100644
--- a/test/libyul/Inliner.cpp
+++ b/test/libyul/Inliner.cpp
@@ -27,7 +27,7 @@
#include <libyul/optimiser/FunctionHoister.h>
#include <libyul/optimiser/FunctionGrouper.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
+#include <libyul/AsmPrinter.h>
#include <boost/test/unit_test.hpp>
diff --git a/test/libyul/Parser.cpp b/test/libyul/Parser.cpp
index 4aa3dd5c..957973d0 100644
--- a/test/libyul/Parser.cpp
+++ b/test/libyul/Parser.cpp
@@ -23,9 +23,9 @@
#include <test/libsolidity/ErrorCheck.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <liblangutil/Scanner.h>
#include <liblangutil/ErrorReporter.h>
diff --git a/test/libyul/YulOptimizerTest.cpp b/test/libyul/YulOptimizerTest.cpp
index 6b2b81c3..a8ad5680 100644
--- a/test/libyul/YulOptimizerTest.cpp
+++ b/test/libyul/YulOptimizerTest.cpp
@@ -44,9 +44,9 @@
#include <libyul/optimiser/RedundantAssignEliminator.h>
#include <libyul/optimiser/Suite.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
+#include <libyul/AsmPrinter.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmAnalysis.h>
#include <libsolidity/interface/SourceReferenceFormatter.h>
#include <boost/test/unit_test.hpp>
diff --git a/test/tools/yulopti.cpp b/test/tools/yulopti.cpp
index 8bc807d4..4e916b49 100644
--- a/test/tools/yulopti.cpp
+++ b/test/tools/yulopti.cpp
@@ -21,12 +21,12 @@
#include <libdevcore/CommonIO.h>
#include <liblangutil/ErrorReporter.h>
#include <liblangutil/Scanner.h>
-#include <libsolidity/inlineasm/AsmAnalysis.h>
-#include <libsolidity/inlineasm/AsmAnalysisInfo.h>
+#include <libyul/AsmAnalysis.h>
+#include <libyul/AsmAnalysisInfo.h>
#include <libsolidity/parsing/Parser.h>
-#include <libsolidity/inlineasm/AsmData.h>
-#include <libsolidity/inlineasm/AsmParser.h>
-#include <libsolidity/inlineasm/AsmPrinter.h>
+#include <libyul/AsmData.h>
+#include <libyul/AsmParser.h>
+#include <libyul/AsmPrinter.h>
#include <libsolidity/interface/SourceReferenceFormatter.h>
#include <libyul/optimiser/BlockFlattener.h>