Move compiler_llvm to art::llvm.
Also move the invoke stubs (soon to be removed) under compiler.
Start moving LLVM code under compiler. Will move GBC expander to dex/portable
once it is disentangled from other builds (moving toward solving Bug: 8195425).
Change-Id: I8829f9db6ade9ac8e32bd16198b90f83619769f1
diff --git a/src/compiler/dex/frontend.h b/src/compiler/dex/frontend.h
index 4e65d12..4c906be 100644
--- a/src/compiler/dex/frontend.h
+++ b/src/compiler/dex/frontend.h
@@ -26,7 +26,7 @@
}
namespace art {
-namespace compiler_llvm {
+namespace llvm {
class IntrinsicHelper;
class IRBuilder;
}
@@ -110,27 +110,27 @@
LLVMInfo();
~LLVMInfo();
- llvm::LLVMContext* GetLLVMContext() {
+ ::llvm::LLVMContext* GetLLVMContext() {
return llvm_context_.get();
}
- llvm::Module* GetLLVMModule() {
+ ::llvm::Module* GetLLVMModule() {
return llvm_module_;
}
- art::compiler_llvm::IntrinsicHelper* GetIntrinsicHelper() {
+ art::llvm::IntrinsicHelper* GetIntrinsicHelper() {
return intrinsic_helper_.get();
}
- art::compiler_llvm::IRBuilder* GetIRBuilder() {
+ art::llvm::IRBuilder* GetIRBuilder() {
return ir_builder_.get();
}
private:
- UniquePtr<llvm::LLVMContext> llvm_context_;
- llvm::Module* llvm_module_; // Managed by context_.
- UniquePtr<art::compiler_llvm::IntrinsicHelper> intrinsic_helper_;
- UniquePtr<art::compiler_llvm::IRBuilder> ir_builder_;
+ UniquePtr< ::llvm::LLVMContext> llvm_context_;
+ ::llvm::Module* llvm_module_; // Managed by context_.
+ UniquePtr<art::llvm::IntrinsicHelper> intrinsic_helper_;
+ UniquePtr<art::llvm::IRBuilder> ir_builder_;
};
struct CompilationUnit;