Home
last modified time | relevance | path

Searched refs:phi_node (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
Dlinearize.c695 void insert_select(struct basic_block *bb, struct instruction *br, struct instruction *phi_node, ps… in insert_select() argument
700 select = alloc_typed_instruction(OP_SEL, phi_node->type); in insert_select()
705 target = phi_node->target; in insert_select()
706 assert(target->def == phi_node); in insert_select()
861 struct instruction *phi_node = alloc_typed_instruction(OP_PHI, type); in alloc_phi_node() local
864 phi = alloc_pseudo(phi_node); in alloc_phi_node()
866 phi->def = phi_node; in alloc_phi_node()
867 phi_node->target = phi; in alloc_phi_node()
868 phi_node->bb = bb; in alloc_phi_node()
869 return phi_node; in alloc_phi_node()
[all …]
Dlinearize.h117 struct instruction *phi_node; member
310 phi->def->phi_node = node; in link_phi()
339 void add_phi_node(struct basic_block *bb, struct instruction *phi_node);
Dliveness.c16 static void phi_defines(struct instruction * phi_node, pseudo_t target, in phi_defines() argument
20 FOR_EACH_PTR(phi_node->phi_list, phi) { in phi_defines()
Dmemops.c94 phisrc->phi_node = insn; in find_dominating_parents()
Dflow.c51 assert(phisrc->phi_node == insn); in remove_phisources()
848 struct instruction *node = insn->phi_node; in remove_merging_phisrc()
/third_party/spirv-tools/source/opt/
Dscalar_analysis.cpp90 std::unique_ptr<SERecurrentNode> phi_node{ in CreateRecurrentExpression() local
92 phi_node->AddOffset(offset); in CreateRecurrentExpression()
93 phi_node->AddCoefficient(coefficient); in CreateRecurrentExpression()
95 return GetCachedOrAdd(std::move(phi_node)); in CreateRecurrentExpression()
285 std::unique_ptr<SERecurrentNode> phi_node{ in AnalyzePhiInstruction() local
292 recurrent_node_map_[phi] = phi_node.get(); in AnalyzePhiInstruction()
309 phi_node->AddOffset(value_node); in AnalyzePhiInstruction()
337 if (phi_operand != phi_node.get()) in AnalyzePhiInstruction()
343 phi_node->AddCoefficient(step_node); in AnalyzePhiInstruction()
349 return recurrent_node_map_[phi] = GetCachedOrAdd(std::move(phi_node)); in AnalyzePhiInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dscalar_analysis.cpp90 std::unique_ptr<SERecurrentNode> phi_node{ in CreateRecurrentExpression() local
92 phi_node->AddOffset(offset); in CreateRecurrentExpression()
93 phi_node->AddCoefficient(coefficient); in CreateRecurrentExpression()
95 return GetCachedOrAdd(std::move(phi_node)); in CreateRecurrentExpression()
285 std::unique_ptr<SERecurrentNode> phi_node{ in AnalyzePhiInstruction() local
292 recurrent_node_map_[phi] = phi_node.get(); in AnalyzePhiInstruction()
309 phi_node->AddOffset(value_node); in AnalyzePhiInstruction()
337 if (phi_operand != phi_node.get()) in AnalyzePhiInstruction()
343 phi_node->AddCoefficient(step_node); in AnalyzePhiInstruction()
349 return recurrent_node_map_[phi] = GetCachedOrAdd(std::move(phi_node)); in AnalyzePhiInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp90 std::unique_ptr<SERecurrentNode> phi_node{ in CreateRecurrentExpression() local
92 phi_node->AddOffset(offset); in CreateRecurrentExpression()
93 phi_node->AddCoefficient(coefficient); in CreateRecurrentExpression()
95 return GetCachedOrAdd(std::move(phi_node)); in CreateRecurrentExpression()
285 std::unique_ptr<SERecurrentNode> phi_node{ in AnalyzePhiInstruction() local
292 recurrent_node_map_[phi] = phi_node.get(); in AnalyzePhiInstruction()
309 phi_node->AddOffset(value_node); in AnalyzePhiInstruction()
337 if (phi_operand != phi_node.get()) in AnalyzePhiInstruction()
343 phi_node->AddCoefficient(step_node); in AnalyzePhiInstruction()
349 return recurrent_node_map_[phi] = GetCachedOrAdd(std::move(phi_node)); in AnalyzePhiInstruction()
/third_party/ltp/tools/sparse/sparse-src/Documentation/
DIR.rst384 * .phi_node: the unique phi instruction using the target pseudo