Home
last modified time | relevance | path

Searched refs:current_block_ (Results 1 – 22 of 22) sorted by relevance

/third_party/spirv-tools/source/val/
Dfunction.cpp45 current_block_(nullptr), in Function()
58 assert(current_block_ == nullptr && in RegisterFunctionParameter()
74 assert(current_block_ && in RegisterLoopMerge()
76 current_block_->RegisterStructuralSuccessor(&merge_block); in RegisterLoopMerge()
77 current_block_->RegisterStructuralSuccessor(&continue_target_block); in RegisterLoopMerge()
79 current_block_->set_type(kBlockTypeLoop); in RegisterLoopMerge()
83 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge()
89 merge_block_header_[&merge_block] = current_block_; in RegisterLoopMerge()
92 continue_target_headers_[&continue_target_block] = {current_block_}; in RegisterLoopMerge()
94 continue_target_headers_[&continue_target_block].push_back(current_block_); in RegisterLoopMerge()
[all …]
Dfunction.h307 BasicBlock* current_block_; variable
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dfunction.cpp45 current_block_(nullptr), in Function()
58 assert(current_block_ == nullptr && in RegisterFunctionParameter()
74 assert(current_block_ && in RegisterLoopMerge()
77 current_block_->set_type(kBlockTypeLoop); in RegisterLoopMerge()
81 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge()
87 merge_block_header_[&merge_block] = current_block_; in RegisterLoopMerge()
90 continue_target_headers_[&continue_target_block] = {current_block_}; in RegisterLoopMerge()
92 continue_target_headers_[&continue_target_block].push_back(current_block_); in RegisterLoopMerge()
101 current_block_->set_type(kBlockTypeSelection); in RegisterSelectionMerge()
103 merge_block_header_[&merge_block] = current_block_; in RegisterSelectionMerge()
[all …]
Dfunction.h307 BasicBlock* current_block_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp45 current_block_(nullptr), in Function()
58 assert(current_block_ == nullptr && in RegisterFunctionParameter()
74 assert(current_block_ && in RegisterLoopMerge()
77 current_block_->set_type(kBlockTypeLoop); in RegisterLoopMerge()
81 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge()
87 merge_block_header_[&merge_block] = current_block_; in RegisterLoopMerge()
90 continue_target_headers_[&continue_target_block] = {current_block_}; in RegisterLoopMerge()
92 continue_target_headers_[&continue_target_block].push_back(current_block_); in RegisterLoopMerge()
101 current_block_->set_type(kBlockTypeSelection); in RegisterSelectionMerge()
103 merge_block_header_[&merge_block] = current_block_; in RegisterSelectionMerge()
[all …]
Dfunction.h307 BasicBlock* current_block_; variable
/third_party/node/deps/v8/src/compiler/
Draw-machine-assembler.cc32 current_block_(schedule()->start()) { in RawMachineAssembler()
536 DCHECK(current_block_ != schedule()->end()); in Goto()
538 current_block_ = nullptr; in Goto()
544 DCHECK(current_block_ != schedule()->end()); in Branch()
556 current_block_ = nullptr; in Branch()
562 DCHECK_NOT_NULL(current_block_); in Continuations()
564 current_block_ = nullptr; in Continuations()
571 DCHECK_NE(schedule()->end(), current_block_); in Switch()
590 current_block_ = nullptr; in Switch()
597 current_block_ = nullptr; in Return()
[all …]
Dmachine-graph-verifier.cc101 current_block_ = block; in Run()
344 BasicBlock* current_block_; member in v8::internal::compiler::__anon774215ae0111::MachineRepresentationInferrer
357 current_block_(nullptr) {} in MachineRepresentationChecker()
362 current_block_ = block; in Run()
1025 out << "\n# Current block: " << *current_block_; in PrintDebugHelp()
1035 BasicBlock* current_block_; member in v8::internal::compiler::__anon774215ae0111::MachineRepresentationChecker
Draw-machine-assembler.h1123 BasicBlock* current_block_; variable
/third_party/node/deps/v8/src/maglev/
Dmaglev-graph-builder.h56 DCHECK_NULL(current_block_); in CreateEmptyBlock()
57 current_block_ = zone()->New<BasicBlock>(nullptr); in CreateEmptyBlock()
163 if (current_block_ != nullptr) { in VisitSingleBytecode()
176 DCHECK_NOT_NULL(current_block_); in VisitSingleBytecode()
200 current_block_->nodes().Add(node); in BYTECODE_LIST()
383 DCHECK_NULL(current_block_); in StartNewBlock()
384 current_block_ = zone()->New<BasicBlock>(merge_states_[offset]); in StartNewBlock()
391 current_block_->set_control_node(CreateNewNode<ControlNodeT>( in CreateBlock()
394 BasicBlock* block = current_block_; in CreateBlock()
395 current_block_ = nullptr; in CreateBlock()
[all …]
Dmaglev-graph-builder.cc70 current_block_ = zone()->New<BasicBlock>(nullptr); in MaglevGraphBuilder()
/third_party/node/deps/v8/src/torque/
Dcfg.h155 cfg_.set_end(current_block_); in Result()
169 bool CurrentBlockIsComplete() const { return current_block_->IsComplete(); } in CurrentBlockIsComplete()
179 current_block_->Add(std::move(instruction)); in Emit()
217 Block* current_block_ = cfg_.start();
226 std::swap(saved_block_, assembler->current_block_); in CfgAssemblerScopedTemporaryBlock()
233 std::swap(saved_block_, assembler_->current_block_); in ~CfgAssemblerScopedTemporaryBlock()
Dcfg.cc73 DCHECK(current_block_->IsComplete()); in Bind()
76 current_block_ = block; in Bind()
/third_party/node/deps/v8/src/compiler/backend/
Dinstruction.cc874 current_block_(nullptr) { in InstructionSequence()
890 DCHECK_NULL(current_block_); in StartBlock()
891 current_block_ = InstructionBlockAt(rpo); in StartBlock()
893 current_block_->set_code_start(code_start); in StartBlock()
898 DCHECK_EQ(current_block_->rpo_number(), rpo); in EndBlock()
899 CHECK(current_block_->code_start() >= 0 && in EndBlock()
900 current_block_->code_start() < end); in EndBlock()
901 current_block_->set_code_end(end); in EndBlock()
902 current_block_ = nullptr; in EndBlock()
906 DCHECK_NOT_NULL(current_block_); in AddInstruction()
[all …]
Dmid-tier-register-allocator.cc1577 const InstructionBlock* current_block_; member in v8::internal::compiler::SinglePassRegisterAllocator
1604 current_block_(nullptr), in SinglePassRegisterAllocator()
1694 DCHECK_NULL(current_block_); in StartBlock()
1701 current_block_ = block; in StartBlock()
1722 current_block_ = nullptr; in EndBlock()
1742 current_block_ = nullptr; in EndBlock()
1891 reg_state->Spill(reg, allocated, current_block_, data_); in SpillRegisterAtMerge()
1903 reg_state->Spill(sibling, allocated, current_block_, data_); in SpillRegisterAtMerge()
1929 reg_state->Spill(simd_reg, allocated, current_block_, data_); in SpillRegisterAtMerge()
2042 const InstructionBlock* block = current_block_; in EmitGapMoveFromOutput()
[all …]
Dcode-generator.cc63 current_block_(RpoNumber::Invalid()), in CodeGenerator()
265 current_block_ = block->rpo_number(); in AssembleCode()
287 tasm()->bind(GetLabel(current_block_)); in AssembleCode()
506 ->InstructionBlockAt(current_block_) in IsNextInAssemblyOrder()
Dcode-generator.h415 RpoNumber current_block_; variable
Dinstruction-selector.cc58 current_block_(nullptr), in InstructionSelector()
286 if (schedule()->block(node) != current_block_) { in CanCover()
1169 DCHECK(!current_block_); in VisitBlock()
1170 current_block_ = block; in VisitBlock()
1248 current_block_ = nullptr; in VisitBlock()
2869 DCHECK_EQ(input_count, current_block_->PredecessorCount()); in VisitPhi()
2874 ->InstructionBlockAt(RpoNumber::FromInt(current_block_->rpo_number())) in VisitPhi()
Dinstruction-selector.h731 BasicBlock* current_block_; variable
Dinstruction.h1878 InstructionBlock* current_block_; in NON_EXPORTED_BASE() local
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver.h536 sem::BlockStatement* current_block_ = nullptr; variable
Dresolver.cc2419 if (current_block_) { // Not all statements are inside a block in VariableDeclStatement()
2420 current_block_->AddDecl(stmt->variable); in VariableDeclStatement()
2574 TINT_SCOPED_ASSIGNMENT(current_block_, as_block ? as_block : current_block_); in StatementScope()