/art/compiler/dex/ |
D | vreg_analysis.cc | 467 int s_reg = num_regs - num_ins; in InitRegLocations() local 470 reg_location_[s_reg].defined = true; in InitRegLocations() 471 reg_location_[s_reg].ref = true; in InitRegLocations() 472 s_reg++; in InitRegLocations() 479 reg_location_[s_reg].wide = true; in InitRegLocations() 480 reg_location_[s_reg+1].high_word = true; in InitRegLocations() 481 reg_location_[s_reg+1].fp = true; in InitRegLocations() 482 DCHECK_EQ(SRegToVReg(s_reg)+1, SRegToVReg(s_reg+1)); in InitRegLocations() 483 reg_location_[s_reg].fp = true; in InitRegLocations() 484 reg_location_[s_reg].defined = true; in InitRegLocations() [all …]
|
D | local_value_numbering.h | 47 uint16_t GetSRegValueName(uint16_t s_reg) const { in GetSRegValueName() argument 48 return GetOperandValue(s_reg); in GetSRegValueName() 59 bool IsSregValue(uint16_t s_reg, uint16_t value_name) const { in IsSregValue() argument 60 auto it = sreg_value_map_.find(s_reg); in IsSregValue() 64 return gvn_->HasValue(kNoValue, s_reg, kNoValue, kNoValue, value_name); in IsSregValue() 105 void SetOperandValueImpl(uint16_t s_reg, uint16_t value, SregValueMap* map) { in SetOperandValueImpl() argument 106 DCHECK_EQ(map->count(s_reg), 0u) << PrettyMethod(gvn_->cu_->method_idx, *gvn_->cu_->dex_file) in SetOperandValueImpl() 107 << " LVN id: " << id_ << ", s_reg: " << s_reg; in SetOperandValueImpl() 108 map->Put(s_reg, value); in SetOperandValueImpl() 111 uint16_t GetOperandValueImpl(int s_reg, const SregValueMap* map) const { in GetOperandValueImpl() argument [all …]
|
D | global_value_numbering.cc | 128 int s_reg = pred_bb->last_mir_insn->ssa_rep->uses[0]; in PrepareBasicBlock() local 129 uint16_t value_name = merge_lvns_[0]->GetSRegValueName(s_reg); in PrepareBasicBlock() 208 int s_reg = pred_bb->last_mir_insn->ssa_rep->uses[0]; in NullCheckedInAllPredecessors() local 209 if (!pred_lvn->IsSregValue(s_reg, value_name)) { in NullCheckedInAllPredecessors()
|
D | mir_graph.h | 709 bool IsConst(int32_t s_reg) const { in IsConst() argument 710 return is_constant_v_->IsBitSet(s_reg); in IsConst() 722 int32_t ConstantValue(int32_t s_reg) const { in ConstantValue() argument 723 DCHECK(IsConst(s_reg)); in ConstantValue() 724 return constant_values_[s_reg]; in ConstantValue() 1121 int GetSSAUseCount(int s_reg);
|
D | mir_dataflow.cc | 1329 int s_reg = mir->ssa_rep->uses[i]; in CountUses() local 1330 raw_use_counts_.Increment(s_reg); in CountUses() 1331 use_counts_.Put(s_reg, use_counts_.Get(s_reg) + weight); in CountUses()
|
D | local_value_numbering.cc | 1051 int s_reg = uses[pos]; in HandlePhi() local 1053 value_name = wide ? lvn->GetOperandValueWide(s_reg) : lvn->GetOperandValue(s_reg); in HandlePhi()
|
D | mir_optimization.cc | 230 int MIRGraph::GetSSAUseCount(int s_reg) { in GetSSAUseCount() argument 231 return raw_use_counts_.Get(s_reg); in GetSSAUseCount()
|
/art/compiler/dex/quick/ |
D | ralloc_util.cc | 220 void Mir2Lir::ClobberSReg(int s_reg) { in ClobberSReg() argument 221 if (s_reg != INVALID_SREG) { in ClobberSReg() 222 if (kIsDebugBuild && s_reg == live_sreg_) { in ClobberSReg() 227 if (info->SReg() == s_reg) { in ClobberSReg() 251 int Mir2Lir::SRegToPMap(int s_reg) { in SRegToPMap() argument 252 DCHECK_LT(s_reg, mir_graph_->GetNumSSARegs()); in SRegToPMap() 253 DCHECK_GE(s_reg, 0); in SRegToPMap() 254 int v_reg = mir_graph_->SRegToVReg(s_reg); in SRegToPMap() 272 void Mir2Lir::RecordCorePromotion(RegStorage reg, int s_reg) { in RecordCorePromotion() argument 273 int p_map_idx = SRegToPMap(s_reg); in RecordCorePromotion() [all …]
|
D | mir_to_lir.h | 257 int s_reg; member 363 void MarkLive(int s_reg) { in MarkLive() argument 365 s_reg_ = s_reg; in MarkLive() 729 bool LiveOut(int s_reg); 739 void ClobberSReg(int s_reg); 741 int SRegToPMap(int s_reg); 742 void RecordCorePromotion(RegStorage reg, int s_reg); 743 RegStorage AllocPreservedCoreReg(int s_reg); 744 void RecordFpPromotion(RegStorage reg, int s_reg); 745 RegStorage AllocPreservedFpReg(int s_reg); [all …]
|
/art/compiler/dex/portable/ |
D | mir_to_gbc.h | 87 ::llvm::Value* GetLLVMValue(int s_reg); 88 void SetVregOnValue(::llvm::Value* val, int s_reg); 89 void DefineValueOnly(::llvm::Value* val, int s_reg); 90 void DefineValue(::llvm::Value* val, int s_reg);
|
D | mir_to_gbc.cc | 66 ::llvm::Value* MirConverter::GetLLVMValue(int s_reg) { in GetLLVMValue() argument 67 return llvm_values_.Get(s_reg); in GetLLVMValue() 70 void MirConverter::SetVregOnValue(::llvm::Value* val, int s_reg) { in SetVregOnValue() argument 74 int v_reg = mir_graph_->SRegToVReg(s_reg); in SetVregOnValue() 81 void MirConverter::DefineValueOnly(::llvm::Value* val, int s_reg) { in DefineValueOnly() argument 82 ::llvm::Value* placeholder = GetLLVMValue(s_reg); in DefineValueOnly() 90 llvm_values_.Put(s_reg, val); in DefineValueOnly() 96 void MirConverter::DefineValue(::llvm::Value* val, int s_reg) { in DefineValue() argument 97 DefineValueOnly(val, s_reg); in DefineValue() 98 SetVregOnValue(val, s_reg); in DefineValue()
|
/art/compiler/dex/quick/arm/ |
D | target_arm.cc | 759 RegStorage ArmMir2Lir::AllocPreservedDouble(int s_reg) { in AllocPreservedDouble() argument 761 int v_reg = mir_graph_->SRegToVReg(s_reg); in AllocPreservedDouble() 762 int p_map_idx = SRegToPMap(s_reg); in AllocPreservedDouble() 809 RegStorage ArmMir2Lir::AllocPreservedSingle(int s_reg) { in AllocPreservedSingle() argument 815 int p_map_idx = SRegToPMap(s_reg); in AllocPreservedSingle() 816 int v_reg = mir_graph_->SRegToVReg(s_reg); in AllocPreservedSingle()
|
D | codegen_arm.h | 177 RegStorage AllocPreservedDouble(int s_reg); 178 RegStorage AllocPreservedSingle(int s_reg);
|