Home
last modified time | relevance | path

Searched refs:predecessor (Results 1 - 25 of 56) sorted by relevance

123

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_opselect_with_conditional_branch.cpp81 // The block must have exactly one predecessor. in IsApplicable()
88 auto predecessor = ir_context->get_instr_block(pred_id); in IsApplicable() local
90 // The predecessor must not be the header of a construct and it must end with in IsApplicable()
92 if (predecessor->GetMergeInst() != nullptr || in IsApplicable()
93 predecessor->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
107 auto predecessor = in Apply() local
127 // Insert the new block right after the predecessor of the instruction in Apply()
133 // Delete the OpBranch instruction from the predecessor. in Apply()
134 ir_context->KillInst(predecessor->terminator()); in Apply()
136 // Add an OpSelectionMerge instruction to the predecessor bloc in Apply()
[all...]
H A Dfuzzer_pass_replace_opselects_with_conditional_branches.cpp156 // We need to split the block if it has more than one predecessor. in InstructionNeedsSplitBefore()
161 // We need to split the block if its predecessor is a header or it does not in InstructionNeedsSplitBefore()
163 auto predecessor = GetIRContext()->get_instr_block( in InstructionNeedsSplitBefore() local
165 return predecessor->MergeBlockIdIfAny() || in InstructionNeedsSplitBefore()
166 predecessor->terminator()->opcode() != SpvOpBranch; in InstructionNeedsSplitBefore()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_opselect_with_conditional_branch.cpp81 // The block must have exactly one predecessor. in IsApplicable()
88 auto predecessor = ir_context->get_instr_block(pred_id); in IsApplicable() local
90 // The predecessor must not be the header of a construct and it must end with in IsApplicable()
92 if (predecessor->GetMergeInst() != nullptr || in IsApplicable()
93 predecessor->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
107 auto predecessor = in Apply() local
127 // Insert the new block right after the predecessor of the instruction in Apply()
133 // Delete the OpBranch instruction from the predecessor. in Apply()
134 ir_context->KillInst(predecessor->terminator()); in Apply()
136 // Add an OpSelectionMerge instruction to the predecessor bloc in Apply()
[all...]
H A Dfuzzer_pass_replace_opselects_with_conditional_branches.cpp156 // We need to split the block if it has more than one predecessor. in InstructionNeedsSplitBefore()
161 // We need to split the block if its predecessor is a header or it does not in InstructionNeedsSplitBefore()
163 auto predecessor = GetIRContext()->get_instr_block( in InstructionNeedsSplitBefore() local
165 return predecessor->MergeBlockIdIfAny() || in InstructionNeedsSplitBefore()
166 predecessor->terminator()->opcode() != SpvOpBranch; in InstructionNeedsSplitBefore()
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_replace_opselect_with_conditional_branch.cpp81 // The block must have exactly one predecessor. in IsApplicable()
88 auto predecessor = ir_context->get_instr_block(pred_id); in IsApplicable() local
90 // The predecessor must not be the header of a construct and it must end with in IsApplicable()
92 if (predecessor->GetMergeInst() != nullptr || in IsApplicable()
93 predecessor->terminator()->opcode() != spv::Op::OpBranch) { in IsApplicable()
107 auto predecessor = in Apply() local
128 // Insert the new block right after the predecessor of the instruction in Apply()
134 // Delete the OpBranch instruction from the predecessor. in Apply()
135 ir_context->KillInst(predecessor->terminator()); in Apply()
137 // Add an OpSelectionMerge instruction to the predecessor bloc in Apply()
[all...]
H A Dfuzzer_pass_replace_opselects_with_conditional_branches.cpp156 // We need to split the block if it has more than one predecessor. in InstructionNeedsSplitBefore()
161 // We need to split the block if its predecessor is a header or it does not in InstructionNeedsSplitBefore()
163 auto predecessor = GetIRContext()->get_instr_block( in InstructionNeedsSplitBefore() local
165 return predecessor->MergeBlockIdIfAny() || in InstructionNeedsSplitBefore()
166 predecessor->terminator()->opcode() != spv::Op::OpBranch; in InstructionNeedsSplitBefore()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_cfg.cpp34 * blocks with successor/predecessor edges connecting them.
419 foreach_list_typed_safe (bblock_link, predecessor, link, &block->parents) { in remove_block()
422 &predecessor->block->children) { in remove_block()
431 if (!successor->block->is_successor_of(predecessor->block, in remove_block()
433 predecessor->block->children.push_tail(link(mem_ctx, in remove_block()
442 foreach_list_typed_safe (bblock_link, predecessor, link, in remove_block()
444 if (block == predecessor->block) { in remove_block()
445 predecessor->link.remove(); in remove_block()
446 ralloc_free(predecessor); in remove_block()
450 /* Add removed-block's predecessors to its successors' predecessor list in remove_block()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Draw-machine-assembler.cc169 // for each predecessor, replacing the phi node with the corresponding phi in OptimizeControlFlow()
195 BasicBlock* predecessor = block->PredecessorAt(j); in OptimizeControlFlow() local
196 predecessor->ClearSuccessors(); in OptimizeControlFlow()
197 if (block->deferred()) predecessor->set_deferred(true); in OptimizeControlFlow()
210 DCHECK_EQ(predecessor->control(), BasicBlock::kGoto); in OptimizeControlFlow()
211 predecessor->set_control(BasicBlock::kNone); in OptimizeControlFlow()
212 schedule->AddBranch(predecessor, branch_clone, new_true_block, in OptimizeControlFlow()
265 BasicBlock* predecessor = block->PredecessorAt(0); in MakeReschedulable() local
266 DCHECK_LT(predecessor->rpo_number(), block->rpo_number()); in MakeReschedulable()
267 current_effect = block_final_effect[predecessor in MakeReschedulable()
275 BasicBlock* predecessor = block->PredecessorAt(i); MakeReschedulable() local
339 BasicBlock* predecessor = block->PredecessorAt(i); MakeReschedulable() local
[all...]
H A Dschedule.cc49 void BasicBlock::AddPredecessor(BasicBlock* predecessor) { in AddPredecessor() argument
50 predecessors_.push_back(predecessor); in AddPredecessor()
114 // Print predecessor blocks for better debugging. in operator <<()
444 for (BasicBlock*& predecessor : successor->predecessors()) { in MoveSuccessors()
445 if (predecessor == from) predecessor = to; in MoveSuccessors()
475 for (BasicBlock const* predecessor : block->predecessors()) { in operator <<()
478 if (predecessor->rpo_number() == -1) { in operator <<()
479 os << "id:" << predecessor->id(); in operator <<()
481 os << "B" << predecessor in operator <<()
[all...]
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-graph-builder.h55 BasicBlock* CreateEmptyBlock(int offset, BasicBlock* predecessor) { in CreateEmptyBlock() argument
59 result->set_empty_block_predecessor(predecessor); in CreateEmptyBlock()
74 BasicBlock* predecessor = merge_state.predecessor_at(predecessor_index); in ProcessMergePoint() local
75 if (predecessor == nullptr) { in ProcessMergePoint()
76 // We can have null predecessors if the predecessor is dead. in ProcessMergePoint()
80 ControlNode* control = predecessor->control_node(); in ProcessMergePoint()
83 predecessor = CreateEmptyBlock(offset, predecessor); in ProcessMergePoint()
84 // Set the old predecessor's (the conditional block) reference to in ProcessMergePoint()
85 // point to the new empty predecessor bloc in ProcessMergePoint()
[all...]
H A Dmaglev-basic-block.h60 void set_empty_block_predecessor(BasicBlock* predecessor) { in set_empty_block_predecessor() argument
65 empty_block_predecessor_ = predecessor; in set_empty_block_predecessor()
/third_party/icu/icu4c/source/i18n/
H A Dnfrule.h49 const NFRule* predecessor,
91 void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* predecessor, UErrorCode& status);
92 NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCode& status);
H A Dnfrule.cpp110 const NFRule *predecessor, in makeRules()
142 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules()
202 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
213 rule1->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
409 * @param predecessor The rule preseding this one in "owners" rule list
415 const NFRule* predecessor,
422 sub1 = extractSubstitution(ruleSet, predecessor, status);
428 sub2 = extractSubstitution(ruleSet, predecessor, status);
460 * @param predecessor The rule preceding this one in the rule set's
469 const NFRule* predecessor,
108 makeRules(UnicodeString& description, NFRuleSet *owner, const NFRule *predecessor, const RuleBasedNumberFormat *rbnf, NFRuleList& rules, UErrorCode& status) makeRules() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dnfrule.h49 const NFRule* predecessor,
91 void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* predecessor, UErrorCode& status);
92 NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCode& status);
H A Dnfrule.cpp110 const NFRule *predecessor, in makeRules()
142 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules()
202 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
213 rule1->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
409 * @param predecessor The rule preseding this one in "owners" rule list
415 const NFRule* predecessor,
422 sub1 = extractSubstitution(ruleSet, predecessor, status);
428 sub2 = extractSubstitution(ruleSet, predecessor, status);
460 * @param predecessor The rule preceding this one in the rule set's
469 const NFRule* predecessor,
108 makeRules(UnicodeString& description, NFRuleSet *owner, const NFRule *predecessor, const RuleBasedNumberFormat *rbnf, NFRuleList& rules, UErrorCode& status) makeRules() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnfrule.h49 const NFRule* predecessor,
91 void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* predecessor, UErrorCode& status);
92 NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCode& status);
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dif_conversion.h47 // Returns the basic block for the |predecessor|'th index predecessor of
49 BasicBlock* GetIncomingBlock(Instruction* phi, uint32_t predecessor);
51 // Returns the instruction defining the |predecessor|'th index of |phi|.
52 Instruction* GetIncomingValue(Instruction* phi, uint32_t predecessor);
H A Dif_conversion.cpp215 uint32_t predecessor) { in GetIncomingBlock()
216 uint32_t in_index = 2 * predecessor + 1; in GetIncomingBlock()
221 uint32_t predecessor) { in GetIncomingValue()
222 uint32_t in_index = 2 * predecessor; in GetIncomingValue()
214 GetIncomingBlock(Instruction* phi, uint32_t predecessor) GetIncomingBlock() argument
220 GetIncomingValue(Instruction* phi, uint32_t predecessor) GetIncomingValue() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dif_conversion.h47 // Returns the basic block for the |predecessor|'th index predecessor of
49 BasicBlock* GetIncomingBlock(Instruction* phi, uint32_t predecessor);
51 // Returns the instruction defining the |predecessor|'th index of |phi|.
52 Instruction* GetIncomingValue(Instruction* phi, uint32_t predecessor);
H A Dif_conversion.cpp215 uint32_t predecessor) { in GetIncomingBlock()
216 uint32_t in_index = 2 * predecessor + 1; in GetIncomingBlock()
221 uint32_t predecessor) { in GetIncomingValue()
222 uint32_t in_index = 2 * predecessor; in GetIncomingValue()
214 GetIncomingBlock(Instruction* phi, uint32_t predecessor) GetIncomingBlock() argument
220 GetIncomingValue(Instruction* phi, uint32_t predecessor) GetIncomingValue() argument
/third_party/spirv-tools/source/opt/
H A Dif_conversion.h47 // Returns the basic block for the |predecessor|'th index predecessor of
49 BasicBlock* GetIncomingBlock(Instruction* phi, uint32_t predecessor);
51 // Returns the instruction defining the |predecessor|'th index of |phi|.
52 Instruction* GetIncomingValue(Instruction* phi, uint32_t predecessor);
H A Dif_conversion.cpp164 // If the predecessor blocks are the same, then there is only 1 value for in CheckBlock()
225 uint32_t predecessor) { in GetIncomingBlock()
226 uint32_t in_index = 2 * predecessor + 1; in GetIncomingBlock()
231 uint32_t predecessor) { in GetIncomingValue()
232 uint32_t in_index = 2 * predecessor; in GetIncomingValue()
224 GetIncomingBlock(Instruction* phi, uint32_t predecessor) GetIncomingBlock() argument
230 GetIncomingValue(Instruction* phi, uint32_t predecessor) GetIncomingValue() argument
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNFRule.java125 * @param predecessor The rule that precedes the new one(s) in "owner"'s
133 NFRule predecessor, in makeRules()
158 rule1.extractSubstitutions(owner, description, predecessor); in makeRules()
212 rule2.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
224 rule1.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
411 * @param predecessor The rule preceding this one in "owners" rule list
416 NFRule predecessor) { in extractSubstitutions()
418 sub1 = extractSubstitution(owner, predecessor); in extractSubstitutions()
424 sub2 = extractSubstitution(owner, predecessor); in extractSubstitutions()
455 * @param predecessor Th
131 makeRules(String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, List<NFRule> returnList) makeRules() argument
414 extractSubstitutions(NFRuleSet owner, String ruleText, NFRule predecessor) extractSubstitutions() argument
461 extractSubstitution(NFRuleSet owner, NFRule predecessor) extractSubstitution() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DNFRule.java126 * @param predecessor The rule that precedes the new one(s) in "owner"'s
134 NFRule predecessor, in makeRules()
159 rule1.extractSubstitutions(owner, description, predecessor); in makeRules()
213 rule2.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
225 rule1.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
412 * @param predecessor The rule preceding this one in "owners" rule list
417 NFRule predecessor) { in extractSubstitutions()
419 sub1 = extractSubstitution(owner, predecessor); in extractSubstitutions()
425 sub2 = extractSubstitution(owner, predecessor); in extractSubstitutions()
456 * @param predecessor Th
132 makeRules(String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, List<NFRule> returnList) makeRules() argument
415 extractSubstitutions(NFRuleSet owner, String ruleText, NFRule predecessor) extractSubstitutions() argument
462 extractSubstitution(NFRuleSet owner, NFRule predecessor) extractSubstitution() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir.c677 qir_link_blocks(struct qblock *predecessor, struct qblock *successor) in qir_link_blocks() argument
679 _mesa_set_add(successor->predecessors, predecessor); in qir_link_blocks()
680 if (predecessor->successors[0]) { in qir_link_blocks()
681 assert(!predecessor->successors[1]); in qir_link_blocks()
682 predecessor->successors[1] = successor; in qir_link_blocks()
684 predecessor->successors[0] = successor; in qir_link_blocks()

Completed in 16 milliseconds

123