/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | runtime_conv2d_mkl.cc | 31 int ToInt(int64 input) { in ToInt() function 68 memory::dims conv1_src_dim = {ToInt(input_batch), ToInt(input_channels), in MKLConvImpl() 69 ToInt(input_rows), ToInt(input_cols)}; in MKLConvImpl() 70 memory::dims conv1_weights_dim = {ToInt(kernel_filters), in MKLConvImpl() 71 ToInt(kernel_channels), ToInt(kernel_rows), in MKLConvImpl() 72 ToInt(kernel_cols)}; in MKLConvImpl() 73 memory::dims conv1_dst_dim = {ToInt(input_batch), ToInt(kernel_filters), in MKLConvImpl() 74 ToInt(output_rows), ToInt(output_cols)}; in MKLConvImpl() 75 memory::dims conv1_strides = {ToInt(row_stride), ToInt(col_stride)}; in MKLConvImpl() 77 memory::dims conv1_dilates = {ToInt(rhs_row_dilation - 1), in MKLConvImpl() [all …]
|
/external/v8/src/compiler/ |
D | jump-threading.cc | 26 if (result[num.ToInt()] == unvisited()) { in PushIfUnvisited() 28 result[num.ToInt()] = onstack(); in PushIfUnvisited() 33 RpoNumber to_to = result[to.ToInt()]; in Forward() 36 TRACE(" xx %d\n", from.ToInt()); in Forward() 37 result[from.ToInt()] = from; in Forward() 39 TRACE(" fw %d -> %d (recurse)\n", from.ToInt(), to.ToInt()); in Forward() 41 result[to.ToInt()] = onstack(); in Forward() 44 TRACE(" fw %d -> %d (cycle)\n", from.ToInt(), to.ToInt()); in Forward() 45 result[from.ToInt()] = to; // break the cycle. in Forward() 48 TRACE(" fw %d -> %d (forward)\n", from.ToInt(), to.ToInt()); in Forward() [all …]
|
D | scheduler.cc | 418 TRACE("Create block id:%d for #%d:%s\n", block->id().ToInt(), node->id(), in BuildBlockForNode() 569 node->op()->mnemonic(), block->id().ToInt()); in TraceConnect() 572 node->op()->mnemonic(), block->id().ToInt(), succ->id().ToInt()); in TraceConnect() 866 if (loop != nullptr && !loop->members->Contains(succ->id().ToInt())) { in ComputeAndInsertSpecialRPO() 939 current->id().ToInt(), loop_depth); in ComputeAndInsertSpecialRPO() 945 TRACE("id:%d is not in a loop (depth == %d)\n", current->id().ToInt(), in ComputeAndInsertSpecialRPO() 949 current->id().ToInt(), current->loop_header()->id().ToInt(), in ComputeAndInsertSpecialRPO() 983 if (!loops_[loop_num].members->Contains(member->id().ToInt())) { in ComputeLoopInfo() 984 loops_[loop_num].members->Add(member->id().ToInt()); in ComputeLoopInfo() 996 if (!loops_[loop_num].members->Contains(pred->id().ToInt())) { in ComputeLoopInfo() [all …]
|
D | live-range-separator.cc | 84 int first_block_nr = first_block->rpo_number().ToInt(); in SplinterLiveRange() 85 int last_block_nr = last_block->rpo_number().ToInt(); in SplinterLiveRange()
|
/external/v8/src/ |
D | conversions-inl.h | 146 if (number->IsSmi()) return Smi::ToInt(number); in NumberToInt32() 151 if (number->IsSmi()) return Smi::ToInt(number); in NumberToUint32() 157 int value = Smi::ToInt(number); in PositiveNumberToUint32() 171 if (number->IsSmi()) return Smi::ToInt(number); in NumberToInt64() 185 int value = Smi::ToInt(number); in PositiveNumberToUint64() 202 int value = Smi::ToInt(number); in TryNumberToSize()
|
D | isolate-inl.h | 163 Smi::ToInt(species_cell->value()) == kProtectorValid; in IsArraySpeciesLookupChainIntact() 169 Smi::ToInt(species_cell->value()) == kProtectorValid; in IsTypedArraySpeciesLookupChainIntact() 175 Smi::ToInt(species_cell->value()) == kProtectorValid; in IsPromiseSpeciesLookupChainIntact()
|
D | string-builder.cc | 23 int encoded_slice = Smi::ToInt(element); in StringBuilderConcatHelper() 34 pos = Smi::ToInt(obj); in StringBuilderConcatHelper() 65 int smi_value = Smi::ToInt(elt); in StringBuilderConcatLength() 80 pos = Smi::ToInt(next_smi); in StringBuilderConcatLength()
|
D | feedback-vector.cc | 37 if (slots() <= slot.ToInt()) { in HasTypeProfileSlot() 60 int index = VectorICComputer::index(0, slot.ToInt()); in GetKind() 62 return VectorICComputer::decode(data, slot.ToInt()); in GetKind() 66 int index = VectorICComputer::index(0, slot.ToInt()); in SetKind() 68 int new_data = VectorICComputer::encode(data, slot.ToInt(), kind); in SetKind() 185 return slot.ToInt() < slot_count() && in HasTypeProfileSlot() 823 uint32_t value = static_cast<uint32_t>(Smi::ToInt(call_count)); in GetCallCount() 832 uint32_t count = static_cast<uint32_t>(Smi::ToInt(call_count)); in SetSpeculationMode() 843 uint32_t value = static_cast<uint32_t>(Smi::ToInt(call_count)); in GetSpeculationMode() 1118 return static_cast<IcCheckType>(Smi::ToInt(GetFeedbackExtra()->ToObject())); in GetKeyType() [all …]
|
D | feedback-vector-inl.h | 294 int const feedback = Smi::ToInt(obj->ToSmi()); in ComputeCounts() 306 int const feedback = Smi::ToInt(obj->ToSmi()); in ComputeCounts() 318 int const feedback = Smi::ToInt(obj->ToSmi()); in ComputeCounts() 376 return next_slot_.ToInt() < metadata()->slot_count(); in HasNext() 383 next_slot_ = FeedbackSlot(next_slot_.ToInt() + entry_size()); in Next()
|
D | objects-debug.cc | 791 int mappedIndex = Smi::ToInt(mapped); in SloppyArgumentsElementsVerify() 850 int month = Smi::ToInt(this->month()); in JSDateVerify() 854 int day = Smi::ToInt(this->day()); in JSDateVerify() 858 int hour = Smi::ToInt(this->hour()); in JSDateVerify() 862 int min = Smi::ToInt(this->min()); in JSDateVerify() 866 int sec = Smi::ToInt(this->sec()); in JSDateVerify() 870 int weekday = Smi::ToInt(this->weekday()); in JSDateVerify() 874 CHECK(Smi::ToInt(cache_stamp()) <= in JSDateVerify() 875 Smi::ToInt(isolate->date_cache()->stamp())); in JSDateVerify() 1053 int value = Smi::ToInt(number); in OddballVerify() [all …]
|
D | layout-descriptor-inl.h | 86 uint32_t value = static_cast<uint32_t>(Smi::ToInt(this)); in SetTagged() 113 uint32_t value = static_cast<uint32_t>(Smi::ToInt(this)); in IsTagged()
|
D | arguments-inl.h | 21 int Arguments::smi_at(int index) { return Smi::ToInt((*this)[index]); } in smi_at()
|
/external/v8/src/objects/ |
D | ordered-hash-table.h | 115 return Smi::ToInt(get(kNumberOfElementsIndex)); in NumberOfElements() 119 return Smi::ToInt(get(kNumberOfDeletedElementsIndex)); in NumberOfDeletedElements() 128 int NumberOfBuckets() const { return Smi::ToInt(get(kNumberOfBucketsIndex)); } in NumberOfBuckets() 140 return Smi::ToInt(entry); in HashToEntry() 147 uint32_t hash = ComputeIntegerHash(Smi::ToInt(key)); in KeyToFirstEntry() 154 return HashToEntry(Smi::ToInt(hash)); in KeyToFirstEntry() 171 return Smi::ToInt(next_entry); in NextChainEntry() 187 return Smi::ToInt(get(kRemovedHolesIndex + index)); in RemovedIndexAt() 486 int entry = HashToFirstEntry(Smi::ToInt(hash)); in FindEntry() 657 void MoveNext() { set_index(Smi::FromInt(Smi::ToInt(index()) + 1)); } in MoveNext()
|
D | scope-info.cc | 248 int info = Smi::ToInt(scope_info->get(info_index)); in Create() 599 return Smi::ToInt(get(PositionInfoIndex())); in StartPosition() 604 return Smi::ToInt(get(PositionInfoIndex() + 1)); in EndPosition() 635 int value = Smi::ToInt(get(info_index)); in ContextLocalMode() 643 int value = Smi::ToInt(get(info_index)); in ContextLocalInitFlag() 651 int value = Smi::ToInt(get(info_index)); in ContextLocalIsParameter() 658 int value = Smi::ToInt(get(info_index)); in ContextLocalParameterNumber() 666 int value = Smi::ToInt(get(info_index)); in ContextLocalMaybeAssignedFlag() 689 int module_vars_count = Smi::ToInt(get(ModuleVariableCountIndex())); in ModuleIndex() 761 return Smi::ToInt(get(ReceiverInfoIndex())); in ReceiverContextSlotIndex() [all …]
|
D | hash-table-inl.h | 19 return Smi::ToInt(get(kNumberOfElementsIndex)); in NumberOfElements() 23 return Smi::ToInt(get(kNumberOfDeletedElementsIndex)); in NumberOfDeletedElements() 26 int HashTableBase::Capacity() const { return Smi::ToInt(get(kCapacityIndex)); } in Capacity() 142 return FindEntry(ReadOnlyRoots(isolate), key, Smi::ToInt(hash)) != kNotFound; in Has()
|
D | templates-inl.h | 106 return EmbedderFieldCount::decode(Smi::ToInt(value)); in embedder_field_count() 112 Smi::FromInt(EmbedderFieldCount::update(Smi::ToInt(data()), count))); in set_embedder_field_count() 118 return IsImmutablePrototype::decode(Smi::ToInt(value)); in immutable_proto() 123 IsImmutablePrototype::update(Smi::ToInt(data()), immutable))); in set_immutable_proto()
|
D | compilation-cache-inl.h | 56 int language_unchecked = Smi::ToInt(val->get(2)); in HashForObject() 59 int position = Smi::ToInt(val->get(3)); in HashForObject()
|
/external/v8/src/compiler/arm/ |
D | unwinding-info-writer-arm.cc | 18 DCHECK_LT(block->rpo_number().ToInt(), in BeginInstructionBlock() 21 block_initial_states_[block->rpo_number().ToInt()]; in BeginInstructionBlock() 45 int successor_index = successor.ToInt(); in EndInstructionBlock()
|
/external/v8/src/compiler/arm64/ |
D | unwinding-info-writer-arm64.cc | 18 DCHECK_LT(block->rpo_number().ToInt(), in BeginInstructionBlock() 21 block_initial_states_[block->rpo_number().ToInt()]; in BeginInstructionBlock() 46 int successor_index = successor.ToInt(); in EndInstructionBlock()
|
/external/v8/src/compiler/x64/ |
D | unwinding-info-writer-x64.cc | 18 DCHECK_LT(block->rpo_number().ToInt(), in BeginInstructionBlock() 21 block_initial_states_[block->rpo_number().ToInt()]; in BeginInstructionBlock() 50 int successor_index = successor.ToInt(); in EndInstructionBlock()
|
/external/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 619 void SetIntegerDiff(const llvm::APSInt &FromInt, const llvm::APSInt &ToInt, in SetIntegerDiff() argument 627 FlatTree[CurrentNode].ToArgInfo.Val = ToInt; in SetIntegerDiff() 656 Expr *FromExpr, const llvm::APSInt &ToInt, bool IsValidToInt, in SetFromDeclarationAndToIntegerDiff() argument 664 FlatTree[CurrentNode].ToArgInfo.Val = ToInt; in SetFromDeclarationAndToIntegerDiff() 775 void GetIntegerDiff(llvm::APSInt &FromInt, llvm::APSInt &ToInt, in GetIntegerDiff() argument 781 ToInt = FlatTree[ReadNode].ToArgInfo.Val; in GetIntegerDiff() 807 Expr *&FromExpr, llvm::APSInt &ToInt, bool &IsValidToInt, in GetFromDeclarationAndToIntegerDiff() argument 815 ToInt = FlatTree[ReadNode].ToArgInfo.Val; in GetFromDeclarationAndToIntegerDiff() 1207 llvm::APSInt FromInt, ToInt; in DiffNonTypes() local 1215 InitializeNonTypeDiffVariables(Context, ToIter, ToDefaultNonTypeDecl, ToInt, in DiffNonTypes() [all …]
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
D | macros-expected.cc | 11 inline long long ToInt(argumentType* argumentName) { \ 27 long long as_int = ToInt(base_ptr); in F()
|
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source.cc | 74 inline int ToInt(const std::string& str) { in ToInt() function 211 int tgid = ToInt(ReadProcStatusEntry(proc_status, "Tgid:")); in WriteProcessOrThread() 227 PERFETTO_DCHECK(ToInt(ReadProcStatusEntry(proc_status, "Tgid:")) == pid); in WriteProcess() 230 proc->set_ppid(ToInt(ReadProcStatusEntry(proc_status, "PPid:"))); in WriteProcess() 395 auto counter = ToInt(oom_score_adj); in WriteAllProcessStats()
|
/external/v8/src/runtime/ |
D | runtime-compiler.cc | 247 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION() 263 ast_id.ToInt(), data->OsrPcOffset()->value()); in RUNTIME_FUNCTION() 286 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
|
D | runtime-collections.cc | 49 Smi::ToInt(holder->index())); in RUNTIME_FUNCTION() 79 Smi::ToInt(holder->index())); in RUNTIME_FUNCTION()
|