[clang] [clang] Rename all AST/Interp stuff to AST/ByteCode (PR #104552)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 15 23:44:53 PDT 2024


https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/104552

"Interp" clashes with the clang interpreter and people often confuse this.

>From a4a8254c45fa220d3a25e3951069106667f3a280 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Fri, 16 Aug 2024 08:42:16 +0200
Subject: [PATCH] [clang] Rename all AST/Interp stuff to AST/ByteCode

"Interp" clashes with the clang interpreter and people often confuse
this.
---
 clang/docs/ClangFormattedStatus.rst           |  2 +-
 clang/docs/tools/clang-formatted-files.txt    | 36 +++++++++----------
 clang/lib/AST/{Interp => ByteCode}/Boolean.h  |  0
 .../{Interp => ByteCode}/ByteCodeEmitter.cpp  |  0
 .../{Interp => ByteCode}/ByteCodeEmitter.h    |  0
 .../lib/AST/{Interp => ByteCode}/Compiler.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/Compiler.h |  0
 .../lib/AST/{Interp => ByteCode}/Context.cpp  |  0
 clang/lib/AST/{Interp => ByteCode}/Context.h  |  0
 .../AST/{Interp => ByteCode}/Descriptor.cpp   |  0
 .../lib/AST/{Interp => ByteCode}/Descriptor.h |  0
 clang/lib/AST/{Interp => ByteCode}/Disasm.cpp |  0
 .../{Interp => ByteCode}/DynamicAllocator.cpp |  0
 .../{Interp => ByteCode}/DynamicAllocator.h   |  0
 .../AST/{Interp => ByteCode}/EvalEmitter.cpp  |  0
 .../AST/{Interp => ByteCode}/EvalEmitter.h    |  0
 .../{Interp => ByteCode}/EvaluationResult.cpp |  0
 .../{Interp => ByteCode}/EvaluationResult.h   |  0
 .../lib/AST/{Interp => ByteCode}/Floating.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/Floating.h |  0
 clang/lib/AST/{Interp => ByteCode}/Frame.cpp  |  0
 clang/lib/AST/{Interp => ByteCode}/Frame.h    |  0
 .../lib/AST/{Interp => ByteCode}/Function.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/Function.h |  0
 .../{Interp => ByteCode}/FunctionPointer.h    |  0
 clang/lib/AST/{Interp => ByteCode}/Integral.h |  0
 .../lib/AST/{Interp => ByteCode}/IntegralAP.h |  0
 clang/lib/AST/{Interp => ByteCode}/Interp.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/Interp.h   |  0
 .../AST/{Interp => ByteCode}/InterpBlock.cpp  |  0
 .../AST/{Interp => ByteCode}/InterpBlock.h    |  0
 .../{Interp => ByteCode}/InterpBuiltin.cpp    |  0
 .../AST/{Interp => ByteCode}/InterpFrame.cpp  |  0
 .../AST/{Interp => ByteCode}/InterpFrame.h    |  0
 .../AST/{Interp => ByteCode}/InterpShared.cpp |  0
 .../AST/{Interp => ByteCode}/InterpShared.h   |  0
 .../AST/{Interp => ByteCode}/InterpStack.cpp  |  0
 .../AST/{Interp => ByteCode}/InterpStack.h    |  0
 .../AST/{Interp => ByteCode}/InterpState.cpp  |  0
 .../AST/{Interp => ByteCode}/InterpState.h    |  0
 .../{Interp => ByteCode}/MemberPointer.cpp    |  0
 .../AST/{Interp => ByteCode}/MemberPointer.h  |  0
 clang/lib/AST/{Interp => ByteCode}/Opcode.h   |  0
 clang/lib/AST/{Interp => ByteCode}/Opcodes.td |  0
 .../lib/AST/{Interp => ByteCode}/Pointer.cpp  |  0
 clang/lib/AST/{Interp => ByteCode}/Pointer.h  |  0
 .../lib/AST/{Interp => ByteCode}/PrimType.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/PrimType.h |  0
 .../lib/AST/{Interp => ByteCode}/Primitives.h |  0
 .../lib/AST/{Interp => ByteCode}/Program.cpp  |  0
 clang/lib/AST/{Interp => ByteCode}/Program.h  |  0
 clang/lib/AST/{Interp => ByteCode}/Record.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/Record.h   |  0
 clang/lib/AST/{Interp => ByteCode}/Source.cpp |  0
 clang/lib/AST/{Interp => ByteCode}/Source.h   |  0
 clang/lib/AST/{Interp => ByteCode}/State.cpp  |  0
 clang/lib/AST/{Interp => ByteCode}/State.h    |  0
 clang/lib/AST/ExprConstShared.h               |  2 +-
 .../test/AST/{Interp => ByteCode}/arrays.cpp  |  0
 clang/test/AST/{Interp => ByteCode}/atomic.c  |  0
 .../test/AST/{Interp => ByteCode}/atomic.cpp  |  0
 .../AST/{Interp => ByteCode}/bitfields.cpp    |  0
 .../builtin-align-cxx.cpp                     |  0
 .../builtin-constant-p.cpp                    |  0
 .../builtin-functions.cpp                     |  0
 .../AST/{Interp => ByteCode}/builtins.cpp     |  0
 clang/test/AST/{Interp => ByteCode}/c.c       |  0
 clang/test/AST/{Interp => ByteCode}/c23.c     |  0
 .../test/AST/{Interp => ByteCode}/codegen.cpp |  0
 clang/test/AST/{Interp => ByteCode}/comma.cpp |  0
 clang/test/AST/{Interp => ByteCode}/complex.c |  0
 .../test/AST/{Interp => ByteCode}/complex.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cond.cpp  |  0
 .../AST/{Interp => ByteCode}/const-eval.c     |  0
 .../{Interp => ByteCode}/const-fpfeatures.cpp |  0
 .../const-temporaries.cpp                     |  0
 .../constexpr-frame-describe.cpp              |  0
 .../constexpr-nqueens.cpp                     |  0
 .../constexpr-subobj-initialization.cpp       |  0
 .../{Interp => ByteCode}/crash-GH49103-2.cpp  |  0
 clang/test/AST/{Interp => ByteCode}/cxx03.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx11.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx17.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx20.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx23.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx26.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx2a.cpp |  0
 clang/test/AST/{Interp => ByteCode}/cxx98.cpp |  0
 .../AST/{Interp => ByteCode}/depth-limit.cpp  |  0
 .../AST/{Interp => ByteCode}/depth-limit2.cpp |  0
 .../{Interp => ByteCode}/enums-targets.cpp    |  0
 clang/test/AST/{Interp => ByteCode}/enums.cpp |  0
 .../AST/{Interp => ByteCode}/eval-order.cpp   |  0
 .../test/AST/{Interp => ByteCode}/floats.cpp  |  0
 .../AST/{Interp => ByteCode}/functions.cpp    |  0
 clang/test/AST/{Interp => ByteCode}/hlsl.hlsl |  0
 clang/test/AST/{Interp => ByteCode}/if.cpp    |  0
 clang/test/AST/{Interp => ByteCode}/intap.cpp |  0
 .../test/AST/{Interp => ByteCode}/invalid.cpp |  0
 .../test/AST/{Interp => ByteCode}/lambda.cpp  |  0
 .../AST/{Interp => ByteCode}/lifetimes.cpp    |  0
 .../AST/{Interp => ByteCode}/literals.cpp     |  0
 clang/test/AST/{Interp => ByteCode}/loops.cpp |  0
 .../{Interp => ByteCode}/memberpointers.cpp   |  0
 clang/test/AST/{Interp => ByteCode}/ms.cpp    |  0
 .../test/AST/{Interp => ByteCode}/mutable.cpp |  0
 .../AST/{Interp => ByteCode}/new-delete.cpp   |  0
 .../AST/{Interp => ByteCode}/nullable.cpp     |  0
 clang/test/AST/{Interp => ByteCode}/objc.mm   |  0
 clang/test/AST/{Interp => ByteCode}/opencl.cl |  0
 .../{Interp => ByteCode}/pointer-addition.c   |  0
 .../test/AST/{Interp => ByteCode}/records.cpp |  0
 .../AST/{Interp => ByteCode}/references.cpp   |  0
 .../test/AST/{Interp => ByteCode}/shifts.cpp  |  0
 .../AST/{Interp => ByteCode}/spaceship.cpp    |  0
 .../test/AST/{Interp => ByteCode}/switch.cpp  |  0
 clang/test/AST/{Interp => ByteCode}/sycl.cpp  |  0
 .../test/AST/{Interp => ByteCode}/unions.cpp  |  0
 .../test/AST/{Interp => ByteCode}/vectors.cpp |  0
 clang/test/AST/{Interp => ByteCode}/weak.cpp  |  0
 .../AST/{Interp => ByteCode}/CMakeLists.txt   |  0
 .../AST/{Interp => ByteCode}/Descriptor.cpp   |  6 ++--
 .../AST/{Interp => ByteCode}/toAPValue.cpp    |  6 ++--
 123 files changed, 26 insertions(+), 26 deletions(-)
 rename clang/lib/AST/{Interp => ByteCode}/Boolean.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/ByteCodeEmitter.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/ByteCodeEmitter.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Compiler.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Compiler.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Context.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Context.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Descriptor.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Descriptor.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Disasm.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/DynamicAllocator.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/DynamicAllocator.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/EvalEmitter.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/EvalEmitter.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/EvaluationResult.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/EvaluationResult.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Floating.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Floating.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Frame.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Frame.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Function.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Function.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/FunctionPointer.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Integral.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/IntegralAP.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Interp.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Interp.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpBlock.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpBlock.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpBuiltin.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpFrame.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpFrame.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpShared.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpShared.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpStack.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpStack.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpState.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/InterpState.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/MemberPointer.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/MemberPointer.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Opcode.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Opcodes.td (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Pointer.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Pointer.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/PrimType.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/PrimType.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Primitives.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Program.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Program.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Record.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Record.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Source.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/Source.h (100%)
 rename clang/lib/AST/{Interp => ByteCode}/State.cpp (100%)
 rename clang/lib/AST/{Interp => ByteCode}/State.h (100%)
 rename clang/test/AST/{Interp => ByteCode}/arrays.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/atomic.c (100%)
 rename clang/test/AST/{Interp => ByteCode}/atomic.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/bitfields.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/builtin-align-cxx.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/builtin-constant-p.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/builtin-functions.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/builtins.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/c.c (100%)
 rename clang/test/AST/{Interp => ByteCode}/c23.c (100%)
 rename clang/test/AST/{Interp => ByteCode}/codegen.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/comma.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/complex.c (100%)
 rename clang/test/AST/{Interp => ByteCode}/complex.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cond.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/const-eval.c (100%)
 rename clang/test/AST/{Interp => ByteCode}/const-fpfeatures.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/const-temporaries.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/constexpr-frame-describe.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/constexpr-nqueens.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/constexpr-subobj-initialization.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/crash-GH49103-2.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx03.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx11.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx17.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx20.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx23.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx26.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx2a.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/cxx98.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/depth-limit.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/depth-limit2.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/enums-targets.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/enums.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/eval-order.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/floats.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/functions.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/hlsl.hlsl (100%)
 rename clang/test/AST/{Interp => ByteCode}/if.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/intap.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/invalid.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/lambda.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/lifetimes.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/literals.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/loops.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/memberpointers.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/ms.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/mutable.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/new-delete.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/nullable.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/objc.mm (100%)
 rename clang/test/AST/{Interp => ByteCode}/opencl.cl (100%)
 rename clang/test/AST/{Interp => ByteCode}/pointer-addition.c (100%)
 rename clang/test/AST/{Interp => ByteCode}/records.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/references.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/shifts.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/spaceship.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/switch.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/sycl.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/unions.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/vectors.cpp (100%)
 rename clang/test/AST/{Interp => ByteCode}/weak.cpp (100%)
 rename clang/unittests/AST/{Interp => ByteCode}/CMakeLists.txt (100%)
 rename clang/unittests/AST/{Interp => ByteCode}/Descriptor.cpp (98%)
 rename clang/unittests/AST/{Interp => ByteCode}/toAPValue.cpp (98%)

diff --git a/clang/docs/ClangFormattedStatus.rst b/clang/docs/ClangFormattedStatus.rst
index 68c13076ccbb4e..0ee0782879ef6b 100644
--- a/clang/docs/ClangFormattedStatus.rst
+++ b/clang/docs/ClangFormattedStatus.rst
@@ -439,7 +439,7 @@ tree in terms of conformance to :doc:`ClangFormat` as of: March 06, 2022 17:32:2
      - `2`
      - `79`
      - :part:`2%`
-   * - clang/lib/AST/Interp
+   * - clang/lib/AST/ByteCode
      - `44`
      - `18`
      - `26`
diff --git a/clang/docs/tools/clang-formatted-files.txt b/clang/docs/tools/clang-formatted-files.txt
index 62871133a68075..fc07357986d989 100644
--- a/clang/docs/tools/clang-formatted-files.txt
+++ b/clang/docs/tools/clang-formatted-files.txt
@@ -322,24 +322,24 @@ clang/lib/APINotes/APINotesTypes.cpp
 clang/lib/APINotes/APINotesYAMLCompiler.cpp
 clang/lib/AST/DataCollection.cpp
 clang/lib/AST/Linkage.h
-clang/lib/AST/Interp/ByteCodeGenError.cpp
-clang/lib/AST/Interp/ByteCodeGenError.h
-clang/lib/AST/Interp/Context.cpp
-clang/lib/AST/Interp/Context.h
-clang/lib/AST/Interp/Descriptor.cpp
-clang/lib/AST/Interp/Disasm.cpp
-clang/lib/AST/Interp/EvalEmitter.h
-clang/lib/AST/Interp/Frame.cpp
-clang/lib/AST/Interp/Frame.h
-clang/lib/AST/Interp/InterpState.h
-clang/lib/AST/Interp/Opcode.h
-clang/lib/AST/Interp/Pointer.cpp
-clang/lib/AST/Interp/PrimType.cpp
-clang/lib/AST/Interp/Record.h
-clang/lib/AST/Interp/Source.cpp
-clang/lib/AST/Interp/Source.h
-clang/lib/AST/Interp/State.cpp
-clang/lib/AST/Interp/State.h
+clang/lib/AST/ByteCode/ByteCodeGenError.cpp
+clang/lib/AST/ByteCode/ByteCodeGenError.h
+clang/lib/AST/ByteCode/Context.cpp
+clang/lib/AST/ByteCode/Context.h
+clang/lib/AST/ByteCode/Descriptor.cpp
+clang/lib/AST/ByteCode/Disasm.cpp
+clang/lib/AST/ByteCode/EvalEmitter.h
+clang/lib/AST/ByteCode/Frame.cpp
+clang/lib/AST/ByteCode/Frame.h
+clang/lib/AST/ByteCode/InterpState.h
+clang/lib/AST/ByteCode/Opcode.h
+clang/lib/AST/ByteCode/Pointer.cpp
+clang/lib/AST/ByteCode/PrimType.cpp
+clang/lib/AST/ByteCode/Record.h
+clang/lib/AST/ByteCode/Source.cpp
+clang/lib/AST/ByteCode/Source.h
+clang/lib/AST/ByteCode/State.cpp
+clang/lib/AST/ByteCode/State.h
 clang/lib/ASTMatchers/GtestMatchers.cpp
 clang/lib/ASTMatchers/Dynamic/Marshallers.cpp
 clang/lib/Basic/Attributes.cpp
diff --git a/clang/lib/AST/Interp/Boolean.h b/clang/lib/AST/ByteCode/Boolean.h
similarity index 100%
rename from clang/lib/AST/Interp/Boolean.h
rename to clang/lib/AST/ByteCode/Boolean.h
diff --git a/clang/lib/AST/Interp/ByteCodeEmitter.cpp b/clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
similarity index 100%
rename from clang/lib/AST/Interp/ByteCodeEmitter.cpp
rename to clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
diff --git a/clang/lib/AST/Interp/ByteCodeEmitter.h b/clang/lib/AST/ByteCode/ByteCodeEmitter.h
similarity index 100%
rename from clang/lib/AST/Interp/ByteCodeEmitter.h
rename to clang/lib/AST/ByteCode/ByteCodeEmitter.h
diff --git a/clang/lib/AST/Interp/Compiler.cpp b/clang/lib/AST/ByteCode/Compiler.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Compiler.cpp
rename to clang/lib/AST/ByteCode/Compiler.cpp
diff --git a/clang/lib/AST/Interp/Compiler.h b/clang/lib/AST/ByteCode/Compiler.h
similarity index 100%
rename from clang/lib/AST/Interp/Compiler.h
rename to clang/lib/AST/ByteCode/Compiler.h
diff --git a/clang/lib/AST/Interp/Context.cpp b/clang/lib/AST/ByteCode/Context.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Context.cpp
rename to clang/lib/AST/ByteCode/Context.cpp
diff --git a/clang/lib/AST/Interp/Context.h b/clang/lib/AST/ByteCode/Context.h
similarity index 100%
rename from clang/lib/AST/Interp/Context.h
rename to clang/lib/AST/ByteCode/Context.h
diff --git a/clang/lib/AST/Interp/Descriptor.cpp b/clang/lib/AST/ByteCode/Descriptor.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Descriptor.cpp
rename to clang/lib/AST/ByteCode/Descriptor.cpp
diff --git a/clang/lib/AST/Interp/Descriptor.h b/clang/lib/AST/ByteCode/Descriptor.h
similarity index 100%
rename from clang/lib/AST/Interp/Descriptor.h
rename to clang/lib/AST/ByteCode/Descriptor.h
diff --git a/clang/lib/AST/Interp/Disasm.cpp b/clang/lib/AST/ByteCode/Disasm.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Disasm.cpp
rename to clang/lib/AST/ByteCode/Disasm.cpp
diff --git a/clang/lib/AST/Interp/DynamicAllocator.cpp b/clang/lib/AST/ByteCode/DynamicAllocator.cpp
similarity index 100%
rename from clang/lib/AST/Interp/DynamicAllocator.cpp
rename to clang/lib/AST/ByteCode/DynamicAllocator.cpp
diff --git a/clang/lib/AST/Interp/DynamicAllocator.h b/clang/lib/AST/ByteCode/DynamicAllocator.h
similarity index 100%
rename from clang/lib/AST/Interp/DynamicAllocator.h
rename to clang/lib/AST/ByteCode/DynamicAllocator.h
diff --git a/clang/lib/AST/Interp/EvalEmitter.cpp b/clang/lib/AST/ByteCode/EvalEmitter.cpp
similarity index 100%
rename from clang/lib/AST/Interp/EvalEmitter.cpp
rename to clang/lib/AST/ByteCode/EvalEmitter.cpp
diff --git a/clang/lib/AST/Interp/EvalEmitter.h b/clang/lib/AST/ByteCode/EvalEmitter.h
similarity index 100%
rename from clang/lib/AST/Interp/EvalEmitter.h
rename to clang/lib/AST/ByteCode/EvalEmitter.h
diff --git a/clang/lib/AST/Interp/EvaluationResult.cpp b/clang/lib/AST/ByteCode/EvaluationResult.cpp
similarity index 100%
rename from clang/lib/AST/Interp/EvaluationResult.cpp
rename to clang/lib/AST/ByteCode/EvaluationResult.cpp
diff --git a/clang/lib/AST/Interp/EvaluationResult.h b/clang/lib/AST/ByteCode/EvaluationResult.h
similarity index 100%
rename from clang/lib/AST/Interp/EvaluationResult.h
rename to clang/lib/AST/ByteCode/EvaluationResult.h
diff --git a/clang/lib/AST/Interp/Floating.cpp b/clang/lib/AST/ByteCode/Floating.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Floating.cpp
rename to clang/lib/AST/ByteCode/Floating.cpp
diff --git a/clang/lib/AST/Interp/Floating.h b/clang/lib/AST/ByteCode/Floating.h
similarity index 100%
rename from clang/lib/AST/Interp/Floating.h
rename to clang/lib/AST/ByteCode/Floating.h
diff --git a/clang/lib/AST/Interp/Frame.cpp b/clang/lib/AST/ByteCode/Frame.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Frame.cpp
rename to clang/lib/AST/ByteCode/Frame.cpp
diff --git a/clang/lib/AST/Interp/Frame.h b/clang/lib/AST/ByteCode/Frame.h
similarity index 100%
rename from clang/lib/AST/Interp/Frame.h
rename to clang/lib/AST/ByteCode/Frame.h
diff --git a/clang/lib/AST/Interp/Function.cpp b/clang/lib/AST/ByteCode/Function.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Function.cpp
rename to clang/lib/AST/ByteCode/Function.cpp
diff --git a/clang/lib/AST/Interp/Function.h b/clang/lib/AST/ByteCode/Function.h
similarity index 100%
rename from clang/lib/AST/Interp/Function.h
rename to clang/lib/AST/ByteCode/Function.h
diff --git a/clang/lib/AST/Interp/FunctionPointer.h b/clang/lib/AST/ByteCode/FunctionPointer.h
similarity index 100%
rename from clang/lib/AST/Interp/FunctionPointer.h
rename to clang/lib/AST/ByteCode/FunctionPointer.h
diff --git a/clang/lib/AST/Interp/Integral.h b/clang/lib/AST/ByteCode/Integral.h
similarity index 100%
rename from clang/lib/AST/Interp/Integral.h
rename to clang/lib/AST/ByteCode/Integral.h
diff --git a/clang/lib/AST/Interp/IntegralAP.h b/clang/lib/AST/ByteCode/IntegralAP.h
similarity index 100%
rename from clang/lib/AST/Interp/IntegralAP.h
rename to clang/lib/AST/ByteCode/IntegralAP.h
diff --git a/clang/lib/AST/Interp/Interp.cpp b/clang/lib/AST/ByteCode/Interp.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Interp.cpp
rename to clang/lib/AST/ByteCode/Interp.cpp
diff --git a/clang/lib/AST/Interp/Interp.h b/clang/lib/AST/ByteCode/Interp.h
similarity index 100%
rename from clang/lib/AST/Interp/Interp.h
rename to clang/lib/AST/ByteCode/Interp.h
diff --git a/clang/lib/AST/Interp/InterpBlock.cpp b/clang/lib/AST/ByteCode/InterpBlock.cpp
similarity index 100%
rename from clang/lib/AST/Interp/InterpBlock.cpp
rename to clang/lib/AST/ByteCode/InterpBlock.cpp
diff --git a/clang/lib/AST/Interp/InterpBlock.h b/clang/lib/AST/ByteCode/InterpBlock.h
similarity index 100%
rename from clang/lib/AST/Interp/InterpBlock.h
rename to clang/lib/AST/ByteCode/InterpBlock.h
diff --git a/clang/lib/AST/Interp/InterpBuiltin.cpp b/clang/lib/AST/ByteCode/InterpBuiltin.cpp
similarity index 100%
rename from clang/lib/AST/Interp/InterpBuiltin.cpp
rename to clang/lib/AST/ByteCode/InterpBuiltin.cpp
diff --git a/clang/lib/AST/Interp/InterpFrame.cpp b/clang/lib/AST/ByteCode/InterpFrame.cpp
similarity index 100%
rename from clang/lib/AST/Interp/InterpFrame.cpp
rename to clang/lib/AST/ByteCode/InterpFrame.cpp
diff --git a/clang/lib/AST/Interp/InterpFrame.h b/clang/lib/AST/ByteCode/InterpFrame.h
similarity index 100%
rename from clang/lib/AST/Interp/InterpFrame.h
rename to clang/lib/AST/ByteCode/InterpFrame.h
diff --git a/clang/lib/AST/Interp/InterpShared.cpp b/clang/lib/AST/ByteCode/InterpShared.cpp
similarity index 100%
rename from clang/lib/AST/Interp/InterpShared.cpp
rename to clang/lib/AST/ByteCode/InterpShared.cpp
diff --git a/clang/lib/AST/Interp/InterpShared.h b/clang/lib/AST/ByteCode/InterpShared.h
similarity index 100%
rename from clang/lib/AST/Interp/InterpShared.h
rename to clang/lib/AST/ByteCode/InterpShared.h
diff --git a/clang/lib/AST/Interp/InterpStack.cpp b/clang/lib/AST/ByteCode/InterpStack.cpp
similarity index 100%
rename from clang/lib/AST/Interp/InterpStack.cpp
rename to clang/lib/AST/ByteCode/InterpStack.cpp
diff --git a/clang/lib/AST/Interp/InterpStack.h b/clang/lib/AST/ByteCode/InterpStack.h
similarity index 100%
rename from clang/lib/AST/Interp/InterpStack.h
rename to clang/lib/AST/ByteCode/InterpStack.h
diff --git a/clang/lib/AST/Interp/InterpState.cpp b/clang/lib/AST/ByteCode/InterpState.cpp
similarity index 100%
rename from clang/lib/AST/Interp/InterpState.cpp
rename to clang/lib/AST/ByteCode/InterpState.cpp
diff --git a/clang/lib/AST/Interp/InterpState.h b/clang/lib/AST/ByteCode/InterpState.h
similarity index 100%
rename from clang/lib/AST/Interp/InterpState.h
rename to clang/lib/AST/ByteCode/InterpState.h
diff --git a/clang/lib/AST/Interp/MemberPointer.cpp b/clang/lib/AST/ByteCode/MemberPointer.cpp
similarity index 100%
rename from clang/lib/AST/Interp/MemberPointer.cpp
rename to clang/lib/AST/ByteCode/MemberPointer.cpp
diff --git a/clang/lib/AST/Interp/MemberPointer.h b/clang/lib/AST/ByteCode/MemberPointer.h
similarity index 100%
rename from clang/lib/AST/Interp/MemberPointer.h
rename to clang/lib/AST/ByteCode/MemberPointer.h
diff --git a/clang/lib/AST/Interp/Opcode.h b/clang/lib/AST/ByteCode/Opcode.h
similarity index 100%
rename from clang/lib/AST/Interp/Opcode.h
rename to clang/lib/AST/ByteCode/Opcode.h
diff --git a/clang/lib/AST/Interp/Opcodes.td b/clang/lib/AST/ByteCode/Opcodes.td
similarity index 100%
rename from clang/lib/AST/Interp/Opcodes.td
rename to clang/lib/AST/ByteCode/Opcodes.td
diff --git a/clang/lib/AST/Interp/Pointer.cpp b/clang/lib/AST/ByteCode/Pointer.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Pointer.cpp
rename to clang/lib/AST/ByteCode/Pointer.cpp
diff --git a/clang/lib/AST/Interp/Pointer.h b/clang/lib/AST/ByteCode/Pointer.h
similarity index 100%
rename from clang/lib/AST/Interp/Pointer.h
rename to clang/lib/AST/ByteCode/Pointer.h
diff --git a/clang/lib/AST/Interp/PrimType.cpp b/clang/lib/AST/ByteCode/PrimType.cpp
similarity index 100%
rename from clang/lib/AST/Interp/PrimType.cpp
rename to clang/lib/AST/ByteCode/PrimType.cpp
diff --git a/clang/lib/AST/Interp/PrimType.h b/clang/lib/AST/ByteCode/PrimType.h
similarity index 100%
rename from clang/lib/AST/Interp/PrimType.h
rename to clang/lib/AST/ByteCode/PrimType.h
diff --git a/clang/lib/AST/Interp/Primitives.h b/clang/lib/AST/ByteCode/Primitives.h
similarity index 100%
rename from clang/lib/AST/Interp/Primitives.h
rename to clang/lib/AST/ByteCode/Primitives.h
diff --git a/clang/lib/AST/Interp/Program.cpp b/clang/lib/AST/ByteCode/Program.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Program.cpp
rename to clang/lib/AST/ByteCode/Program.cpp
diff --git a/clang/lib/AST/Interp/Program.h b/clang/lib/AST/ByteCode/Program.h
similarity index 100%
rename from clang/lib/AST/Interp/Program.h
rename to clang/lib/AST/ByteCode/Program.h
diff --git a/clang/lib/AST/Interp/Record.cpp b/clang/lib/AST/ByteCode/Record.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Record.cpp
rename to clang/lib/AST/ByteCode/Record.cpp
diff --git a/clang/lib/AST/Interp/Record.h b/clang/lib/AST/ByteCode/Record.h
similarity index 100%
rename from clang/lib/AST/Interp/Record.h
rename to clang/lib/AST/ByteCode/Record.h
diff --git a/clang/lib/AST/Interp/Source.cpp b/clang/lib/AST/ByteCode/Source.cpp
similarity index 100%
rename from clang/lib/AST/Interp/Source.cpp
rename to clang/lib/AST/ByteCode/Source.cpp
diff --git a/clang/lib/AST/Interp/Source.h b/clang/lib/AST/ByteCode/Source.h
similarity index 100%
rename from clang/lib/AST/Interp/Source.h
rename to clang/lib/AST/ByteCode/Source.h
diff --git a/clang/lib/AST/Interp/State.cpp b/clang/lib/AST/ByteCode/State.cpp
similarity index 100%
rename from clang/lib/AST/Interp/State.cpp
rename to clang/lib/AST/ByteCode/State.cpp
diff --git a/clang/lib/AST/Interp/State.h b/clang/lib/AST/ByteCode/State.h
similarity index 100%
rename from clang/lib/AST/Interp/State.h
rename to clang/lib/AST/ByteCode/State.h
diff --git a/clang/lib/AST/ExprConstShared.h b/clang/lib/AST/ExprConstShared.h
index 2a7088e4e371a1..efe8ee986d29b3 100644
--- a/clang/lib/AST/ExprConstShared.h
+++ b/clang/lib/AST/ExprConstShared.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // Shared functionality between the new constant expression
-// interpreter (AST/Interp/) and the current one (ExprConstant.cpp).
+// interpreter (AST/ByteCode/) and the current one (ExprConstant.cpp).
 //
 //===----------------------------------------------------------------------===//
 
diff --git a/clang/test/AST/Interp/arrays.cpp b/clang/test/AST/ByteCode/arrays.cpp
similarity index 100%
rename from clang/test/AST/Interp/arrays.cpp
rename to clang/test/AST/ByteCode/arrays.cpp
diff --git a/clang/test/AST/Interp/atomic.c b/clang/test/AST/ByteCode/atomic.c
similarity index 100%
rename from clang/test/AST/Interp/atomic.c
rename to clang/test/AST/ByteCode/atomic.c
diff --git a/clang/test/AST/Interp/atomic.cpp b/clang/test/AST/ByteCode/atomic.cpp
similarity index 100%
rename from clang/test/AST/Interp/atomic.cpp
rename to clang/test/AST/ByteCode/atomic.cpp
diff --git a/clang/test/AST/Interp/bitfields.cpp b/clang/test/AST/ByteCode/bitfields.cpp
similarity index 100%
rename from clang/test/AST/Interp/bitfields.cpp
rename to clang/test/AST/ByteCode/bitfields.cpp
diff --git a/clang/test/AST/Interp/builtin-align-cxx.cpp b/clang/test/AST/ByteCode/builtin-align-cxx.cpp
similarity index 100%
rename from clang/test/AST/Interp/builtin-align-cxx.cpp
rename to clang/test/AST/ByteCode/builtin-align-cxx.cpp
diff --git a/clang/test/AST/Interp/builtin-constant-p.cpp b/clang/test/AST/ByteCode/builtin-constant-p.cpp
similarity index 100%
rename from clang/test/AST/Interp/builtin-constant-p.cpp
rename to clang/test/AST/ByteCode/builtin-constant-p.cpp
diff --git a/clang/test/AST/Interp/builtin-functions.cpp b/clang/test/AST/ByteCode/builtin-functions.cpp
similarity index 100%
rename from clang/test/AST/Interp/builtin-functions.cpp
rename to clang/test/AST/ByteCode/builtin-functions.cpp
diff --git a/clang/test/AST/Interp/builtins.cpp b/clang/test/AST/ByteCode/builtins.cpp
similarity index 100%
rename from clang/test/AST/Interp/builtins.cpp
rename to clang/test/AST/ByteCode/builtins.cpp
diff --git a/clang/test/AST/Interp/c.c b/clang/test/AST/ByteCode/c.c
similarity index 100%
rename from clang/test/AST/Interp/c.c
rename to clang/test/AST/ByteCode/c.c
diff --git a/clang/test/AST/Interp/c23.c b/clang/test/AST/ByteCode/c23.c
similarity index 100%
rename from clang/test/AST/Interp/c23.c
rename to clang/test/AST/ByteCode/c23.c
diff --git a/clang/test/AST/Interp/codegen.cpp b/clang/test/AST/ByteCode/codegen.cpp
similarity index 100%
rename from clang/test/AST/Interp/codegen.cpp
rename to clang/test/AST/ByteCode/codegen.cpp
diff --git a/clang/test/AST/Interp/comma.cpp b/clang/test/AST/ByteCode/comma.cpp
similarity index 100%
rename from clang/test/AST/Interp/comma.cpp
rename to clang/test/AST/ByteCode/comma.cpp
diff --git a/clang/test/AST/Interp/complex.c b/clang/test/AST/ByteCode/complex.c
similarity index 100%
rename from clang/test/AST/Interp/complex.c
rename to clang/test/AST/ByteCode/complex.c
diff --git a/clang/test/AST/Interp/complex.cpp b/clang/test/AST/ByteCode/complex.cpp
similarity index 100%
rename from clang/test/AST/Interp/complex.cpp
rename to clang/test/AST/ByteCode/complex.cpp
diff --git a/clang/test/AST/Interp/cond.cpp b/clang/test/AST/ByteCode/cond.cpp
similarity index 100%
rename from clang/test/AST/Interp/cond.cpp
rename to clang/test/AST/ByteCode/cond.cpp
diff --git a/clang/test/AST/Interp/const-eval.c b/clang/test/AST/ByteCode/const-eval.c
similarity index 100%
rename from clang/test/AST/Interp/const-eval.c
rename to clang/test/AST/ByteCode/const-eval.c
diff --git a/clang/test/AST/Interp/const-fpfeatures.cpp b/clang/test/AST/ByteCode/const-fpfeatures.cpp
similarity index 100%
rename from clang/test/AST/Interp/const-fpfeatures.cpp
rename to clang/test/AST/ByteCode/const-fpfeatures.cpp
diff --git a/clang/test/AST/Interp/const-temporaries.cpp b/clang/test/AST/ByteCode/const-temporaries.cpp
similarity index 100%
rename from clang/test/AST/Interp/const-temporaries.cpp
rename to clang/test/AST/ByteCode/const-temporaries.cpp
diff --git a/clang/test/AST/Interp/constexpr-frame-describe.cpp b/clang/test/AST/ByteCode/constexpr-frame-describe.cpp
similarity index 100%
rename from clang/test/AST/Interp/constexpr-frame-describe.cpp
rename to clang/test/AST/ByteCode/constexpr-frame-describe.cpp
diff --git a/clang/test/AST/Interp/constexpr-nqueens.cpp b/clang/test/AST/ByteCode/constexpr-nqueens.cpp
similarity index 100%
rename from clang/test/AST/Interp/constexpr-nqueens.cpp
rename to clang/test/AST/ByteCode/constexpr-nqueens.cpp
diff --git a/clang/test/AST/Interp/constexpr-subobj-initialization.cpp b/clang/test/AST/ByteCode/constexpr-subobj-initialization.cpp
similarity index 100%
rename from clang/test/AST/Interp/constexpr-subobj-initialization.cpp
rename to clang/test/AST/ByteCode/constexpr-subobj-initialization.cpp
diff --git a/clang/test/AST/Interp/crash-GH49103-2.cpp b/clang/test/AST/ByteCode/crash-GH49103-2.cpp
similarity index 100%
rename from clang/test/AST/Interp/crash-GH49103-2.cpp
rename to clang/test/AST/ByteCode/crash-GH49103-2.cpp
diff --git a/clang/test/AST/Interp/cxx03.cpp b/clang/test/AST/ByteCode/cxx03.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx03.cpp
rename to clang/test/AST/ByteCode/cxx03.cpp
diff --git a/clang/test/AST/Interp/cxx11.cpp b/clang/test/AST/ByteCode/cxx11.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx11.cpp
rename to clang/test/AST/ByteCode/cxx11.cpp
diff --git a/clang/test/AST/Interp/cxx17.cpp b/clang/test/AST/ByteCode/cxx17.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx17.cpp
rename to clang/test/AST/ByteCode/cxx17.cpp
diff --git a/clang/test/AST/Interp/cxx20.cpp b/clang/test/AST/ByteCode/cxx20.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx20.cpp
rename to clang/test/AST/ByteCode/cxx20.cpp
diff --git a/clang/test/AST/Interp/cxx23.cpp b/clang/test/AST/ByteCode/cxx23.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx23.cpp
rename to clang/test/AST/ByteCode/cxx23.cpp
diff --git a/clang/test/AST/Interp/cxx26.cpp b/clang/test/AST/ByteCode/cxx26.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx26.cpp
rename to clang/test/AST/ByteCode/cxx26.cpp
diff --git a/clang/test/AST/Interp/cxx2a.cpp b/clang/test/AST/ByteCode/cxx2a.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx2a.cpp
rename to clang/test/AST/ByteCode/cxx2a.cpp
diff --git a/clang/test/AST/Interp/cxx98.cpp b/clang/test/AST/ByteCode/cxx98.cpp
similarity index 100%
rename from clang/test/AST/Interp/cxx98.cpp
rename to clang/test/AST/ByteCode/cxx98.cpp
diff --git a/clang/test/AST/Interp/depth-limit.cpp b/clang/test/AST/ByteCode/depth-limit.cpp
similarity index 100%
rename from clang/test/AST/Interp/depth-limit.cpp
rename to clang/test/AST/ByteCode/depth-limit.cpp
diff --git a/clang/test/AST/Interp/depth-limit2.cpp b/clang/test/AST/ByteCode/depth-limit2.cpp
similarity index 100%
rename from clang/test/AST/Interp/depth-limit2.cpp
rename to clang/test/AST/ByteCode/depth-limit2.cpp
diff --git a/clang/test/AST/Interp/enums-targets.cpp b/clang/test/AST/ByteCode/enums-targets.cpp
similarity index 100%
rename from clang/test/AST/Interp/enums-targets.cpp
rename to clang/test/AST/ByteCode/enums-targets.cpp
diff --git a/clang/test/AST/Interp/enums.cpp b/clang/test/AST/ByteCode/enums.cpp
similarity index 100%
rename from clang/test/AST/Interp/enums.cpp
rename to clang/test/AST/ByteCode/enums.cpp
diff --git a/clang/test/AST/Interp/eval-order.cpp b/clang/test/AST/ByteCode/eval-order.cpp
similarity index 100%
rename from clang/test/AST/Interp/eval-order.cpp
rename to clang/test/AST/ByteCode/eval-order.cpp
diff --git a/clang/test/AST/Interp/floats.cpp b/clang/test/AST/ByteCode/floats.cpp
similarity index 100%
rename from clang/test/AST/Interp/floats.cpp
rename to clang/test/AST/ByteCode/floats.cpp
diff --git a/clang/test/AST/Interp/functions.cpp b/clang/test/AST/ByteCode/functions.cpp
similarity index 100%
rename from clang/test/AST/Interp/functions.cpp
rename to clang/test/AST/ByteCode/functions.cpp
diff --git a/clang/test/AST/Interp/hlsl.hlsl b/clang/test/AST/ByteCode/hlsl.hlsl
similarity index 100%
rename from clang/test/AST/Interp/hlsl.hlsl
rename to clang/test/AST/ByteCode/hlsl.hlsl
diff --git a/clang/test/AST/Interp/if.cpp b/clang/test/AST/ByteCode/if.cpp
similarity index 100%
rename from clang/test/AST/Interp/if.cpp
rename to clang/test/AST/ByteCode/if.cpp
diff --git a/clang/test/AST/Interp/intap.cpp b/clang/test/AST/ByteCode/intap.cpp
similarity index 100%
rename from clang/test/AST/Interp/intap.cpp
rename to clang/test/AST/ByteCode/intap.cpp
diff --git a/clang/test/AST/Interp/invalid.cpp b/clang/test/AST/ByteCode/invalid.cpp
similarity index 100%
rename from clang/test/AST/Interp/invalid.cpp
rename to clang/test/AST/ByteCode/invalid.cpp
diff --git a/clang/test/AST/Interp/lambda.cpp b/clang/test/AST/ByteCode/lambda.cpp
similarity index 100%
rename from clang/test/AST/Interp/lambda.cpp
rename to clang/test/AST/ByteCode/lambda.cpp
diff --git a/clang/test/AST/Interp/lifetimes.cpp b/clang/test/AST/ByteCode/lifetimes.cpp
similarity index 100%
rename from clang/test/AST/Interp/lifetimes.cpp
rename to clang/test/AST/ByteCode/lifetimes.cpp
diff --git a/clang/test/AST/Interp/literals.cpp b/clang/test/AST/ByteCode/literals.cpp
similarity index 100%
rename from clang/test/AST/Interp/literals.cpp
rename to clang/test/AST/ByteCode/literals.cpp
diff --git a/clang/test/AST/Interp/loops.cpp b/clang/test/AST/ByteCode/loops.cpp
similarity index 100%
rename from clang/test/AST/Interp/loops.cpp
rename to clang/test/AST/ByteCode/loops.cpp
diff --git a/clang/test/AST/Interp/memberpointers.cpp b/clang/test/AST/ByteCode/memberpointers.cpp
similarity index 100%
rename from clang/test/AST/Interp/memberpointers.cpp
rename to clang/test/AST/ByteCode/memberpointers.cpp
diff --git a/clang/test/AST/Interp/ms.cpp b/clang/test/AST/ByteCode/ms.cpp
similarity index 100%
rename from clang/test/AST/Interp/ms.cpp
rename to clang/test/AST/ByteCode/ms.cpp
diff --git a/clang/test/AST/Interp/mutable.cpp b/clang/test/AST/ByteCode/mutable.cpp
similarity index 100%
rename from clang/test/AST/Interp/mutable.cpp
rename to clang/test/AST/ByteCode/mutable.cpp
diff --git a/clang/test/AST/Interp/new-delete.cpp b/clang/test/AST/ByteCode/new-delete.cpp
similarity index 100%
rename from clang/test/AST/Interp/new-delete.cpp
rename to clang/test/AST/ByteCode/new-delete.cpp
diff --git a/clang/test/AST/Interp/nullable.cpp b/clang/test/AST/ByteCode/nullable.cpp
similarity index 100%
rename from clang/test/AST/Interp/nullable.cpp
rename to clang/test/AST/ByteCode/nullable.cpp
diff --git a/clang/test/AST/Interp/objc.mm b/clang/test/AST/ByteCode/objc.mm
similarity index 100%
rename from clang/test/AST/Interp/objc.mm
rename to clang/test/AST/ByteCode/objc.mm
diff --git a/clang/test/AST/Interp/opencl.cl b/clang/test/AST/ByteCode/opencl.cl
similarity index 100%
rename from clang/test/AST/Interp/opencl.cl
rename to clang/test/AST/ByteCode/opencl.cl
diff --git a/clang/test/AST/Interp/pointer-addition.c b/clang/test/AST/ByteCode/pointer-addition.c
similarity index 100%
rename from clang/test/AST/Interp/pointer-addition.c
rename to clang/test/AST/ByteCode/pointer-addition.c
diff --git a/clang/test/AST/Interp/records.cpp b/clang/test/AST/ByteCode/records.cpp
similarity index 100%
rename from clang/test/AST/Interp/records.cpp
rename to clang/test/AST/ByteCode/records.cpp
diff --git a/clang/test/AST/Interp/references.cpp b/clang/test/AST/ByteCode/references.cpp
similarity index 100%
rename from clang/test/AST/Interp/references.cpp
rename to clang/test/AST/ByteCode/references.cpp
diff --git a/clang/test/AST/Interp/shifts.cpp b/clang/test/AST/ByteCode/shifts.cpp
similarity index 100%
rename from clang/test/AST/Interp/shifts.cpp
rename to clang/test/AST/ByteCode/shifts.cpp
diff --git a/clang/test/AST/Interp/spaceship.cpp b/clang/test/AST/ByteCode/spaceship.cpp
similarity index 100%
rename from clang/test/AST/Interp/spaceship.cpp
rename to clang/test/AST/ByteCode/spaceship.cpp
diff --git a/clang/test/AST/Interp/switch.cpp b/clang/test/AST/ByteCode/switch.cpp
similarity index 100%
rename from clang/test/AST/Interp/switch.cpp
rename to clang/test/AST/ByteCode/switch.cpp
diff --git a/clang/test/AST/Interp/sycl.cpp b/clang/test/AST/ByteCode/sycl.cpp
similarity index 100%
rename from clang/test/AST/Interp/sycl.cpp
rename to clang/test/AST/ByteCode/sycl.cpp
diff --git a/clang/test/AST/Interp/unions.cpp b/clang/test/AST/ByteCode/unions.cpp
similarity index 100%
rename from clang/test/AST/Interp/unions.cpp
rename to clang/test/AST/ByteCode/unions.cpp
diff --git a/clang/test/AST/Interp/vectors.cpp b/clang/test/AST/ByteCode/vectors.cpp
similarity index 100%
rename from clang/test/AST/Interp/vectors.cpp
rename to clang/test/AST/ByteCode/vectors.cpp
diff --git a/clang/test/AST/Interp/weak.cpp b/clang/test/AST/ByteCode/weak.cpp
similarity index 100%
rename from clang/test/AST/Interp/weak.cpp
rename to clang/test/AST/ByteCode/weak.cpp
diff --git a/clang/unittests/AST/Interp/CMakeLists.txt b/clang/unittests/AST/ByteCode/CMakeLists.txt
similarity index 100%
rename from clang/unittests/AST/Interp/CMakeLists.txt
rename to clang/unittests/AST/ByteCode/CMakeLists.txt
diff --git a/clang/unittests/AST/Interp/Descriptor.cpp b/clang/unittests/AST/ByteCode/Descriptor.cpp
similarity index 98%
rename from clang/unittests/AST/Interp/Descriptor.cpp
rename to clang/unittests/AST/ByteCode/Descriptor.cpp
index abcf1bb0714cc8..09320d8004b9b7 100644
--- a/clang/unittests/AST/Interp/Descriptor.cpp
+++ b/clang/unittests/AST/ByteCode/Descriptor.cpp
@@ -1,6 +1,6 @@
-#include "../../../lib/AST/Interp/Descriptor.h"
-#include "../../../lib/AST/Interp/Context.h"
-#include "../../../lib/AST/Interp/Program.h"
+#include "../../../lib/AST/ByteCode/Descriptor.h"
+#include "../../../lib/AST/ByteCode/Context.h"
+#include "../../../lib/AST/ByteCode/Program.h"
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/Decl.h"
 #include "clang/ASTMatchers/ASTMatchFinder.h"
diff --git a/clang/unittests/AST/Interp/toAPValue.cpp b/clang/unittests/AST/ByteCode/toAPValue.cpp
similarity index 98%
rename from clang/unittests/AST/Interp/toAPValue.cpp
rename to clang/unittests/AST/ByteCode/toAPValue.cpp
index 5ec607a8243492..3f141878fb9594 100644
--- a/clang/unittests/AST/Interp/toAPValue.cpp
+++ b/clang/unittests/AST/ByteCode/toAPValue.cpp
@@ -1,6 +1,6 @@
-#include "../../../lib/AST/Interp/Context.h"
-#include "../../../lib/AST/Interp/Descriptor.h"
-#include "../../../lib/AST/Interp/Program.h"
+#include "../../../lib/AST/ByteCode/Context.h"
+#include "../../../lib/AST/ByteCode/Descriptor.h"
+#include "../../../lib/AST/ByteCode/Program.h"
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/Decl.h"
 #include "clang/ASTMatchers/ASTMatchFinder.h"



More information about the cfe-commits mailing list