/art/compiler/llvm/ |
runtime_support_builder.cc | 42 : context_(context), module_(module), irb_(irb) { 59 CallInst* call_inst = irb_.CreateCall(func); 61 irb_.SetTBAA(call_inst, kTBAAConstJObject); 68 return irb_.LoadFromObjectOffset(thread, offset, type, s_ty); 74 irb_.StoreToObjectOffset(thread, offset, value, s_ty); 79 return irb_.CreateCall(func, thread); 89 irb_.getArtFrameTy()->getPointerTo(), 96 irb_.StoreToObjectOffset(new_shadow_frame, 102 irb_.StoreToObjectOffset(new_shadow_frame, 104 irb_.getInt32(num_vregs) [all...] |
gbc_expander.cc | 124 IRBuilder& irb_; member in class:__anon22::GBCExpanderPass 409 : llvm::FunctionPass(ID), intrinsic_helper_(intrinsic_helper), irb_(irb), 489 irb_.SetInsertPoint(inst_iter); 501 llvm::BasicBlock* next_basic_block = irb_.GetInsertBlock(); 504 irb_.GetInsertPoint(), curr_basic_block->getInstList(), 524 irb_.SetInsertPoint(bb_iter); 532 llvm::BasicBlock* last_block = irb_.GetInsertBlock(); 550 irb_.SetInsertPoint(lbb->begin()); 573 llvm::PHINode* new_phi = irb_.CreatePHI(phi->getType(), rewrite_pair.size()); 649 return irb_.CreateCall(irb_.GetRuntime(rt)) [all...] |
runtime_support_builder_arm.cc | 65 CallInst* thread = irb_.CreateCall(func); 67 irb_.SetTBAA(thread, kTBAAConstJObject); 76 LDRSTRSuffixByType(irb_, type), 79 CallInst* result = irb_.CreateCall(func); 81 irb_.SetTBAA(result, s_ty); 91 LDRSTRSuffixByType(irb_, value->getType()), 94 CallInst* call_inst = irb_.CreateCall(func, value); 95 irb_.SetTBAA(call_inst, s_ty); 108 CallInst* old_thread_register = irb_.CreateCall(func); 112 /*Params=*/irb_.getJObjectTy() [all...] |
runtime_support_builder_x86.cc | 48 CallInst* thread = irb_.CreateCall(func); 50 irb_.SetTBAA(thread, kTBAAConstJObject); 60 CallInst* result = irb_.CreateCall(func); 62 irb_.SetTBAA(result, s_ty); 73 CallInst* call_inst = irb_.CreateCall(func, value); 74 irb_.SetTBAA(call_inst, s_ty); 79 return UndefValue::get(irb_.getJObjectTy());
|
llvm_compilation_unit.h | 71 return irb_.get(); 110 std::unique_ptr<IRBuilder> irb_; member in class:art::llvm::LlvmCompilationUnit
|
llvm_compilation_unit.cc | 113 irb_.reset(new IRBuilder(*context_, *module_, *intrinsic_helper_)); 118 runtime_support_.reset(new RuntimeSupportBuilder(*context_, *module_, *irb_)); 122 runtime_support_.reset(new RuntimeSupportBuilderARM(*context_, *module_, *irb_)); 125 runtime_support_.reset(new RuntimeSupportBuilderX86(*context_, *module_, *irb_)); 129 irb_->SetRuntimeSupport(runtime_support_.get()); 240 fpm.add(CreateGBCExpanderPass(*llvm_info_->GetIntrinsicHelper(), *irb_.get(), 244 fpm2.add(CreateGBCExpanderPass(*llvm_info_->GetIntrinsicHelper(), *irb_.get(),
|
runtime_support_builder.h | 87 IRBuilder& irb_; member in class:art::llvm::RuntimeSupportBuilder
|
/art/compiler/jni/portable/ |
jni_compiler.cc | 56 context_(cunit_->GetLLVMContext()), irb_(*cunit_->GetIRBuilder()), 92 irb_.LoadFromObjectOffset(method_object_addr, 94 irb_.getJObjectTy(), 108 if (arg_iter->getType() == irb_.getJObjectTy()) { 114 ::llvm::StructType* shadow_frame_type = irb_.getShadowFrameTy(handle_scope_size); 115 ::llvm::AllocaInst* shadow_frame_ = irb_.CreateAlloca(shadow_frame_type); 118 irb_.StoreToObjectOffset(shadow_frame_, 120 irb_.getInt32(DexFile::kDexNoIndex), 124 ::llvm::Value* shadow_frame_upcast = irb_.CreateConstGEP2_32(shadow_frame_, 0, 0); 126 irb_.Runtime().EmitPushShadowFrame(shadow_frame_upcast, method_object_addr, handle_scope_size) [all...] |
jni_compiler.h | 74 IRBuilder& irb_; member in class:art::llvm::JniCompiler
|
/art/compiler/dex/portable/ |
mir_to_gbc.cc | 75 ::llvm::Value* table_slot = irb_->getInt32(v_reg); 77 irb_->CreateCall(func, args); 105 res = irb_->getDoubleTy(); 107 res = irb_->getInt64Ty(); 110 res = irb_->getFloatTy(); 113 res = irb_->getJObjectTy(); 115 res = irb_->getInt32Ty(); 134 irb_ = llvm_info_->GetIRBuilder(); 152 irb_->CreateSwitch(value, GetLLVMBlock(bb->fall_through), 158 sw->addCase(irb_->getInt32(payload->first_key + i), llvm_bb) [all...] |
mir_to_gbc.h | 65 irb_(NULL), 188 art::llvm::IRBuilder* irb_; member in class:art::MirConverter
|