Lines Matching defs:kind

24 FeedbackSlot FeedbackVectorSpec::AddSlot(FeedbackSlotKind kind) {
26 int entries_per_slot = FeedbackMetadata::GetSlotSize(kind);
27 append(kind);
63 std::ostream& operator<<(std::ostream& os, FeedbackSlotKind kind) {
64 return os << FeedbackMetadata::Kind2String(kind);
73 void FeedbackMetadata::SetKind(FeedbackSlot slot, FeedbackSlotKind kind) {
76 int new_data = VectorICComputer::encode(data, slot.ToInt(), kind);
95 FeedbackSlotKind kind = spec->GetKind(FeedbackSlot(i));
96 int entry_size = FeedbackMetadata::GetSlotSize(kind);
98 kind = spec->GetKind(FeedbackSlot(i + j));
99 DCHECK_EQ(FeedbackSlotKind::kInvalid, kind);
113 FeedbackSlotKind kind = spec->GetKind(slot);
114 metadata->SetKind(slot, kind);
134 FeedbackSlotKind kind = GetKind(slot);
135 int entry_size = FeedbackMetadata::GetSlotSize(kind);
137 if (kind != other_spec->GetKind(slot)) {
145 const char* FeedbackMetadata::Kind2String(FeedbackSlotKind kind) {
146 switch (kind) {
276 FeedbackSlotKind kind = feedback_metadata->GetKind(slot);
277 int entry_size = FeedbackMetadata::GetSlotSize(kind);
280 switch (kind) {
390 DCHECK(CodeKindIsOptimizedJSFunction(code->kind()));
549 switch (kind()) {
592 switch (kind()) {
687 switch (kind()) {
722 DCHECK(IsLoadICKind(kind()));
737 DCHECK(IsKeyedLoadICKind(kind()) || IsKeyedStoreICKind(kind()) ||
738 IsKeyedHasICKind(kind()) || IsDefineKeyedOwnICKind(kind()));
844 DCHECK(IsGlobalICKind(kind()));
852 DCHECK(IsGlobalICKind(kind()));
870 DCHECK(IsGlobalICKind(kind()));
957 DCHECK(IsCallICKind(kind()));
966 DCHECK(IsCallICKind(kind()));
980 DCHECK(IsCallICKind(kind()));
989 DCHECK(IsCallICKind(kind()));
998 DCHECK(IsCallICKind(kind()));
1012 if (kind() == FeedbackSlotKind::kDefineKeyedOwnPropertyInLiteral) {
1071 IsDefineKeyedOwnPropertyInLiteralKind(kind()));
1084 DCHECK(!IsDefineKeyedOwnPropertyInLiteralKind(kind()));
1106 DCHECK(!IsStoreInArrayLiteralICKind(kind()));
1117 if (IsKeyedStoreICKind(kind()) || IsKeyedLoadICKind(kind()) ||
1118 IsKeyedHasICKind(kind()) || IsDefineKeyedOwnICKind(kind())) {
1124 if (IsDefineKeyedOwnPropertyInLiteralKind(kind())) {
1134 DCHECK(IsKeyedLoadICKind(kind()) || IsKeyedHasICKind(kind()));
1200 DCHECK(IsKeyedStoreICKind(kind()) || IsStoreInArrayLiteralICKind(kind()) ||
1201 IsDefineKeyedOwnPropertyInLiteralKind(kind()) ||
1202 IsDefineKeyedOwnICKind(kind()));
1237 } else if (IsDefineKeyedOwnICKind(kind())) {
1264 DCHECK(IsKeyedStoreICKind(kind()) || IsKeyedLoadICKind(kind()) ||
1265 IsStoreInArrayLiteralICKind(kind()) || IsKeyedHasICKind(kind()) ||
1266 IsDefineKeyedOwnPropertyInLiteralKind(kind()) ||
1267 IsDefineKeyedOwnICKind(kind()));
1274 MaybeObject maybe_name = IsDefineKeyedOwnPropertyInLiteralKind(kind()) ||
1275 IsDefineKeyedOwnICKind(kind())
1283 DCHECK_EQ(kind(), FeedbackSlotKind::kBinaryOp);
1289 DCHECK_EQ(kind(), FeedbackSlotKind::kCompareOp);
1295 DCHECK_EQ(kind(), FeedbackSlotKind::kForIn);
1301 DCHECK_EQ(kind(), FeedbackSlotKind::kInstanceOf);
1324 DCHECK(IsTypeProfileKind(kind()));
1364 DCHECK(IsTypeProfileKind(kind()));
1392 DCHECK(IsTypeProfileKind(kind()));
1420 DCHECK(IsTypeProfileKind(kind()));
1427 IsLoadICKind(nexus->kind()) || IsSetNamedICKind(nexus->kind()) ||
1428 IsKeyedLoadICKind(nexus->kind()) || IsKeyedStoreICKind(nexus->kind()) ||
1429 IsDefineNamedOwnICKind(nexus->kind()) ||
1430 IsDefineKeyedOwnPropertyInLiteralKind(nexus->kind()) ||
1431 IsStoreInArrayLiteralICKind(nexus->kind()) ||
1432 IsKeyedHasICKind(nexus->kind()) || IsDefineKeyedOwnICKind(nexus->kind()));