/third_party/ltp/tools/sparse/sparse-src/ |
D | flow.c | 31 int remove_phisources(struct basic_block *par, struct basic_block *old) in remove_phisources() 70 static int remove_other_phisources(struct basic_block *bb, struct multijmp_list *list, struct basic… in remove_other_phisources() 90 static int rewrite_branch(struct basic_block *bb, in rewrite_branch() 91 struct basic_block **ptr, in rewrite_branch() 92 struct basic_block *old, in rewrite_branch() 93 struct basic_block *new) in rewrite_branch() 134 static int bb_depends_on(struct basic_block *target, struct basic_block *src) in bb_depends_on() 153 static int bb_depends_on_phi(struct basic_block *target, struct basic_block *src) in bb_depends_on_phi() 170 static bool bb_is_forwarder(struct basic_block *bb) in bb_is_forwarder() 196 struct basic_block *bb; in phi_check() [all …]
|
D | flowgraph.c | 23 static void label_postorder(struct basic_block *bb, struct cfg_info *info) in label_postorder() 25 struct basic_block *child; in label_postorder() 41 struct basic_block *bb; in reverse_bbs() 49 struct basic_block *bb; in debug_postorder() 88 static struct basic_block *intersect_dom(struct basic_block *doms[], in intersect_dom() 89 struct basic_block *b1, struct basic_block *b2) in intersect_dom() 107 struct basic_block *bb = ep->entry->bb; in debug_domtree() 119 struct basic_block *entry = ep->entry->bb; in domtree_build() 120 struct basic_block **doms; in domtree_build() 121 struct basic_block *bb; in domtree_build() [all …]
|
D | linearize.h | 68 struct basic_block *target; 94 struct basic_block *bb; 104 struct basic_block *bb_true, *bb_false; 164 struct basic_block { struct 171 struct basic_block *idom; /* link to the immediate dominator */ argument 193 static inline void add_bb(struct basic_block_list **list, struct basic_block *bb) in add_bb() argument 203 static inline void insert_last_instruction(struct basic_block *bb, struct instruction *insn) in insert_last_instruction() 231 static inline int bb_terminated(struct basic_block *bb) in bb_terminated() 241 static inline int bb_reachable(struct basic_block *bb) in bb_reachable() 246 static inline int lookup_bb(struct basic_block_list *list, struct basic_block *bb) in lookup_bb() [all …]
|
D | liveness.c | 17 void (*defines)(struct basic_block *, pseudo_t)) in phi_defines() argument 31 static void asm_liveness(struct basic_block *bb, struct instruction *insn, in asm_liveness() 32 void (*def)(struct basic_block *, pseudo_t), in asm_liveness() argument 33 void (*use)(struct basic_block *, pseudo_t)) in asm_liveness() argument 49 static void track_instruction_usage(struct basic_block *bb, struct instruction *insn, in track_instruction_usage() 50 void (*def)(struct basic_block *, pseudo_t), in track_instruction_usage() argument 51 void (*use)(struct basic_block *, pseudo_t)) in track_instruction_usage() argument 156 static void insn_uses(struct basic_block *bb, pseudo_t pseudo) in insn_uses() 165 static void insn_defines(struct basic_block *bb, pseudo_t pseudo) in insn_defines() 171 static void track_bb_liveness(struct basic_block *bb) in track_bb_liveness() [all …]
|
D | dominate.c | 41 static void bank_put(struct piggy *bank, struct basic_block *bb) in bank_put() 48 static inline struct basic_block *pop_bb(struct basic_block_list **list) in pop_bb() 53 static struct basic_block *bank_get(struct piggy *bank) in bank_get() 57 struct basic_block *bb = pop_bb(&bank->lists[level]); in bank_get() 72 static void visit(struct piggy *bank, struct basic_block_list **idf, struct basic_block *x, int cur… in visit() 74 struct basic_block *y; in visit() 103 struct basic_block *bb; in idf_compute() 131 struct basic_block *bb; in idf_dump() 139 struct basic_block *df; in idf_dump()
|
D | linearize.c | 67 static struct basic_block *alloc_basic_block(struct entrypoint *ep, struct position pos) in alloc_basic_block() 70 struct basic_block *bb = __alloc_basic_block(0); in alloc_basic_block() 77 static struct multijmp *alloc_multijmp(struct basic_block *target, long long begin, long long end) in alloc_multijmp() 86 const char *show_label(struct basic_block *bb) in show_label() 507 void show_bb(struct basic_block *bb) in show_bb() 539 struct basic_block *from; in show_bb() 547 struct basic_block *to; in show_bb() 587 struct basic_block *bb; in show_entry() 629 static void bind_label(struct symbol *label, struct basic_block *bb, struct position pos) in bind_label() 636 static struct basic_block * get_bound_block(struct entrypoint *ep, struct symbol *label) in get_bound_block() [all …]
|
D | sparse.c | 43 static int context_increase(struct basic_block *bb, int entry) in context_increase() 70 static int imbalance(struct entrypoint *ep, struct basic_block *bb, int entry, int exit, const char… in imbalance() 79 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit); 81 static int check_children(struct entrypoint *ep, struct basic_block *bb, int entry, int exit) in check_children() 84 struct basic_block *child; in check_children() 99 static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, int entry, int exit) in check_bb_context() 224 static void check_bb_instructions(struct basic_block *bb) in check_bb_instructions() 236 struct basic_block *bb; in check_instructions()
|
D | ssa.c | 95 static void rewrite_local_var(struct basic_block *bb, pseudo_t addr, int nbr_stores, int nbr_uses) in rewrite_local_var() 135 struct basic_block *samebb = NULL; in ssa_convert_one_var() 136 struct basic_block *bb; in ssa_convert_one_var() 164 struct basic_block *bb = insn->bb; in ssa_convert_one_var() 213 static struct instruction *lookup_var(struct basic_block *bb, struct symbol *var) in lookup_var() 244 static void ssa_rename_insn(struct basic_block *bb, struct instruction *insn) in ssa_rename_insn() 292 struct basic_block *bb; in ssa_rename_insns() 321 struct basic_block *par; in ssa_rename_phi() 374 struct basic_block *bb; in ssa_convert()
|
D | storage.c | 24 static inline unsigned int storage_hash(struct basic_block *bb, pseudo_t pseudo, enum inout_enum in… in storage_hash() 45 struct storage_hash_list *gather_storage(struct basic_block *bb, enum inout_enum inout) in gather_storage() 88 struct storage *lookup_storage(struct basic_block *bb, pseudo_t pseudo, enum inout_enum inout) in lookup_storage() 100 void add_storage(struct storage *storage, struct basic_block *bb, pseudo_t pseudo, enum inout_enum … in add_storage() 215 static void set_up_bb_storage(struct basic_block *bb) in set_up_bb_storage() 217 struct basic_block *child; in set_up_bb_storage() 248 static void set_up_argument_storage(struct entrypoint *ep, struct basic_block *bb) in set_up_argument_storage() 266 struct basic_block *bb; in set_up_storage()
|
D | flow.h | 14 extern int remove_phisources(struct basic_block *par, struct basic_block *old); 23 extern int convert_to_jump(struct instruction *insn, struct basic_block *target); 28 extern void kill_bb(struct basic_block *);
|
D | storage.h | 45 struct basic_block *bb; 54 extern struct storage_hash_list *gather_storage(struct basic_block *, enum inout_enum); 58 struct storage *lookup_storage(struct basic_block *, pseudo_t, enum inout_enum); 59 void add_storage(struct storage *, struct basic_block *, pseudo_t, enum inout_enum);
|
D | flowgraph.h | 11 struct basic_block; 31 bool domtree_dominates(struct basic_block *a, struct basic_block *b);
|
D | memops.c | 57 struct basic_block *bb, struct pseudo_list **dominators, in find_dominating_parents() 60 struct basic_block *parent; in find_dominating_parents() 132 static void simplify_loads(struct basic_block *bb) in simplify_loads() 224 static void kill_dominated_stores(struct basic_block *bb) in kill_dominated_stores() 232 struct basic_block *par; in kill_dominated_stores() 274 struct basic_block *bb; in simplify_memops()
|
/third_party/spirv-tools/source/opt/ |
D | loop_unroller.cpp | 245 void AssignNewResultIds(BasicBlock* basic_block); 255 void RemapOperands(BasicBlock* basic_block); 626 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock() local 627 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock() 630 KillDebugDeclares(basic_block); in CopyBasicBlock() 634 AssignNewResultIds(basic_block); in CopyBasicBlock() 641 merge_inst->SetInOperand(1, {basic_block->id()}); in CopyBasicBlock() 645 state_.new_continue_block = basic_block; in CopyBasicBlock() 650 state_.new_header_block = basic_block; in CopyBasicBlock() 654 Instruction* merge_inst = basic_block->GetLoopMergeInst(); in CopyBasicBlock() [all …]
|
D | wrap_opkill.cpp | 177 for (BasicBlock& basic_block : *(*killing_func)) { in GetKillingFuncId() 178 context()->set_instr_block(basic_block.GetLabelInst(), &basic_block); in GetKillingFuncId() 179 for (Instruction& inst : basic_block) { in GetKillingFuncId() 180 context()->set_instr_block(&inst, &basic_block); in GetKillingFuncId()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | loop_unroller.cpp | 245 void AssignNewResultIds(BasicBlock* basic_block); 255 void RemapOperands(BasicBlock* basic_block); 625 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock() local 626 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock() 629 KillDebugDeclares(basic_block); in CopyBasicBlock() 633 AssignNewResultIds(basic_block); in CopyBasicBlock() 640 merge_inst->SetInOperand(1, {basic_block->id()}); in CopyBasicBlock() 644 state_.new_continue_block = basic_block; in CopyBasicBlock() 649 state_.new_header_block = basic_block; in CopyBasicBlock() 653 Instruction* merge_inst = basic_block->GetLoopMergeInst(); in CopyBasicBlock() [all …]
|
D | wrap_opkill.cpp | 177 for (BasicBlock& basic_block : *(*killing_func)) { in GetKillingFuncId() 178 context()->set_instr_block(basic_block.GetLabelInst(), &basic_block); in GetKillingFuncId() 179 for (Instruction& inst : basic_block) { in GetKillingFuncId() 180 context()->set_instr_block(&inst, &basic_block); in GetKillingFuncId()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | loop_unroller.cpp | 245 void AssignNewResultIds(BasicBlock* basic_block); 255 void RemapOperands(BasicBlock* basic_block); 625 BasicBlock* basic_block = itr->Clone(context_); in CopyBasicBlock() local 626 basic_block->SetParent(itr->GetParent()); in CopyBasicBlock() 629 KillDebugDeclares(basic_block); in CopyBasicBlock() 633 AssignNewResultIds(basic_block); in CopyBasicBlock() 640 merge_inst->SetInOperand(1, {basic_block->id()}); in CopyBasicBlock() 644 state_.new_continue_block = basic_block; in CopyBasicBlock() 649 state_.new_header_block = basic_block; in CopyBasicBlock() 653 Instruction* merge_inst = basic_block->GetLoopMergeInst(); in CopyBasicBlock() [all …]
|
D | wrap_opkill.cpp | 177 for (BasicBlock& basic_block : *(*killing_func)) { in GetKillingFuncId() 178 context()->set_instr_block(basic_block.GetLabelInst(), &basic_block); in GetKillingFuncId() 179 for (Instruction& inst : basic_block) { in GetKillingFuncId() 180 context()->set_instr_block(&inst, &basic_block); in GetKillingFuncId()
|
/third_party/elfutils/tests/ |
D | next-lines.c | 116 bool basic_block; in main() local 117 if (dwarf_lineblock (l, &basic_block) != 0) in main() 118 basic_block = false; in main() 128 basic_block ? "yes" : "no", prologue_end ? "yes" : "no", in main()
|
D | get-lines.c | 138 bool basic_block; in main() local 139 if (dwarf_lineblock (l, &basic_block) != 0) in main() 140 basic_block = false; in main() 150 basic_block ? "yes" : "no", prologue_end ? "yes" : "no", in main()
|
D | nvidia_extended_linemap_libdw.c | 116 bool basic_block; in main() local 117 if (dwarf_lineblock (l, &basic_block) != 0) in main() 118 basic_block = false; in main() 127 basic_block ? "yes" : "no", prologue_end ? "yes" : "no", in main()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_early_terminator_wrapper.cpp | 68 auto basic_block = MakeUnique<opt::BasicBlock>(MakeUnique<opt::Instruction>( in Apply() local 71 basic_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply() 86 function->AddBasicBlock(std::move(basic_block)); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_early_terminator_wrapper.cpp | 68 auto basic_block = MakeUnique<opt::BasicBlock>(MakeUnique<opt::Instruction>( in Apply() local 71 basic_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply() 86 function->AddBasicBlock(std::move(basic_block)); in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_add_early_terminator_wrapper.cpp | 68 auto basic_block = MakeUnique<opt::BasicBlock>(MakeUnique<opt::Instruction>( in Apply() local 71 basic_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply() 86 function->AddBasicBlock(std::move(basic_block)); in Apply()
|