Home
last modified time | relevance | path

Searched refs:branch_info (Results 1 – 13 of 13) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dhist.c102 if (h->branch_info) { in hists__calc_col_len()
103 if (h->branch_info->from.sym) { in hists__calc_col_len()
104 symlen = (int)h->branch_info->from.sym->namelen + 4; in hists__calc_col_len()
109 symlen = dso__name_len(h->branch_info->from.map->dso); in hists__calc_col_len()
117 if (h->branch_info->to.sym) { in hists__calc_col_len()
118 symlen = (int)h->branch_info->to.sym->namelen + 4; in hists__calc_col_len()
123 symlen = dso__name_len(h->branch_info->to.map->dso); in hists__calc_col_len()
287 if (he->branch_info) { in hist_entry__new()
293 he->branch_info = malloc(sizeof(*he->branch_info)); in hist_entry__new()
294 if (he->branch_info == NULL) { in hist_entry__new()
[all …]
Dsort.c353 return _sort__dso_cmp(left->branch_info->from.map, in sort__dso_from_cmp()
354 right->branch_info->from.map); in sort__dso_from_cmp()
360 return _hist_entry__dso_snprintf(self->branch_info->from.map, in hist_entry__dso_from_snprintf()
367 return _sort__dso_cmp(left->branch_info->to.map, in sort__dso_to_cmp()
368 right->branch_info->to.map); in sort__dso_to_cmp()
374 return _hist_entry__dso_snprintf(self->branch_info->to.map, in hist_entry__dso_to_snprintf()
381 struct addr_map_symbol *from_l = &left->branch_info->from; in sort__sym_from_cmp()
382 struct addr_map_symbol *from_r = &right->branch_info->from; in sort__sym_from_cmp()
393 struct addr_map_symbol *to_l = &left->branch_info->to; in sort__sym_to_cmp()
394 struct addr_map_symbol *to_r = &right->branch_info->to; in sort__sym_to_cmp()
[all …]
Dsort.h107 struct branch_info *branch_info; member
Dmachine.h83 struct branch_info *machine__resolve_bstack(struct machine *machine,
Dsymbol.h153 struct branch_info { struct
Dhist.h96 struct branch_info *bi,
Dmachine.c1247 struct branch_info *machine__resolve_bstack(struct machine *machine, in machine__resolve_bstack()
1251 struct branch_info *bi; in machine__resolve_bstack()
1254 bi = calloc(bs->nr, sizeof(struct branch_info)); in machine__resolve_bstack()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_branches.c44 struct branch_info { struct
52 struct branch_info * Branches; argument
60 struct branch_info * branch; in handle_if()
63 memory_pool_array_reserve(&s->C->Pool, struct branch_info, in handle_if()
69 memset(branch, 0, sizeof(struct branch_info)); in handle_if()
90 struct branch_info * branch; in handle_else()
199 struct branch_info * branch; in handle_endif()
Dr500_fragprog_emit.c57 struct branch_info { struct
80 struct branch_info * Branches; argument
463 struct branch_info * branch; in emit_flowcontrol()
546 memory_pool_array_reserve(&s->C->Pool, struct branch_info, in emit_flowcontrol()
/external/vixl/src/vixl/a64/
Dmacro-assembler-a64.cc148 BranchInfo branch_info = BranchInfo(branch_pos, label, branch_type); in RegisterUnresolvedBranch() local
149 unresolved_branches_.insert(branch_info); in RegisterUnresolvedBranch()
170 BranchInfo branch_info(link_offset, label, link->BranchType()); in DeleteUnresolvedBranchInfoForLabel() local
171 unresolved_branches_.erase(branch_info); in DeleteUnresolvedBranchInfoForLabel()
219 BranchInfo* branch_info = it.Current(); in Emit() local
220 if (ShouldEmitVeneer(branch_info->max_reachable_pc_, in Emit()
223 ptrdiff_t branch_pos = branch_info->pc_offset_; in Emit()
225 Label* label = branch_info->label_; in Emit()
Dmacro-assembler-a64.h298 void insert(BranchInfo branch_info) { in insert() argument
299 ImmBranchType type = branch_info.branch_type_; in insert()
301 typed_set_[BranchIndexFromType(type)].insert(branch_info); in insert()
304 void erase(BranchInfo branch_info) { in erase() argument
305 if (IsValidBranchType(branch_info.branch_type_)) { in erase()
307 BranchInfoSet::BranchIndexFromType(branch_info.branch_type_); in erase()
308 typed_set_[index].erase(branch_info); in erase()
467 const VeneerPool::BranchInfo& branch_info) { in Key() argument
468 return branch_info.max_reachable_pc_; in Key()
477 VeneerPool::BranchInfo* branch_info, ptrdiff_t key) { in SetKey() argument
[all …]
/external/linux-tools-perf/src/tools/perf/ui/browsers/
Dhists.c1394 struct branch_info *bi; in perf_evsel__hists_browse()
1550 bi = browser->he_selection->branch_info; in perf_evsel__hists_browse()
1648 he->ms.sym = he->branch_info->from.sym; in perf_evsel__hists_browse()
1649 he->ms.map = he->branch_info->from.map; in perf_evsel__hists_browse()
1651 he->ms.sym = he->branch_info->to.sym; in perf_evsel__hists_browse()
1652 he->ms.map = he->branch_info->to.map; in perf_evsel__hists_browse()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-report.c177 struct branch_info *bi, *bx; in perf_report__add_branch_hist_entry()
206 bx = he->branch_info; in perf_report__add_branch_hist_entry()