Home
last modified time | relevance | path

Searched refs:nesting_depth (Results 1 - 15 of 15) sorted by relevance

/third_party/python/Tools/peg_generator/scripts/
H A Dfind_max_nesting.py28 def check_nested_expr(nesting_depth: int) -> bool:
29 expr = f"{'(' * nesting_depth}0{')' * nesting_depth}"
32 print(f"Nesting depth of {nesting_depth} is successful")
35 print(f"{FAIL}(Failed with nesting depth of {nesting_depth}{ENDC}")
43 nesting_depth = INITIAL_NESTING_DEPTH
46 expr = f"{'(' * nesting_depth}0{')' * nesting_depth}"
48 succeeded = check_nested_expr(nesting_depth)
49 nesting_depth
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dlower_jumps.cpp167 unsigned nesting_depth; member
178 this->nesting_depth = 0; in loop_record()
203 unsigned nesting_depth; member
211 this->nesting_depth = 0; in function_record()
426 if(this->function.nesting_depth == 0 && ir->get_next()->is_tail_sentinel()) in should_lower_jump()
458 if(this->loop.nesting_depth == 0 && ir->get_next()->is_tail_sentinel()) in visit()
461 ++this->function.nesting_depth; in visit()
462 ++this->loop.nesting_depth; in visit()
756 --this->loop.nesting_depth; in visit()
757 --this->function.nesting_depth; in visit()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_liverangeevaluator_helpers.cpp66 int ProgramScope::nesting_depth() const in nesting_depth() function in r600::ProgramScope
581 while (enclosing_scope->nesting_depth() < last_read_scope->nesting_depth()) { in update_required_live_range()
600 while (enclosing_scope->nesting_depth() < first_write_scope->nesting_depth()) { in update_required_live_range()
H A Dsfn_liverangeevaluator.cpp82 int id, int nesting_depth, int line);
185 m_current_scope->nesting_depth() + 1, m_line + 1); in scope_if()
194 m_current_scope->nesting_depth() + 1, m_line + 1); in scope_else()
207 m_current_scope->nesting_depth() + 1, m_line); in scope_loop_begin()
223 int id, int nesting_depth, int line) in create_scope()
225 m_scopes.emplace_back(std::make_unique<ProgramScope>(parent, type, id, nesting_depth, line)); in create_scope()
222 create_scope(ProgramScope *parent, ProgramScopeType type, int id, int nesting_depth, int line) create_scope() argument
H A Dsfn_instrfactory.h43 PInst from_string(const std::string &s, int nesting_depth);
H A Dsfn_instrfactory.cpp57 PInst InstrFactory::from_string(const std::string& s, int nesting_depth) in from_string() argument
70 group->set_nesting_depth(nesting_depth); in from_string()
H A Dsfn_instr.h170 Block(int nesting_depth, int id);
191 int nesting_depth() const { return m_nesting_depth;} in nesting_depth() function in r600::Block
H A Dsfn_liverangeevaluator_helpers.h53 int nesting_depth() const;
H A Dsfn_instr.cpp272 Block::Block(int nesting_depth, int id): in Block() argument
273 m_nesting_depth(nesting_depth), in Block()
H A Dsfn_scheduler.cpp296 m_current_block = new Block(in_block.nesting_depth(), in_block.id()); in schedule_block()
562 group->set_nesting_depth(m_current_block->nesting_depth()); in schedule_alu()
637 m_current_block = new Block(m_current_block->nesting_depth(), m_current_block->id()); in start_new_block()
H A Dsfn_shader.h199 void start_new_block(int nesting_depth);
H A Dsfn_shader.cpp228 auto ir = m_instr_factory->from_string(s, m_current_block->nesting_depth()); in emit_instruction_from_string()
1267 int depth_offset = m_current_block ? m_current_block->nesting_depth() : 0; in start_new_block()
/third_party/node/deps/v8/src/compiler/
H A Dwasm-compiler.h199 uint32_t nesting_depth; member
204 WasmLoopInfo(Node* header, uint32_t nesting_depth, bool can_be_innermost) in WasmLoopInfo()
206 nesting_depth(nesting_depth), in WasmLoopInfo()
H A Dpipeline.cc1674 maximum_unrollable_size(loop_info.nesting_depth), true); in Run()
1676 UnrollLoop(loop_info.header, loop, loop_info.nesting_depth, in Run()
/third_party/node/deps/v8/src/wasm/
H A Dgraph-builder-interface.cc209 uint32_t nesting_depth = 0; in Loop() local
212 nesting_depth++; in Loop()
220 if (nesting_depth > 0 && in Loop()
221 loop_infos_.back().nesting_depth < nesting_depth) { in Loop()
224 loop_infos_.emplace_back(loop_node, nesting_depth, true); in Loop()

Completed in 20 milliseconds