HomeSort by relevance Sort by last modified time
    Searched full:irb_ (Results 1 - 12 of 12) sorted by null

  /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 123 IRBuilder& irb_; member in class:__anon11::GBCExpanderPass
412 : llvm::FunctionPass(ID), intrinsic_helper_(intrinsic_helper), irb_(irb),
492 irb_.SetInsertPoint(inst_iter);
504 llvm::BasicBlock* next_basic_block = irb_.GetInsertBlock();
507 irb_.GetInsertPoint(), curr_basic_block->getInstList(),
527 irb_.SetInsertPoint(bb_iter);
535 llvm::BasicBlock* last_block = irb_.GetInsertBlock();
553 irb_.SetInsertPoint(lbb->begin());
576 llvm::PHINode* new_phi = irb_.CreatePHI(phi->getType(), rewrite_pair.size());
652 return irb_.CreateCall(irb_.GetRuntime(rt))
    [all...]
runtime_support_builder_thumb2.cc 46 FunctionType* func_ty = FunctionType::get(/*Result=*/irb_.getInt32Ty(),
47 /*Params=*/irb_.getJObjectTy(),
66 Value* retry_slow_path = irb_.CreateCall(func, object);
67 retry_slow_path = irb_.CreateICmpNE(retry_slow_path, irb_.getJInt(0));
69 Function* parent_func = irb_.GetInsertBlock()->getParent();
72 irb_.CreateCondBr(retry_slow_path, basic_block_lock, basic_block_cont, kUnlikely);
74 irb_.SetInsertPoint(basic_block_lock);
76 irb_.CreateCall2(slow_func, object, EmitGetCurrentThread());
77 irb_.CreateBr(basic_block_cont)
    [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());
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...]
llvm_compilation_unit.cc 114 irb_.reset(new IRBuilder(*context_, *module_, *intrinsic_helper_));
119 runtime_support_.reset(new RuntimeSupportBuilder(*context_, *module_, *irb_));
122 runtime_support_.reset(new RuntimeSupportBuilderARM(*context_, *module_, *irb_));
125 runtime_support_.reset(new RuntimeSupportBuilderThumb2(*context_, *module_, *irb_));
128 runtime_support_.reset(new RuntimeSupportBuilderX86(*context_, *module_, *irb_));
132 irb_->SetRuntimeSupport(runtime_support_.get());
242 fpm.add(CreateGBCExpanderPass(*llvm_info_->GetIntrinsicHelper(), *irb_.get(),
246 fpm2.add(CreateGBCExpanderPass(*llvm_info_->GetIntrinsicHelper(), *irb_.get(),
llvm_compilation_unit.h 71 return irb_.get();
110 UniquePtr<IRBuilder> irb_; member in class:art::llvm::LlvmCompilationUnit
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(sirt_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, sirt_size)
    [all...]
jni_compiler.h 74 IRBuilder& irb_; member in class:art::llvm::JniCompiler
  /art/compiler/dex/portable/
mir_to_gbc.cc 58 ::llvm::Value* table_slot = irb_->getInt32(v_reg);
60 irb_->CreateCall(func, args);
88 res = irb_->getDoubleTy();
90 res = irb_->getInt64Ty();
93 res = irb_->getFloatTy();
96 res = irb_->getJObjectTy();
98 res = irb_->getInt32Ty();
117 irb_ = llvm_info_->GetIRBuilder();
135 irb_->CreateSwitch(value, GetLLVMBlock(bb->fall_through->id),
141 sw->addCase(irb_->getInt32(payload->first_key + i), llvm_bb)
    [all...]
mir_to_gbc.h 58 irb_(NULL),
181 art::llvm::IRBuilder* irb_; member in class:art::MirConverter

Completed in 179 milliseconds