Home
last modified time | relevance | path

Searched refs:block_id (Results 1 – 25 of 44) sorted by relevance

12

/external/libxcam/modules/ocl/
Dcl_newtonemapping_handler.cpp70 int block_id = block_start_index / hist_bin_count; in block_split_haleq() local
76 y_max[block_id] = i; in block_split_haleq()
83 y_avg[block_id] += i * hist[i]; in block_split_haleq()
86 y_max[block_id] = y_max[block_id] + 1; in block_split_haleq()
87 y_avg[block_id] = y_avg[block_id] / pixel_num; in block_split_haleq()
95 int thres = (int)(1500 * 1500 / (y_avg[block_id] * y_avg[block_id] + 1) * 600); in block_split_haleq()
96 int y_max0 = (y_max[block_id] > thres) ? thres : y_max[block_id]; in block_split_haleq()
97 int y_max1 = (y_max[block_id] - thres) > 0 ? (y_max[block_id] - thres) : 0; in block_split_haleq()
107 if(y_max[block_id] < thres) in block_split_haleq()
116 if(y_max[block_id] < thres) in block_split_haleq()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp53 bool Function::IsFirstBlock(uint32_t block_id) const { in IsFirstBlock()
54 return !ordered_blocks_.empty() && *first_block() == block_id; in IsFirstBlock()
111 spv_result_t Function::RegisterBlock(uint32_t block_id, bool is_definition) { in RegisterBlock() argument
119 blocks_.insert({block_id, BasicBlock(block_id)}); in RegisterBlock()
125 undefined_blocks_.erase(block_id); in RegisterBlock()
128 if (IsFirstBlock(block_id)) current_block_->set_reachable(true); in RegisterBlock()
130 undefined_blocks_.insert(block_id); in RegisterBlock()
224 std::pair<const BasicBlock*, bool> Function::GetBlock(uint32_t block_id) const { in GetBlock()
225 const auto b = blocks_.find(block_id); in GetBlock()
236 std::pair<BasicBlock*, bool> Function::GetBlock(uint32_t block_id) { in GetBlock() argument
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dfunction.cpp53 bool Function::IsFirstBlock(uint32_t block_id) const { in IsFirstBlock()
54 return !ordered_blocks_.empty() && *first_block() == block_id; in IsFirstBlock()
111 spv_result_t Function::RegisterBlock(uint32_t block_id, bool is_definition) { in RegisterBlock() argument
119 blocks_.insert({block_id, BasicBlock(block_id)}); in RegisterBlock()
125 undefined_blocks_.erase(block_id); in RegisterBlock()
128 if (IsFirstBlock(block_id)) current_block_->set_reachable(true); in RegisterBlock()
130 undefined_blocks_.insert(block_id); in RegisterBlock()
224 std::pair<const BasicBlock*, bool> Function::GetBlock(uint32_t block_id) const { in GetBlock()
225 const auto b = blocks_.find(block_id); in GetBlock()
236 std::pair<BasicBlock*, bool> Function::GetBlock(uint32_t block_id) { in GetBlock() argument
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dparallel_loop_emitter.cc75 llvm::Value* block_id = llvm_ir::EmitCallToIntrinsic( in EmitIndexAndSetExitBasicBlock() local
78 static_cast<llvm::Instruction*>(block_id)); in EmitIndexAndSetExitBasicBlock()
79 block_id = b_->CreateZExtOrTrunc(block_id, index_type, "block_id"); in EmitIndexAndSetExitBasicBlock()
92 b_->CreateMul(block_id, in EmitIndexAndSetExitBasicBlock()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_misr_crc/
Dformat9 field:u32 block_id; offset:8; size:4; signed:0;
13 print fmt: "block_id:%d vsync_cnt:%d crc:0x%08x", REC->block_id, REC->vsync_cnt, REC->crc
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_print.c196 printf(", target=block%u", block_id(instr->cat0.target)); in print_instr()
210 tab(lvl); printf("block%u {\n", block_id(block)); in print_block()
220 block_id(block->successors[0]), in print_block()
221 block_id(block->successors[1])); in print_block()
225 block_id(block->successors[0])); in print_block()
/external/v8/src/compiler/
Dlive-range-separator.cc86 for (int block_id = first_block_nr; block_id <= last_block_nr; ++block_id) { in SplinterLiveRange() local
88 code->InstructionBlockAt(RpoNumber::FromInt(block_id)); in SplinterLiveRange()
Dregister-allocator-verifier.h251 void ValidatePendingAssessment(RpoNumber block_id, InstructionOperand op,
255 void ValidateUse(RpoNumber block_id, BlockAssessments* current_assessments,
Dregister-allocator-verifier.cc379 RpoNumber block_id, InstructionOperand op, in ValidatePendingAssessment() argument
392 seen.insert(block_id); in ValidatePendingAssessment()
469 RpoNumber block_id, BlockAssessments* current_assessments, in ValidateUse() argument
483 ValidatePendingAssessment(block_id, op, current_assessments, pending, in ValidateUse()
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drasters_alloc.cl130 // get block_id of each raster head
131 skc_block_id_t const block_id = bp_ids[reads & bp_mask];
134 map[raster_id] = block_id;
137 printf("alloc: %u / %u\n",raster_id,block_id);
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Drasters_alloc.cl130 // get block_id of each raster head
131 skc_block_id_t const block_id = bp_ids[reads & bp_mask];
134 map[raster_id] = block_id;
137 printf("alloc: %u / %u\n",raster_id,block_id);
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_fusion.cpp91 auto block_id = context_->get_instr_block(instruction)->id(); in UsedInContinueOrConditionBlock() local
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
363 for (auto block_id : loop->GetBlocks()) { in GetLoadsAndStoresInLoop() local
364 if (block_id == loop->GetContinueBlock()->id()) { in GetLoadsAndStoresInLoop()
368 for (auto& instruction : *containing_function_->FindBlock(block_id)) { in GetLoadsAndStoresInLoop()
383 auto block_id = context_->get_instr_block(user)->id(); in IsUsedInLoop() local
384 return !loop->IsInsideLoop(block_id); in IsUsedInLoop()
Dloop_descriptor.h462 inline Loop* operator[](uint32_t block_id) const {
463 return FindLoopForBasicBlock(block_id);
546 inline Loop* FindLoopForBasicBlock(uint32_t block_id) const { in FindLoopForBasicBlock() argument
548 basic_block_to_loop_.find(block_id); in FindLoopForBasicBlock()
Dloop_descriptor.cpp343 for (uint32_t block_id : cfg->preds(loop_header_->id())) { in FindLatchBlock() local
344 if (dominator_analysis->Dominates(loop_continue_->id(), block_id)) { in FindLatchBlock()
345 return cfg->block(block_id); in FindLatchBlock()
593 auto block_id = block.id(); in GetLoopsInBinaryLayoutOrder() local
595 auto element = std::find(std::begin(ids), std::end(ids), block_id); in GetLoopsInBinaryLayoutOrder()
950 for (uint32_t block_id : loop->GetBlocks()) { in PostModificationCleanup() local
951 parent->AddBasicBlock(block_id); in PostModificationCleanup()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_fusion.cpp91 auto block_id = context_->get_instr_block(instruction)->id(); in UsedInContinueOrConditionBlock() local
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
363 for (auto block_id : loop->GetBlocks()) { in GetLoadsAndStoresInLoop() local
364 if (block_id == loop->GetContinueBlock()->id()) { in GetLoadsAndStoresInLoop()
368 for (auto& instruction : *containing_function_->FindBlock(block_id)) { in GetLoadsAndStoresInLoop()
383 auto block_id = context_->get_instr_block(user)->id(); in IsUsedInLoop() local
384 return !loop->IsInsideLoop(block_id); in IsUsedInLoop()
Dloop_descriptor.h462 inline Loop* operator[](uint32_t block_id) const {
463 return FindLoopForBasicBlock(block_id);
548 inline Loop* FindLoopForBasicBlock(uint32_t block_id) const { in FindLoopForBasicBlock() argument
550 basic_block_to_loop_.find(block_id); in FindLoopForBasicBlock()
Dloop_descriptor.cpp343 for (uint32_t block_id : cfg->preds(loop_header_->id())) { in FindLatchBlock() local
344 if (dominator_analysis->Dominates(loop_continue_->id(), block_id)) { in FindLatchBlock()
345 return cfg->block(block_id); in FindLatchBlock()
593 auto block_id = block.id(); in GetLoopsInBinaryLayoutOrder() local
595 auto element = std::find(std::begin(ids), std::end(ids), block_id); in GetLoopsInBinaryLayoutOrder()
951 for (uint32_t block_id : loop->GetBlocks()) { in PostModificationCleanup() local
952 parent->AddBasicBlock(block_id); in PostModificationCleanup()
/external/brotli/c/enc/
Dblock_splitter_inc.h73 uint8_t* block_id) { in FN()
82 block_id[i] = 0; in FN()
117 block_id[byte_ix] = (uint8_t)k; in FN()
137 uint8_t cur_id = block_id[byte_ix]; in FN()
144 if (cur_id != block_id[byte_ix]) { in FN()
145 cur_id = block_id[byte_ix]; in FN()
149 block_id[byte_ix] = cur_id; in FN()
/external/selinux/secilc/docs/
Dcil_container_statements.md11 (block block_id
29 <td align="left"><p><code>block_id</code></p></td>
50 (block block_id
69 <td align="left"><p><code>block_id</code></p></td>
78 <td align="left"><p>The abstract namespace identifier. This must match the <code>block_id</code> en…
98 (block block_id
117 <td align="left"><p><code>block_id</code></p></td>
/external/v8/tools/turbolizer/src/
Dschedule-view.ts139 const block_id = createElement("div", ["block-id", "com", "clickable"], block.id); constant
140 block_id.onclick = mkBlockLinkHandler(block.id);
141 schedule_block.appendChild(block_id);
Ddisassembly-view.ts76 block_id: null,
80 BLOCK_HEADER_STYLE.block_id = Number(matches[0]);
81 return BLOCK_HEADER_STYLE.block_id;
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Ddependence_analysis.cpp2789 int block_id = 36; in TEST() local
2790 ASSERT_TRUE(spvtest::GetBasicBlock(f, block_id)); in TEST()
2792 for (const Instruction& inst : *spvtest::GetBasicBlock(f, block_id)) { in TEST()
3079 int block_id = 37; in TEST() local
3080 ASSERT_TRUE(spvtest::GetBasicBlock(f, block_id)); in TEST()
3082 for (const Instruction& inst : *spvtest::GetBasicBlock(f, block_id)) { in TEST()
3460 int block_id = 31; in TEST() local
3461 ASSERT_TRUE(spvtest::GetBasicBlock(f, block_id)); in TEST()
3463 for (const Instruction& inst : *spvtest::GetBasicBlock(f, block_id)) { in TEST()
3501 int block_id = 62; in TEST() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Ddependence_analysis.cpp2789 int block_id = 36; in TEST() local
2790 ASSERT_TRUE(spvtest::GetBasicBlock(f, block_id)); in TEST()
2792 for (const Instruction& inst : *spvtest::GetBasicBlock(f, block_id)) { in TEST()
3079 int block_id = 37; in TEST() local
3080 ASSERT_TRUE(spvtest::GetBasicBlock(f, block_id)); in TEST()
3082 for (const Instruction& inst : *spvtest::GetBasicBlock(f, block_id)) { in TEST()
3460 int block_id = 31; in TEST() local
3461 ASSERT_TRUE(spvtest::GetBasicBlock(f, block_id)); in TEST()
3463 for (const Instruction& inst : *spvtest::GetBasicBlock(f, block_id)) { in TEST()
3501 int block_id = 62; in TEST() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dkernel_tiling.cc160 llvm::Value* block_id = llvm_ir::EmitCallToIntrinsic( in EmitBlockIndex() local
163 llvm::cast<llvm::Instruction>(block_id)); in EmitBlockIndex()
165 b_->CreateIntCast(block_id, index_ty, /*isSigned=*/true, "block.id.x"); in EmitBlockIndex()
/external/eigen/unsupported/Eigen/src/SparseExtra/
DBlockSparseMatrix.h676 VectorXi block_id(m_outerBSize); // To be used as a block marker during insertion
684 block_id(bj) = m_outerIndex[bj];
696 m_indices[block_id(outer)] = inner;
698 StorageIndex nz_marker = blockPtr(block_id[outer]);
702 m_blockPtr[block_id(outer)+1] = m_blockPtr[block_id(outer)] + block_size;
704 block_id(outer)++;

12