Home
last modified time | relevance | path

Searched refs:ToSize (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dinlined_vector_benchmark.cc449 template <typename T, size_t ToSize>
452 auto size = ToSize; in BM_ConstructFromSize()
465 template <typename T, size_t ToSize>
468 auto size = ToSize; in BM_ConstructFromSizeRef()
483 template <typename T, size_t ToSize>
486 std::array<T, ToSize> arr{}; in BM_ConstructFromRange()
499 template <typename T, size_t ToSize>
502 VecT other_vec(ToSize); in BM_ConstructFromCopy()
516 template <typename T, size_t ToSize>
525 vector_batch[i].resize(ToSize); in BM_ConstructFromMove()
[all …]
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerMutate.cpp280 uint8_t *To, size_t ToSize) { in CopyPartOf() argument
282 size_t ToBeg = Rand(ToSize); in CopyPartOf()
283 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf()
284 assert(ToBeg + CopySize <= ToSize); in CopyPartOf()
289 return ToSize; in CopyPartOf()
295 uint8_t *To, size_t ToSize, in InsertPartOf() argument
297 if (ToSize >= MaxToSize) return 0; in InsertPartOf()
298 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf()
303 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf()
305 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf()
[all …]
DFuzzerMutate.h107 size_t ToSize, size_t MaxToSize);
109 size_t ToSize);
/third_party/node/deps/v8/src/compiler/backend/
Dspill-placer.cc277 entries_[block->rpo_number().ToSize()].SetSpillRequiredSingleValue( in SetSpillRequired()
284 entries_[block.ToSize()].SetDefinitionSingleValue(value_index); in SetDefinition()
306 const Entry& successor_entry = entries_[successor_id.ToSize()]; in FirstBackwardPass()
361 const Entry& predecessor_entry = entries_[predecessor_id.ToSize()]; in ForwardPass()
411 const Entry& successor_entry = entries_[successor_id.ToSize()]; in SecondBackwardPass()
455 const Entry& successor_entry = entries_[successor_id.ToSize()]; in SecondBackwardPass()
Dinstruction.h1067 size_t ToSize() const { in ToSize() function
1671 return instruction_blocks_->at(rpo_number.ToSize()); in NON_EXPORTED_BASE()
1675 return instruction_blocks_->at(block->loop_end().ToSize() - 1) in NON_EXPORTED_BASE()
1680 return instruction_blocks_->at(rpo_number.ToSize()); in NON_EXPORTED_BASE()
1767 DCHECK(!rpo_immediates().at(rpo_number.ToSize()).IsValid() || in NON_EXPORTED_BASE()
1768 rpo_immediates().at(rpo_number.ToSize()) == rpo_number); in NON_EXPORTED_BASE()
1769 rpo_immediates()[rpo_number.ToSize()] = rpo_number; in NON_EXPORTED_BASE()
Dinstruction.cc737 DCHECK(GetRpo(*it).ToSize() == rpo_number); in InstructionBlocksFor()
816 instruction_blocks_->at(block->loop_end().ToSize() - 1); in ComputeAssemblyOrder()
1188 return os << rpo.ToSize(); in operator <<()
Dcode-generator.h148 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel()
Dregister-allocator.h337 spill_state_[block.ToSize()] = state; in RememberSpillState()
341 auto& result = spill_state_[block.ToSize()]; in GetSpillState()
Dregister-allocator.cc1890 size_t block_index = block->rpo_number().ToSize(); in ComputeLiveOut()
1904 BitVector* live_in = data->live_in_sets()[succ.ToSize()]; in ComputeLiveOut()
/third_party/node/deps/v8/src/compiler/
Dschedule.cc153 return os << id.ToSize(); in operator <<()
179 DCHECK(block_id.ToSize() < all_blocks_.size()); in GetBlockById()
180 return all_blocks_[block_id.ToSize()]; in GetBlockById()
184 DCHECK(block_id.ToSize() < all_blocks_.size()); in ClearBlockById()
185 all_blocks_[block_id.ToSize()] = nullptr; in ClearBlockById()
Draw-machine-assembler.cc267 current_effect = block_final_effect[predecessor->id().ToSize()]; in MakeReschedulable()
268 current_control = block_final_control[predecessor->id().ToSize()]; in MakeReschedulable()
277 merge_inputs.push_back(block_final_control[predecessor->id().ToSize()]); in MakeReschedulable()
279 block_final_effect[predecessor->id().ToSize()]); in MakeReschedulable()
328 block_final_effect[block->id().ToSize()] = current_effect; in MakeReschedulable()
329 block_final_control[block->id().ToSize()] = current_control; in MakeReschedulable()
383 return sidetable[predecessors.front()->id().ToSize()]; in CreateNodeFromPredecessors()
388 inputs.push_back(sidetable[predecessor->id().ToSize()]); in CreateNodeFromPredecessors()
Dscheduler.cc472 profile_data->GetCounter(successor_blocks[0]->id().ToSize()); in ConnectBranch()
474 profile_data->GetCounter(successor_blocks[1]->id().ToSize()); in ConnectBranch()
1608 DCHECK_LT(block->id().ToSize(), marked_.size()); in IsMarked()
1609 return marked_[block->id().ToSize()]; in IsMarked()
1612 void Mark(BasicBlock* block) { marked_[block->id().ToSize()] = true; } in Mark()
1616 DCHECK_LT(block->id().ToSize(), marked_.size()); in MarkBlock()
1824 size_t block_id = block->id().ToSize(); in ScheduleNode()
1957 NodeVector* from_nodes = scheduled_nodes_[from->id().ToSize()]; in MovePlannedNodes()
1958 NodeVector* to_nodes = scheduled_nodes_[to->id().ToSize()]; in MovePlannedNodes()
1968 std::swap(scheduled_nodes_[from->id().ToSize()], in MovePlannedNodes()
[all …]
Dverifier.cc2008 marked[start->id().ToSize()] = true; in Run()
2014 if (!marked[succ->id().ToSize()]) { in Run()
2015 marked[succ->id().ToSize()] = true; in Run()
2031 CHECK(marked[rpo_order->at(b)->id().ToSize()]); in Run()
2043 dominators[start->id().ToSize()] = in Run()
2048 BitVector* block_doms = dominators[block->id().ToSize()]; in Run()
2056 BitVector* succ_doms = dominators[succ->id().ToSize()]; in Run()
2063 dominators[succ->id().ToSize()] = succ_doms; in Run()
2081 BitVector* block_doms = dominators[block->id().ToSize()]; in Run()
2086 !dominators[idom->id().ToSize()]->Contains(dom->id().ToInt())) { in Run()
Dschedule.h49 size_t ToSize() const { return index_; } in NON_EXPORTED_BASE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfoMetadata.cpp1199 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
1203 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps()
1208 unsigned FromSize, unsigned ToSize, in appendExt() argument
1210 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp540 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits(); in select() local
541 (void)ToSize; in select()
542 assert((ToSize == 32) && "Unsupported integer size for G_FPTOSI"); in select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp540 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
541 if (ToSize != 64 || FromSize != 32) in libcall()
552 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
553 if (ToSize != 32 || FromSize != 64) in libcall()
565 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
566 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
570 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall()
580 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
581 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
585 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h2558 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
2563 unsigned ToSize, bool Signed);