Home
last modified time | relevance | path

Searched refs:ToInt (Results 1 – 25 of 64) sorted by relevance

123

/external/v8/src/compiler/
Djump-threading.cc25 if (result[num.ToInt()] == unvisited()) { in PushIfUnvisited()
27 result[num.ToInt()] = onstack(); in PushIfUnvisited()
32 RpoNumber to_to = result[to.ToInt()]; in Forward()
35 TRACE(" xx %d\n", from.ToInt()); in Forward()
36 result[from.ToInt()] = from; in Forward()
38 TRACE(" fw %d -> %d (recurse)\n", from.ToInt(), to.ToInt()); in Forward()
40 result[to.ToInt()] = onstack(); in Forward()
43 TRACE(" fw %d -> %d (cycle)\n", from.ToInt(), to.ToInt()); in Forward()
44 result[from.ToInt()] = to; // break the cycle. in Forward()
47 TRACE(" fw %d -> %d (forward)\n", from.ToInt(), to.ToInt()); in Forward()
[all …]
Dscheduler.cc390 TRACE("Create block id:%d for #%d:%s\n", block->id().ToInt(), node->id(), in BuildBlockForNode()
541 node->op()->mnemonic(), block->id().ToInt()); in TraceConnect()
544 node->op()->mnemonic(), block->id().ToInt(), succ->id().ToInt()); in TraceConnect()
836 if (loop != nullptr && !loop->members->Contains(succ->id().ToInt())) { in ComputeAndInsertSpecialRPO()
909 current->id().ToInt(), loop_depth); in ComputeAndInsertSpecialRPO()
915 TRACE("id:%d is not in a loop (depth == %d)\n", current->id().ToInt(), in ComputeAndInsertSpecialRPO()
919 current->id().ToInt(), current->loop_header()->id().ToInt(), in ComputeAndInsertSpecialRPO()
955 if (!loops_[loop_num].members->Contains(member->id().ToInt())) { in ComputeLoopInfo()
956 loops_[loop_num].members->Add(member->id().ToInt()); in ComputeLoopInfo()
968 if (!loops_[loop_num].members->Contains(pred->id().ToInt())) { in ComputeLoopInfo()
[all …]
Dlive-range-separator.cc84 int first_block_nr = first_block->rpo_number().ToInt(); in SplinterLiveRange()
85 int last_block_nr = last_block->rpo_number().ToInt(); in SplinterLiveRange()
Dschedule.cc458 os << "--- BLOCK id:" << block->id().ToInt(); in operator <<()
469 os << "id:" << predecessor->id().ToInt(); in operator <<()
498 os << "id:" << successor->id().ToInt(); in operator <<()
Dcode-generator.cc138 buffer, "-- B%d start%s%s%s%s", block->rpo_number().ToInt(), in GenerateCode()
148 SNPrintF(buffer, " (loop up to %d)", block->loop_end().ToInt()); in GenerateCode()
153 SNPrintF(buffer, " (in loop %d)", block->loop_header().ToInt()); in GenerateCode()
589 data->SetOsrAstId(Smi::FromInt(info_->osr_ast_id().ToInt())); in PopulateDeoptimizationData()
593 data->SetOsrAstId(Smi::FromInt(osr_ast_id.ToInt())); in PopulateDeoptimizationData()
Dverifier.cc1576 if (idom != nullptr && !block_doms->Contains(idom->id().ToInt())) { in Run()
1588 succ_doms->Add(block->id().ToInt()); in Run()
1593 bool had = succ_doms->Contains(block->id().ToInt()); in Run()
1594 if (had) succ_doms->Remove(block->id().ToInt()); in Run()
1596 if (had) succ_doms->Add(block->id().ToInt()); in Run()
1613 !dominators[idom->id().ToSize()]->Contains(dom->id().ToInt())) { in Run()
Dinstruction.cc595 return os << "RPO" << constant.ToRpoNumber().ToInt(); in operator <<()
700 os << " B" << pred.ToInt(); in operator <<()
725 os << " B" << succ.ToInt(); in operator <<()
Dschedule.h50 int ToInt() const { return static_cast<int>(index_); } in NON_EXPORTED_BASE()
/external/v8/src/compiler/arm/
Dunwinding-info-writer-arm.cc18 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/
Dunwinding-info-writer-arm64.cc18 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/x64/
Dunwinding-info-writer-x64.cc18 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/perfetto/src/traced/probes/
Dprocess_stats_data_source.cc60 inline int ToInt(const std::string& str) { in ToInt() function
127 int tgid = ToInt(ReadProcStatusEntry(proc_status, "Tgid:")); in WriteProcessOrThread()
140 PERFETTO_DCHECK(ToInt(ReadProcStatusEntry(proc_status, "Tgid:")) == pid); in WriteProcess()
143 proc->set_ppid(ToInt(ReadProcStatusEntry(proc_status, "PPid:"))); in WriteProcess()
/external/clang/lib/AST/
DASTDiagnostic.cpp619 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/
Dmacros-expected.cc11 inline long long ToInt(argumentType* argumentName) { \
27 long long as_int = ToInt(base_ptr); in F()
/external/v8/src/
Dutils.h884 int ToInt() const { return id_; }
896 return lhs.ToInt() < rhs.ToInt();
899 return lhs.ToInt() > rhs.ToInt();
907 int ToInt() const { return id_; }
915 friend size_t hash_value(FeedbackSlot slot) { return slot.ToInt(); }
928 int ToInt() const { return id_; }
945 return id_ == ConstructStubCreate().ToInt() ||
946 id_ == ConstructStubInvoke().ToInt();
Dfeedback-vector.h174 DCHECK(slot.ToInt() >= 0 && slot.ToInt() < slot_count_); in GetKind()
175 return kinds_[slot.ToInt()]; in GetKind()
201 return static_cast<FeedbackSlotKind>(slot_kinds_.at(slot.ToInt())); in GetKind()
298 return kReservedIndexCount + slot.ToInt(); in GetIndex()
Dfeedback-vector-inl.h269 return next_slot_.ToInt() < metadata()->slot_count(); in HasNext()
276 next_slot_ = FeedbackSlot(next_slot_.ToInt() + entry_size()); in Next()
Dtype-info.cc33 return static_cast<uint32_t>(ast_id.ToInt()); in IdToKey()
52 DCHECK(slot.ToInt() >= 0 && slot.ToInt() < feedback_vector_->length()); in GetInfo()
Dcontexts.cc426 Smi* osr_ast_id_smi = Smi::FromInt(osr_ast_id.ToInt()); in SearchOptimizedCodeMapEntry()
500 new_code_map->set(entry + kOsrAstIdOffset, Smi::FromInt(osr_ast_id.ToInt())); in AddToOptimizedCodeMap()
540 PrintF(" (osr ast id %d)]\n", osr.ToInt()); in EvictFromOptimizedCodeMap()
Dfeedback-vector.cc30 int index = VectorICComputer::index(kReservedIndexCount, slot.ToInt()); in GetKind()
32 return VectorICComputer::decode(data, slot.ToInt()); in GetKind()
36 int index = VectorICComputer::index(kReservedIndexCount, slot.ToInt()); in SetKind()
38 int new_data = VectorICComputer::encode(data, slot.ToInt(), kind); in SetKind()
Ddeoptimizer.cc594 os << "[couldn't find pc offset for node=" << id.ToInt() << "]\n" in GetOutputInfo()
639 int bytecode_offset = translated_frame->node_id().ToInt(); in LookupCatchHandler()
791 bailout_id_, node_id.ToInt(), output_[index]->GetPc(), in DoComputeOutputFrames()
826 PrintF(trace_scope_->file(), " => node=%d, height=%d%s\n", node_id.ToInt(), in DoComputeJSFrame()
1050 int bytecode_offset = translated_frame->node_id().ToInt(); in DoComputeInterpretedFrame()
1529 bailout_id.ToInt(), in DoComputeConstructStubFrame()
2344 buffer_->Add(bailout_id.ToInt()); in BeginConstructStubFrame()
2376 buffer_->Add(node_id.ToInt()); in BeginJSFrame()
2385 buffer_->Add(bytecode_offset.ToInt()); in BeginInterpretedFrame()
2781 ->SourcePosition(node_id.ToInt()); in ComputeSourcePositionFromBytecodeArray()
[all …]
/external/v8/src/runtime/
Druntime-compiler.cc333 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
349 ast_id.ToInt(), data->OsrPcOffset()->value()); in RUNTIME_FUNCTION()
380 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
Druntime-literals.cc240 CHECK(literals_slot.ToInt() < vector->slot_count()); in RUNTIME_FUNCTION()
308 CHECK(literals_slot.ToInt() < vector->slot_count()); in CreateArrayLiteralImpl()
/external/v8/src/ast/
Dprettyprinter.cc448 pos += SNPrintF(*buf + pos, " Slot(%d)", slot.ToInt()); in FormatSlotNode()
981 SNPrintF(buf, "literal_slot = %d\n", node->literal_slot().ToInt()); in VisitRegExpLiteral()
1000 SNPrintF(buf, "literal_slot = %d\n", node->literal_slot().ToInt()); in VisitObjectLiteral()
1046 SNPrintF(buf, "literal_slot = %d\n", node->literal_slot().ToInt()); in VisitArrayLiteral()
/external/clang/test/SemaCXX/
Dtype-traits.cpp1758 struct ToInt { operator int(); }; struct
1787 { int arr[T(__is_convertible_to(ToInt, int))]; } in is_convertible_to()
1788 { int arr[T(__is_convertible_to(ToInt, const int&))]; } in is_convertible_to()
1789 { int arr[T(__is_convertible_to(ToInt, long))]; } in is_convertible_to()
1790 { int arr[F(__is_convertible_to(ToInt, int&))]; } in is_convertible_to()
1791 { int arr[F(__is_convertible_to(ToInt, FromInt))]; } in is_convertible_to()

123