Lines Matching refs:art
40 namespace art { namespace
66 art::llvm::InitialBackendOptions(); in InitializeLLVM()
69 if (art::kIsTargetBuild) { in InitializeLLVM()
105 namespace art { namespace
178 static art::llvm::CompilerLLVM* ContextOf(art::CompilerDriver* driver) { in ContextOf()
181 return reinterpret_cast<art::llvm::CompilerLLVM*>(compiler_context); in ContextOf()
184 static art::llvm::CompilerLLVM* ContextOf(const art::CompilerDriver& driver) { in ContextOf()
187 return reinterpret_cast<art::llvm::CompilerLLVM*>(compiler_context); in ContextOf()
190 extern "C" void ArtInitCompilerContext(art::CompilerDriver* driver) { in ArtInitCompilerContext()
193 art::llvm::CompilerLLVM* compiler_llvm = new art::llvm::CompilerLLVM(driver, in ArtInitCompilerContext()
199 extern "C" void ArtUnInitCompilerContext(art::CompilerDriver* driver) { in ArtUnInitCompilerContext()
203 extern "C" art::CompiledMethod* ArtCompileMethod(art::CompilerDriver* driver, in ArtCompileMethod()
204 const art::DexFile::CodeItem* code_item, in ArtCompileMethod()
206 art::InvokeType invoke_type, in ArtCompileMethod()
210 const art::DexFile& dex_file) { in ArtCompileMethod()
212 art::ClassLinker *class_linker = art::Runtime::Current()->GetClassLinker(); in ArtCompileMethod()
214 art::DexCompilationUnit dex_compilation_unit( in ArtCompileMethod()
217 art::llvm::CompilerLLVM* compiler_llvm = ContextOf(driver); in ArtCompileMethod()
218 art::CompiledMethod* result = compiler_llvm->CompileDexMethod(&dex_compilation_unit, invoke_type); in ArtCompileMethod()
222 extern "C" art::CompiledMethod* ArtLLVMJniCompileMethod(art::CompilerDriver* driver, in ArtLLVMJniCompileMethod()
224 const art::DexFile& dex_file) { in ArtLLVMJniCompileMethod()
225 art::ClassLinker *class_linker = art::Runtime::Current()->GetClassLinker(); in ArtLLVMJniCompileMethod()
227 art::DexCompilationUnit dex_compilation_unit( in ArtLLVMJniCompileMethod()
231 art::llvm::CompilerLLVM* compiler_llvm = ContextOf(driver); in ArtLLVMJniCompileMethod()
232 art::CompiledMethod* result = compiler_llvm->CompileNativeMethod(&dex_compilation_unit); in ArtLLVMJniCompileMethod()
236 extern "C" void compilerLLVMSetBitcodeFileName(const art::CompilerDriver& driver, in compilerLLVMSetBitcodeFileName()