]> granicus.if.org Git - llvm/commitdiff
[Orc] Rename OrcTargetSupport to OrcArchitectureSupport to avoid confusion with
authorLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 00:56:15 +0000 (00:56 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 00:56:15 +0000 (00:56 +0000)
the upcoming remote-target support classes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257302 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
include/llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h [moved from include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h with 90% similarity]
lib/ExecutionEngine/Orc/CMakeLists.txt
lib/ExecutionEngine/Orc/OrcArchitectureSupport.cpp [moved from lib/ExecutionEngine/Orc/OrcTargetSupport.cpp with 98% similarity]
lib/ExecutionEngine/Orc/OrcCBindingsStack.cpp
tools/lli/OrcLazyJIT.cpp

index d6ee3a846b044afd6d1f606d84706e81d023df58..900fe1af428a0e325f02582e8c4d3ca2e3c31ae0 100644 (file)
@@ -240,8 +240,8 @@ private:
   virtual void anchor();
 };
 
-/// @brief IndirectStubsManager implementation for a concrete target, e.g.
-///        OrcX86_64. (See OrcTargetSupport.h).
+/// @brief IndirectStubsManager implementation for the host architecture, e.g.
+///        OrcX86_64. (See OrcArchitectureSupport.h).
 template <typename TargetT>
 class LocalIndirectStubsManager : public IndirectStubsManager {
 public:
similarity index 90%
rename from include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h
rename to include/llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h
index 246d3e0a9fc63aedc29d04db8f76a497722586e7..ec27b4cc0ea05df8612a6ae9fd196651f88bf1c0 100644 (file)
@@ -1,4 +1,4 @@
-//===-- OrcTargetSupport.h - Code to support specific targets  --*- C++ -*-===//
+//===-- OrcArchitectureSupport.h - Architecture support code  ---*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,16 +7,16 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// Target specific code for Orc, e.g. callback assembly.
+// Architecture specific code for Orc, e.g. callback assembly.
 //
-// Target classes should be part of the JIT *target* process, not the host
+// Architecture classes should be part of the JIT *target* process, not the host
 // process (except where you're doing hosted JITing and the two are one and the
 // same).
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
-#define LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
+#ifndef LLVM_EXECUTIONENGINE_ORC_ORCARCHITECTURESUPPORT_H
+#define LLVM_EXECUTIONENGINE_ORC_ORCARCHITECTURESUPPORT_H
 
 #include "IndirectionUtils.h"
 #include "llvm/Support/Memory.h"
@@ -100,4 +100,4 @@ public:
 } // End namespace orc.
 } // End namespace llvm.
 
-#endif // LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
+#endif // LLVM_EXECUTIONENGINE_ORC_ORCARCHITECTURESUPPORT_H
index 6e10dbc2ab6d44d52acb1fb9ce7f29ed4a3e24f4..f145be5b688ee77ce50381d0f2d15c9025224674 100644 (file)
@@ -2,11 +2,11 @@ add_llvm_library(LLVMOrcJIT
   ExecutionUtils.cpp
   IndirectionUtils.cpp
   NullResolver.cpp
+  OrcArchitectureSupport.cpp
   OrcCBindings.cpp
   OrcCBindingsStack.cpp
   OrcError.cpp
   OrcMCJITReplacement.cpp
-  OrcTargetSupport.cpp
 
   ADDITIONAL_HEADER_DIRS
   ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
similarity index 98%
rename from lib/ExecutionEngine/Orc/OrcTargetSupport.cpp
rename to lib/ExecutionEngine/Orc/OrcArchitectureSupport.cpp
index b931f10b9d7844c679931d4208272091dc2ee8e8..01e829f7909e7f5f5cd3708f00f7de7ddcf58d4b 100644 (file)
@@ -1,4 +1,4 @@
-//===------- OrcTargetSupport.cpp - Target support utilities for Orc ------===//
+//===------ OrcArchSupport.cpp - Architecture specific support code -------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/ADT/Triple.h"
-#include "llvm/ExecutionEngine/Orc/OrcTargetSupport.h"
+#include "llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h"
 #include "llvm/Support/Process.h"
 #include <array>
 
index e519c7f30920628e835be8aefac3be4e5761cf9d..956daae372daabfba3a4da382705ce9dfd67addd 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "OrcCBindingsStack.h"
 
-#include "llvm/ExecutionEngine/Orc/OrcTargetSupport.h"
+#include "llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/DynamicLibrary.h"
 #include <cstdio>
index 4235145ee7a5fdba1c3ead02afc95f9f92fe0ac4..7f483f742b80da03e0fe71bd64c9a847db6e0475 100644 (file)
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "OrcLazyJIT.h"
-#include "llvm/ExecutionEngine/Orc/OrcTargetSupport.h"
+#include "llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/DynamicLibrary.h"
 #include <cstdio>