Lines Matching defs:source

2 // Use of this source code is governed by a BSD-style license that can be
250 MapRef source = MakeRefAssumeMemoryFence(broker, *group[i]);
251 if (inferred.find(source) != inferred.end()) {
252 new_group.push_back(source.object());
440 void JSHeapBroker::SetFeedback(FeedbackSource const& source,
442 CHECK(source.IsValid());
443 auto insertion = feedback_.insert({source, feedback});
447 bool JSHeapBroker::HasFeedback(FeedbackSource const& source) const {
448 DCHECK(source.IsValid());
449 return feedback_.find(source) != feedback_.end();
453 FeedbackSource const& source) const {
454 DCHECK(source.IsValid());
455 auto it = feedback_.find(source);
461 FeedbackSource const& source) const {
462 if (HasFeedback(source)) return GetFeedback(source).slot_kind();
463 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
467 bool JSHeapBroker::FeedbackIsInsufficient(FeedbackSource const& source) const {
468 if (HasFeedback(source)) return GetFeedback(source).IsInsufficient();
469 return FeedbackNexus(source.vector, source.slot, feedback_nexus_config())
479 FeedbackSource const& source, AccessMode mode,
481 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
538 FeedbackSource const& source) {
539 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
583 FeedbackSource const& source) const {
584 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
592 FeedbackSource const& source) const {
593 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
601 FeedbackSource const& source) const {
602 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
610 FeedbackSource const& source) {
611 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
626 FeedbackSource const& source) {
627 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
641 FeedbackSource const& source) {
642 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
656 FeedbackSource const& source) {
657 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
670 FeedbackSource const& source) {
671 FeedbackNexus nexus(source.vector, source.slot, feedback_nexus_config());
691 FeedbackSource const& source) {
692 ProcessedFeedback const& feedback = ProcessFeedbackForBinaryOperation(source);
698 FeedbackSource const& source) {
700 ProcessFeedbackForCompareOperation(source);
705 ForInHint JSHeapBroker::GetFeedbackForForIn(FeedbackSource const& source) {
706 ProcessedFeedback const& feedback = ProcessFeedbackForForIn(source);
712 FeedbackSource const& source) {
713 if (HasFeedback(source)) return GetFeedback(source);
715 ReadFeedbackForArrayOrObjectLiteral(source);
716 SetFeedback(source, &feedback);
721 FeedbackSource const& source) {
722 if (HasFeedback(source)) return GetFeedback(source);
723 ProcessedFeedback const& feedback = ReadFeedbackForRegExpLiteral(source);
724 SetFeedback(source, &feedback);
729 FeedbackSource const& source) {
730 if (HasFeedback(source)) return GetFeedback(source);
731 ProcessedFeedback const& feedback = ReadFeedbackForTemplateObject(source);
732 SetFeedback(source, &feedback);
737 FeedbackSource const& source) {
738 if (HasFeedback(source)) return GetFeedback(source);
739 ProcessedFeedback const& feedback = ReadFeedbackForBinaryOperation(source);
740 SetFeedback(source, &feedback);
745 FeedbackSource const& source) {
746 if (HasFeedback(source)) return GetFeedback(source);
747 ProcessedFeedback const& feedback = ReadFeedbackForCompareOperation(source);
748 SetFeedback(source, &feedback);
753 FeedbackSource const& source) {
754 if (HasFeedback(source)) return GetFeedback(source);
755 ProcessedFeedback const& feedback = ReadFeedbackForForIn(source);
756 SetFeedback(source, &feedback);
761 FeedbackSource const& source, AccessMode mode,
763 if (HasFeedback(source)) return GetFeedback(source);
765 ReadFeedbackForPropertyAccess(source, mode, static_name);
766 SetFeedback(source, &feedback);
771 FeedbackSource const& source) {
772 if (HasFeedback(source)) return GetFeedback(source);
773 ProcessedFeedback const& feedback = ReadFeedbackForInstanceOf(source);
774 SetFeedback(source, &feedback);
779 FeedbackSource const& source) {
780 if (HasFeedback(source)) return GetFeedback(source);
781 ProcessedFeedback const& feedback = ReadFeedbackForCall(source);
782 SetFeedback(source, &feedback);
787 FeedbackSource const& source) {
788 if (HasFeedback(source)) return GetFeedback(source);
789 ProcessedFeedback const& feedback = ReadFeedbackForGlobalAccess(source);
790 SetFeedback(source, &feedback);
860 // feedback. This implies that "a source is not a target".