Searched refs:context_ (Results 1 - 18 of 18) sorted by relevance

/art/compiler/llvm/
H A Dllvm_compilation_unit.h63 return context_.get();
109 std::unique_ptr< ::llvm::LLVMContext> context_; member in class:art::llvm::LlvmCompilationUnit
112 ::llvm::Module* module_; // Managed by context_
H A Dllvm_compilation_unit.cc103 context_.reset(llvm_info_->GetLLVMContext());
110 intrinsic_helper_.reset(new IntrinsicHelper(*context_, *module_));
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_));
134 ::llvm::LLVMContext* llvm_context = context_.release(); // Managed by llvm_info_
H A Druntime_support_builder_arm.cc87 FunctionType* func_ty = FunctionType::get(/*Result=*/Type::getVoidTy(context_),
111 FunctionType* func_ty = FunctionType::get(/*Result=*/Type::getVoidTy(context_),
H A Druntime_support_builder.h85 ::llvm::LLVMContext& context_; member in class:art::llvm::RuntimeSupportBuilder
H A Druntime_support_builder_x86.cc68 FunctionType* func_ty = FunctionType::get(/*Result=*/Type::getVoidTy(context_),
H A Druntime_support_builder.cc42 : context_(context), module_(module), irb_(irb) {
179 BasicBlock* bb_mark_gc_card = BasicBlock::Create(context_, "mark_gc_card", parent_func);
180 BasicBlock* bb_cont = BasicBlock::Create(context_, "mark_gc_card_cont", parent_func);
H A Dgbc_expander.cc126 llvm::LLVMContext& context_; member in class:__anon21::GBCExpanderPass
410 context_(irb.getContext()), rtb_(irb.Runtime()),
685 llvm::BasicBlock::Create(context_, "stack_overflow", func);
688 llvm::BasicBlock::Create(context_, "stack_overflow_cont", func);
1265 llvm::BasicBlock* eq_neg_one = llvm::BasicBlock::Create(context_, "", parent);
1266 llvm::BasicBlock* ne_neg_one = llvm::BasicBlock::Create(context_, "", parent);
1268 llvm::BasicBlock::Create(context_, "", parent);
2700 return llvm::BasicBlock::Create(context_, name, func_);
2762 block_lpad = llvm::BasicBlock::Create(context_, lpadname, func_);
2806 llvm::BasicBlock::Create(context_, "exception_unwin
[all...]
/art/runtime/
H A Dquick_exception_handler.cc35 : self_(self), context_(self->GetLongJumpContext()), is_deoptimization_(is_deoptimization),
130 CatchBlockStackVisitor visitor(self_, context_, &exception_ref, this);
291 DeoptimizeStackVisitor visitor(self_, context_, this);
350 self_->ReleaseLongJumpContext(context_);
351 context_->SetSP(reinterpret_cast<uintptr_t>(handler_quick_frame_));
353 context_->SetPC(handler_quick_frame_pc_);
354 context_->SmashCallerSaves();
355 context_->DoLongJump();
H A Dquick_exception_handler.h86 Context* const context_; member in class:art::QuickExceptionHandler
H A Dstack.cc94 context_(context) {
101 context_(context) {
157 DCHECK(context_ != nullptr); // You can't reliably read registers without a context.
211 DCHECK(context_ != nullptr); // You can't reliably read registers without a context.
258 DCHECK(context_ != nullptr); // You can't reliably write registers without a context.
322 DCHECK(context_ != nullptr); // You can't reliably write registers without a context.
376 return context_->GetGPRAddress(reg);
381 return context_->GetGPR(reg, val);
386 return context_->SetGPR(reg, value);
391 return context_
[all...]
H A Dstack.h757 Context* const context_; member in class:art::StackVisitor
H A Dthread.cc1996 if (context_ != nullptr) {
/art/compiler/jni/portable/
H A Djni_compiler.h73 ::llvm::LLVMContext* context_; member in class:art::llvm::JniCompiler
H A Djni_compiler.cc56 context_(cunit_->GetLLVMContext()), irb_(*cunit_->GetIRBuilder()),
273 ::llvm::BasicBlock* basic_block = ::llvm::BasicBlock::Create(*context_, "B0", func_);
/art/compiler/sea_ir/code_gen/
H A Dcode_gen.h32 explicit CodeGenData(): context_(&llvm::getGlobalContext()), module_("sea_ir", *context_),
33 builder_(*context_), function_(), blocks_(), values_() { }
74 llvm::LLVMContext* const context_; member in class:sea_ir::CodeGenData::llvm
H A Dcode_gen.cc35 llvm::Type::getInt32Ty(*llvm_data_->context_), predecessors->size(), phi->StringId());
72 parameter_types.push_back(llvm::Type::getInt32Ty(*llvm_data_->context_));
80 llvm::Type::getInt32Ty(*llvm_data_->context_),
101 llvm::BasicBlock* new_basic_block = llvm::BasicBlock::Create(*llvm_data_->context_,
127 llvm::ConstantInt::get(*llvm_data_->context_, llvm::APInt(32, instruction->GetConstValue())));
134 llvm::ConstantInt::get(*llvm_data_->context_, llvm::APInt(32, instruction->GetConstValue())));
170 llvm::Value* right = llvm::ConstantInt::get(*llvm_data->context_,
190 llvm::Value* right = llvm::ConstantInt::get(*llvm_data_->context_, llvm::APInt(32, 0));
207 parameter_values.push_back(llvm::ConstantInt::get(*llvm_data_->context_, llvm::APInt(32, 0)));
246 llvm::ConstantInt::get(*llvm_data_->context_, llv
[all...]
/art/compiler/dex/portable/
H A Dmir_to_gbc.h61 context_(NULL),
184 ::llvm::LLVMContext* context_; member in class:art::MirConverter
H A Dmir_to_gbc.cc131 context_ = llvm_info_->GetLLVMContext();
161 ::llvm::MDNode::get(*context_, irb_->getInt32(table_offset));
188 ::llvm::MDNode::get(*context_, irb_->getInt32(table_offset));
1526 ::llvm::MDNode* node = ::llvm::MDNode::get(*context_, array_ref);
1544 ::llvm::MDNode* reg_info_node = ::llvm::MDNode::get(*context_, reg_info);
1746 ::llvm::BasicBlock::Create(*context_, "", func_);
1864 ::llvm::BasicBlock::Create(*context_, entry_block ? "entry" :
1870 ::llvm::BasicBlock::Create(*context_, "placeholder",

Completed in 415 milliseconds