/art/compiler/llvm/ |
H A D | llvm_compilation_unit.h | 63 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 D | llvm_compilation_unit.cc | 103 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 D | runtime_support_builder_arm.cc | 87 FunctionType* func_ty = FunctionType::get(/*Result=*/Type::getVoidTy(context_), 111 FunctionType* func_ty = FunctionType::get(/*Result=*/Type::getVoidTy(context_),
|
H A D | runtime_support_builder.h | 85 ::llvm::LLVMContext& context_; member in class:art::llvm::RuntimeSupportBuilder
|
H A D | runtime_support_builder_x86.cc | 68 FunctionType* func_ty = FunctionType::get(/*Result=*/Type::getVoidTy(context_),
|
H A D | runtime_support_builder.cc | 42 : 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 D | gbc_expander.cc | 126 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 D | quick_exception_handler.cc | 35 : 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 D | quick_exception_handler.h | 86 Context* const context_; member in class:art::QuickExceptionHandler
|
H A D | stack.cc | 94 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 D | stack.h | 757 Context* const context_; member in class:art::StackVisitor
|
H A D | thread.cc | 1996 if (context_ != nullptr) {
|
/art/compiler/jni/portable/ |
H A D | jni_compiler.h | 73 ::llvm::LLVMContext* context_; member in class:art::llvm::JniCompiler
|
H A D | jni_compiler.cc | 56 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 D | code_gen.h | 32 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 D | code_gen.cc | 35 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 D | mir_to_gbc.h | 61 context_(NULL), 184 ::llvm::LLVMContext* context_; member in class:art::MirConverter
|
H A D | mir_to_gbc.cc | 131 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",
|