• Home
  • Raw
  • Download

Lines Matching refs:blockId

139 		auto &blockId = it.first;  in AssignBlockFields()  local
141 if(reachable.count(blockId) > 0) in AssignBlockFields()
146 …ASSERT_MSG(outIt != blocks.end(), "Block %d has a non-existent out %d", blockId.value(), outId.val… in AssignBlockFields()
148 out.ins.emplace(blockId); in AssignBlockFields()
153 …ASSERT_MSG(mergeIt != blocks.end(), "Loop block %d has a non-existent merge block %d", blockId.val… in AssignBlockFields()
160 void SpirvShader::Function::ForeachBlockDependency(Block::ID blockId, std::function<void(Block::ID)… in ForeachBlockDependency() argument
162 auto block = getBlock(blockId); in ForeachBlockDependency()
166 !ExistsPath(blockId, dep, block.mergeBlock)) // or a loop and not a loop back edge in ForeachBlockDependency()
290 auto blockId = state->block; in EmitNonLoop() local
291 auto block = function.getBlock(blockId); in EmitNonLoop()
293 if(!state->visited.emplace(blockId).second) in EmitNonLoop()
298 if(blockId != function.entry) in EmitNonLoop()
304 auto inMask = GetActiveLaneMaskEdge(state, in, blockId); in EmitNonLoop()
305 SPIRV_SHADER_DBG("Block {0} -> {1} mask: {2}", in, blockId, inMask); in EmitNonLoop()
308 SPIRV_SHADER_DBG("Block {0} mask: {1}", blockId, activeLaneMask); in EmitNonLoop()
322 SPIRV_SHADER_DBG("Block {0} done", blockId); in EmitNonLoop()
328 auto blockId = state->block; in EmitLoop() local
329 auto &block = function.getBlock(blockId); in EmitLoop()
333 if(!state->visited.emplace(blockId).second) in EmitLoop()
343 function.TraverseReachableBlocks(blockId, loopBlocks); in EmitLoop()
361 StorePhi(blockId, insn, state, incomingBlocks); in EmitLoop()
370 loopActiveLaneMask |= GetActiveLaneMaskEdge(state, in, blockId); in EmitLoop()
416 state->block = blockId; in EmitLoop()
422 if(function.ExistsPath(blockId, in, mergeBlockId)) in EmitLoop()
424 loopActiveLaneMask |= GetActiveLaneMaskEdge(state, in, blockId); in EmitLoop()
444 StorePhi(blockId, insn, state, loopBlocks); in EmitLoop()
692 auto blockId = Block::ID(insn.word(w + 1)); in StorePhi() local
694 if(filter.count(blockId) == 0) in StorePhi()
699 auto mask = GetActiveLaneMaskEdge(state, blockId, currentBlock); in StorePhi()
706 objectId, i, currentBlock, blockId, varId, in.UInt(i), mask); in StorePhi()