Lines Matching refs:llvm
42 namespace llvm { namespace
44 using ::art::llvm::runtime_support::JniMethodEnd;
45 using ::art::llvm::runtime_support::JniMethodEndSynchronized;
46 using ::art::llvm::runtime_support::JniMethodEndWithReference;
47 using ::art::llvm::runtime_support::JniMethodEndWithReferenceSynchronized;
48 using ::art::llvm::runtime_support::JniMethodStart;
49 using ::art::llvm::runtime_support::JniMethodStartSynchronized;
50 using ::art::llvm::runtime_support::RuntimeId;
70 ::llvm::Value* this_object_or_class_object; in Compile()
78 ::llvm::Function::arg_iterator arg_begin(func_->arg_begin()); in Compile()
79 ::llvm::Function::arg_iterator arg_end(func_->arg_end()); in Compile()
80 ::llvm::Function::arg_iterator arg_iter(arg_begin); in Compile()
84 ::llvm::Value* method_object_addr = arg_iter++; in Compile()
114 ::llvm::StructType* shadow_frame_type = irb_.getShadowFrameTy(handle_scope_size); in Compile()
115 ::llvm::AllocaInst* shadow_frame_ = irb_.CreateAlloca(shadow_frame_type); in Compile()
124 ::llvm::Value* shadow_frame_upcast = irb_.CreateConstGEP2_32(shadow_frame_, 0, 0); in Compile()
125 ::llvm::Value* old_shadow_frame = in Compile()
129 ::llvm::Value* jni_env_object_addr = in Compile()
135 ::llvm::Value* code_addr = in Compile()
143 std::vector< ::llvm::Value*> args; in Compile()
149 ::llvm::Value* gep_index[] = { in Compile()
159 …::llvm::Value* handle_scope_field_addr = irb_.CreateBitCast(irb_.CreateGEP(shadow_frame_, gep_inde… in Compile()
170 …::llvm::Value* handle_scope_field_addr = irb_.CreateBitCast(irb_.CreateGEP(shadow_frame_, gep_inde… in Compile()
175 ::llvm::Value* equal_null = irb_.CreateICmpEQ(arg_iter, irb_.getJNull()); in Compile()
176 ::llvm::Value* arg = in Compile()
186 ::llvm::Value* saved_local_ref_cookie; in Compile()
190 ::llvm::SmallVector< ::llvm::Value*, 2> args; in Compile()
200 ::llvm::Value* retval = irb_.CreateCall(code_addr, args); in Compile()
209 ::llvm::SmallVector< ::llvm::Value*, 4> args; in Compile()
219 ::llvm::Value* decoded_jobject = in Compile()
265 ::llvm::FunctionType* func_type = in CreateFunction()
269 func_ = ::llvm::Function::Create(func_type, ::llvm::Function::InternalLinkage, in CreateFunction()
273 ::llvm::BasicBlock* basic_block = ::llvm::BasicBlock::Create(*context_, "B0", func_); in CreateFunction()
280 ::llvm::FunctionType* JniCompiler::GetFunctionType(uint32_t method_idx, in GetFunctionType()
288 ::llvm::Type* ret_type = NULL; in GetFunctionType()
303 std::vector< ::llvm::Type*> args_type; in GetFunctionType()
317 return ::llvm::FunctionType::get(ret_type, args_type, false); in GetFunctionType()