Home
last modified time | relevance | path

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

/external/v8/src/ic/
Dstub-cache.h29 friend class StubCache; variable
33 class StubCache {
62 SCTableReference key_reference(StubCache::Table table) { in key_reference()
67 SCTableReference map_reference(StubCache::Table table) { in map_reference()
72 SCTableReference value_reference(StubCache::Table table) { in value_reference()
77 StubCache::Entry* first_entry(StubCache::Table table) { in first_entry()
79 case StubCache::kPrimary: in first_entry()
80 return StubCache::primary_; in first_entry()
81 case StubCache::kSecondary: in first_entry()
82 return StubCache::secondary_; in first_entry()
[all …]
Dstub-cache.cc14 StubCache::StubCache(Isolate* isolate) : isolate_(isolate) {} in StubCache() function in v8::internal::StubCache
17 void StubCache::Initialize() { in Initialize()
45 Code* StubCache::Set(Name* name, Map* map, Code* code) { in Set()
73 Code* StubCache::Get(Name* name, Map* map, Code::Flags flags) { in Get()
91 void StubCache::Clear() { in Clear()
106 void StubCache::CollectMatchingMaps(SmallMapList* types, Handle<Name> name, in CollectMatchingMaps()
/external/v8/src/ic/x64/
Dstub-cache-x64.cc18 Code::Flags flags, StubCache::Table table, in ProbeTable()
26 ? kPointerSizeLog2 == StubCache::kCacheIndexShift + 1 in ProbeTable()
27 : kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
30 DCHECK_EQ(3u * kPointerSize, sizeof(StubCache::Entry)); in ProbeTable()
67 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
69 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
82 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/s390/
Dstub-cache-s390.cc18 Code::Flags flags, StubCache::Table table, in ProbeTable()
51 DCHECK(kPointerSizeLog2 > StubCache::kCacheIndexShift); in ProbeTable()
53 Operand(kPointerSizeLog2 - StubCache::kCacheIndexShift)); in ProbeTable()
55 DCHECK(kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
84 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
86 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
100 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/ppc/
Dstub-cache-ppc.cc18 Code::Flags flags, StubCache::Table table, in ProbeTable()
51 DCHECK(kPointerSizeLog2 > StubCache::kCacheIndexShift); in ProbeTable()
53 Operand(kPointerSizeLog2 - StubCache::kCacheIndexShift)); in ProbeTable()
55 DCHECK(kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
88 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
90 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
105 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/arm64/
Dstub-cache-arm64.cc26 Code::Flags flags, StubCache::Table table, in ProbeTable()
31 STATIC_ASSERT(sizeof(StubCache::Entry) == (3 * kPointerSize)); in ProbeTable()
74 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
76 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
90 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/x87/
Dstub-cache-x87.cc20 StubCache::Table table, Register name, Register receiver, in ProbeTable()
57 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
59 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
112 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
114 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
146 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/ia32/
Dstub-cache-ia32.cc20 StubCache::Table table, Register name, Register receiver, in ProbeTable()
57 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
59 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
112 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
114 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
146 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/
Dexternal-reference-table.cc343 StubCache* stub_cache = isolate->stub_cache(); in ExternalReferenceTable()
346 Add(stub_cache->key_reference(StubCache::kPrimary).address(), in ExternalReferenceTable()
348 Add(stub_cache->value_reference(StubCache::kPrimary).address(), in ExternalReferenceTable()
350 Add(stub_cache->map_reference(StubCache::kPrimary).address(), in ExternalReferenceTable()
352 Add(stub_cache->key_reference(StubCache::kSecondary).address(), in ExternalReferenceTable()
354 Add(stub_cache->value_reference(StubCache::kSecondary).address(), in ExternalReferenceTable()
356 Add(stub_cache->map_reference(StubCache::kSecondary).address(), in ExternalReferenceTable()
Dcode-stub-assembler.cc2459 STATIC_ASSERT(StubCache::kCacheIndexShift == Name::kHashShift); in StubCachePrimaryOffset()
2476 uint32_t mask = (StubCache::kPrimaryTableSize - 1) in StubCachePrimaryOffset()
2477 << StubCache::kCacheIndexShift; in StubCachePrimaryOffset()
2492 int32_t mask = (StubCache::kSecondaryTableSize - 1) in StubCacheSecondaryOffset()
2493 << StubCache::kCacheIndexShift; in StubCacheSecondaryOffset()
2498 kPrimary = static_cast<int>(StubCache::kPrimary),
2499 kSecondary = static_cast<int>(StubCache::kSecondary)
2503 StubCache* stub_cache, StubCacheTable table_id, in TryProbeStubCacheTable()
2507 StubCache::Table table = static_cast<StubCache::Table>(table_id); in TryProbeStubCacheTable()
2509 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in TryProbeStubCacheTable()
[all …]
Dcode-stub-assembler.h16 class StubCache; variable
411 void TryProbeStubCacheTable(StubCache* stub_cache, StubCacheTable table_id,
417 void TryProbeStubCache(StubCache* stub_cache, Code::Flags flags,
Disolate.h77 class StubCache; variable
842 StubCache* stub_cache() { return stub_cache_; } in stub_cache()
1285 StubCache* stub_cache_;
Disolate.cc2198 stub_cache_ = new StubCache(this); in Init()
/external/v8/src/ic/mips64/
Dstub-cache-mips64.cc18 Code::Flags flags, StubCache::Table table, in ProbeTable()
74 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
76 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
90 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/mips/
Dstub-cache-mips.cc18 Code::Flags flags, StubCache::Table table, in ProbeTable()
72 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
74 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
88 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/src/ic/arm/
Dstub-cache-arm.cc18 Code::Flags flags, StubCache::Table table, in ProbeTable()
79 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { in ProbeTable()
81 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { in ProbeTable()
94 void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, in GenerateProbe()
/external/v8/test/cctest/
Dtest-code-stub-assembler.cc1106 void TestStubCacheOffsetCalculation(StubCache::Table table, in TestStubCacheOffsetCalculation()
1119 if (table == StubCache::kPrimary) { in TestStubCacheOffsetCalculation()
1122 CHECK_EQ(StubCache::kSecondary, table); in TestStubCacheOffsetCalculation()
1167 StubCache::PrimaryOffsetForTesting(*name, code_flags, *map); in TestStubCacheOffsetCalculation()
1168 if (table == StubCache::kPrimary) { in TestStubCacheOffsetCalculation()
1171 expected_result = StubCache::SecondaryOffsetForTesting( in TestStubCacheOffsetCalculation()
1186 TestStubCacheOffsetCalculation(StubCache::kPrimary, Code::LOAD_IC); in TEST()
1190 TestStubCacheOffsetCalculation(StubCache::kPrimary, Code::STORE_IC); in TEST()
1194 TestStubCacheOffsetCalculation(StubCache::kSecondary, Code::LOAD_IC); in TEST()
1198 TestStubCacheOffsetCalculation(StubCache::kSecondary, Code::STORE_IC); in TEST()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/
Dperf_report_output.txt982 0.12^3578004^HTMLParserThrea^chrome ^[.] v8::internal::StubCache::ComputePolymorphicL…
984 …--- v8::internal::StubCache::ComputePolymorphicLoadIC(v8::internal::List<v8::internal::Handle<v8::…
1423 0.12^3531175^HTMLParserThrea^chrome ^[.] v8::internal::StubCache::ComputeLoadNonexist…
1425 …--- v8::internal::StubCache::ComputeLoadNonexistent(v8::internal::Handle<v8::internal::Name>, v8::…
2195 0.09^2673092^HTMLParserThrea^chrome ^[.] v8::internal::StubCache::ComputeCallPreMonom…
2197 … --- v8::internal::StubCache::ComputeCallPreMonomorphic(int, v8::internal::Code::Kind, int)
2469 0.05^1523423^HTMLParserThrea^chrome ^[.] v8::internal::StubCache::ComputeLoadNormal(v…
2471 …--- v8::internal::StubCache::ComputeLoadNormal(v8::internal::Handle<v8::internal::Name>, v8::inter…