Lines Matching refs:HValue
44 Isolate* HValue::isolate() const { in HYDROGEN_CONCRETE_INSTRUCTION_LIST()
50 void HValue::AssumeRepresentation(Representation r) { in AssumeRepresentation()
60 void HValue::InferRepresentation(HInferRepresentationPhase* h_infer) { in InferRepresentation()
73 Representation HValue::RepresentationFromUses() { in RepresentationFromUses()
80 HValue* use = it.value(); in RepresentationFromUses()
105 void HValue::UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
121 void HValue::AddDependantsToWorklist(HInferRepresentationPhase* h_infer) { in AddDependantsToWorklist()
316 bool HValue::IsDefinedAfter(HBasicBlock* other) const { in IsDefinedAfter()
323 while (tail_ != NULL && tail_->value()->CheckFlag(HValue::kIsDead)) { in tail()
330 bool HValue::CheckUsesForFlag(Flag f) const { in CheckUsesForFlag()
339 bool HValue::CheckUsesForFlag(Flag f, HValue** value) const { in CheckUsesForFlag()
351 bool HValue::HasAtLeastOneUseWithFlagAndNoneWithout(Flag f) const { in HasAtLeastOneUseWithFlagAndNoneWithout()
377 int HValue::UseCount() const { in UseCount()
384 HUseListNode* HValue::RemoveUse(HValue* value, int index) { in RemoveUse()
415 bool HValue::Equals(HValue* other) { in Equals()
430 intptr_t HValue::Hashcode() { in Hashcode()
440 const char* HValue::Mnemonic() const { in Mnemonic()
451 bool HValue::CanReplaceWithDummyUses() { in CanReplaceWithDummyUses()
464 bool HValue::IsInteger32Constant() { in IsInteger32Constant()
469 int32_t HValue::GetInteger32Constant() { in GetInteger32Constant()
474 bool HValue::EqualsInteger32Constant(int32_t value) { in EqualsInteger32Constant()
479 void HValue::SetOperandAt(int index, HValue* value) { in SetOperandAt()
485 void HValue::DeleteAndReplaceWith(HValue* other) { in DeleteAndReplaceWith()
493 void HValue::ReplaceAllUsesWith(HValue* other) { in ReplaceAllUsesWith()
496 HValue* value = list_node->value(); in ReplaceAllUsesWith()
506 void HValue::Kill() { in Kill()
512 HValue* operand = OperandAt(i); in Kill()
522 void HValue::SetBlock(HBasicBlock* block) { in SetBlock()
531 OStream& operator<<(OStream& os, const HValue& v) { return v.PrintTo(os); } in operator <<()
564 bool HValue::HasMonomorphicJSObjectType() { in HasMonomorphicJSObjectType()
569 bool HValue::UpdateInferredType() { in UpdateInferredType()
577 void HValue::RegisterUse(int index, HValue* new_value) { in RegisterUse()
578 HValue* old_value = OperandAt(index); in RegisterUse()
598 void HValue::AddNewRange(Range* r, Zone* zone) { in AddNewRange()
607 void HValue::RemoveLastAddedRange() { in RemoveLastAddedRange()
614 void HValue::ComputeInitialRange(Zone* zone) { in ComputeInitialRange()
635 if (CheckFlag(HValue::kHasNoObservableSideEffects)) os << " [noOSE]"; in PrintTo()
636 if (CheckFlag(HValue::kIsDead)) os << " [dead]"; in PrintTo()
741 HValue* other_operand = OperandAt(i); in Verify()
785 case HValue::kAbnormalExit: in CanDeoptimize()
786 case HValue::kAccessArgumentsAt: in CanDeoptimize()
787 case HValue::kAllocate: in CanDeoptimize()
788 case HValue::kArgumentsElements: in CanDeoptimize()
789 case HValue::kArgumentsLength: in CanDeoptimize()
790 case HValue::kArgumentsObject: in CanDeoptimize()
791 case HValue::kBlockEntry: in CanDeoptimize()
792 case HValue::kBoundsCheckBaseIndexInformation: in CanDeoptimize()
793 case HValue::kCallFunction: in CanDeoptimize()
794 case HValue::kCallNew: in CanDeoptimize()
795 case HValue::kCallNewArray: in CanDeoptimize()
796 case HValue::kCallStub: in CanDeoptimize()
797 case HValue::kCallWithDescriptor: in CanDeoptimize()
798 case HValue::kCapturedObject: in CanDeoptimize()
799 case HValue::kClassOfTestAndBranch: in CanDeoptimize()
800 case HValue::kCompareGeneric: in CanDeoptimize()
801 case HValue::kCompareHoleAndBranch: in CanDeoptimize()
802 case HValue::kCompareMap: in CanDeoptimize()
803 case HValue::kCompareMinusZeroAndBranch: in CanDeoptimize()
804 case HValue::kCompareNumericAndBranch: in CanDeoptimize()
805 case HValue::kCompareObjectEqAndBranch: in CanDeoptimize()
806 case HValue::kConstant: in CanDeoptimize()
807 case HValue::kConstructDouble: in CanDeoptimize()
808 case HValue::kContext: in CanDeoptimize()
809 case HValue::kDebugBreak: in CanDeoptimize()
810 case HValue::kDeclareGlobals: in CanDeoptimize()
811 case HValue::kDoubleBits: in CanDeoptimize()
812 case HValue::kDummyUse: in CanDeoptimize()
813 case HValue::kEnterInlined: in CanDeoptimize()
814 case HValue::kEnvironmentMarker: in CanDeoptimize()
815 case HValue::kForceRepresentation: in CanDeoptimize()
816 case HValue::kGetCachedArrayIndex: in CanDeoptimize()
817 case HValue::kGoto: in CanDeoptimize()
818 case HValue::kHasCachedArrayIndexAndBranch: in CanDeoptimize()
819 case HValue::kHasInstanceTypeAndBranch: in CanDeoptimize()
820 case HValue::kInnerAllocatedObject: in CanDeoptimize()
821 case HValue::kInstanceOf: in CanDeoptimize()
822 case HValue::kInstanceOfKnownGlobal: in CanDeoptimize()
823 case HValue::kIsConstructCallAndBranch: in CanDeoptimize()
824 case HValue::kIsObjectAndBranch: in CanDeoptimize()
825 case HValue::kIsSmiAndBranch: in CanDeoptimize()
826 case HValue::kIsStringAndBranch: in CanDeoptimize()
827 case HValue::kIsUndetectableAndBranch: in CanDeoptimize()
828 case HValue::kLeaveInlined: in CanDeoptimize()
829 case HValue::kLoadFieldByIndex: in CanDeoptimize()
830 case HValue::kLoadGlobalGeneric: in CanDeoptimize()
831 case HValue::kLoadNamedField: in CanDeoptimize()
832 case HValue::kLoadNamedGeneric: in CanDeoptimize()
833 case HValue::kLoadRoot: in CanDeoptimize()
834 case HValue::kMapEnumLength: in CanDeoptimize()
835 case HValue::kMathMinMax: in CanDeoptimize()
836 case HValue::kParameter: in CanDeoptimize()
837 case HValue::kPhi: in CanDeoptimize()
838 case HValue::kPushArguments: in CanDeoptimize()
839 case HValue::kRegExpLiteral: in CanDeoptimize()
840 case HValue::kReturn: in CanDeoptimize()
841 case HValue::kSeqStringGetChar: in CanDeoptimize()
842 case HValue::kStoreCodeEntry: in CanDeoptimize()
843 case HValue::kStoreFrameContext: in CanDeoptimize()
844 case HValue::kStoreKeyed: in CanDeoptimize()
845 case HValue::kStoreNamedField: in CanDeoptimize()
846 case HValue::kStoreNamedGeneric: in CanDeoptimize()
847 case HValue::kStringCharCodeAt: in CanDeoptimize()
848 case HValue::kStringCharFromCode: in CanDeoptimize()
849 case HValue::kTailCallThroughMegamorphicCache: in CanDeoptimize()
850 case HValue::kThisFunction: in CanDeoptimize()
851 case HValue::kTypeofIsAndBranch: in CanDeoptimize()
852 case HValue::kUnknownOSRValue: in CanDeoptimize()
853 case HValue::kUseConst: in CanDeoptimize()
856 case HValue::kAdd: in CanDeoptimize()
857 case HValue::kAllocateBlockContext: in CanDeoptimize()
858 case HValue::kApplyArguments: in CanDeoptimize()
859 case HValue::kBitwise: in CanDeoptimize()
860 case HValue::kBoundsCheck: in CanDeoptimize()
861 case HValue::kBranch: in CanDeoptimize()
862 case HValue::kCallJSFunction: in CanDeoptimize()
863 case HValue::kCallRuntime: in CanDeoptimize()
864 case HValue::kChange: in CanDeoptimize()
865 case HValue::kCheckHeapObject: in CanDeoptimize()
866 case HValue::kCheckInstanceType: in CanDeoptimize()
867 case HValue::kCheckMapValue: in CanDeoptimize()
868 case HValue::kCheckMaps: in CanDeoptimize()
869 case HValue::kCheckSmi: in CanDeoptimize()
870 case HValue::kCheckValue: in CanDeoptimize()
871 case HValue::kClampToUint8: in CanDeoptimize()
872 case HValue::kDateField: in CanDeoptimize()
873 case HValue::kDeoptimize: in CanDeoptimize()
874 case HValue::kDiv: in CanDeoptimize()
875 case HValue::kForInCacheArray: in CanDeoptimize()
876 case HValue::kForInPrepareMap: in CanDeoptimize()
877 case HValue::kFunctionLiteral: in CanDeoptimize()
878 case HValue::kInvokeFunction: in CanDeoptimize()
879 case HValue::kLoadContextSlot: in CanDeoptimize()
880 case HValue::kLoadFunctionPrototype: in CanDeoptimize()
881 case HValue::kLoadGlobalCell: in CanDeoptimize()
882 case HValue::kLoadKeyed: in CanDeoptimize()
883 case HValue::kLoadKeyedGeneric: in CanDeoptimize()
884 case HValue::kMathFloorOfDiv: in CanDeoptimize()
885 case HValue::kMod: in CanDeoptimize()
886 case HValue::kMul: in CanDeoptimize()
887 case HValue::kOsrEntry: in CanDeoptimize()
888 case HValue::kPower: in CanDeoptimize()
889 case HValue::kRor: in CanDeoptimize()
890 case HValue::kSar: in CanDeoptimize()
891 case HValue::kSeqStringSetChar: in CanDeoptimize()
892 case HValue::kShl: in CanDeoptimize()
893 case HValue::kShr: in CanDeoptimize()
894 case HValue::kSimulate: in CanDeoptimize()
895 case HValue::kStackCheck: in CanDeoptimize()
896 case HValue::kStoreContextSlot: in CanDeoptimize()
897 case HValue::kStoreGlobalCell: in CanDeoptimize()
898 case HValue::kStoreKeyedGeneric: in CanDeoptimize()
899 case HValue::kStringAdd: in CanDeoptimize()
900 case HValue::kStringCompareAndBranch: in CanDeoptimize()
901 case HValue::kSub: in CanDeoptimize()
902 case HValue::kToFastProperties: in CanDeoptimize()
903 case HValue::kTransitionElementsKind: in CanDeoptimize()
904 case HValue::kTrapAllocationMemento: in CanDeoptimize()
905 case HValue::kTypeof: in CanDeoptimize()
906 case HValue::kUnaryMathOperation: in CanDeoptimize()
907 case HValue::kWrapReceiver: in CanDeoptimize()
942 HValue* context, in New()
943 HValue* function, in New()
983 HValue* current_index = decomposition.base(); in ApplyIndexChange()
988 HValue* context = block()->graph()->GetInvalidContext(); in ApplyIndexChange()
1036 HValue* actual_index = index()->ActualValue(); in InferRepresentation()
1037 HValue* actual_length = length()->ActualValue(); in InferRepresentation()
1069 return HValue::InferRange(zone); in InferRange()
1174 HValue* value = this->value(); in KnownSuccessorBlock()
1254 return HValue::InferRange(zone); in InferRange()
1348 HValue* HCheckMapValue::Canonicalize() { in Canonicalize()
1375 static bool MatchLeftIsOnes(HValue* l, HValue* r, HValue** negated) { in MatchLeftIsOnes()
1382 static bool MatchNegationViaXor(HValue* instr, HValue** negated) { in MatchNegationViaXor()
1391 static bool MatchDoubleNegation(HValue* instr, HValue** arg) { in MatchDoubleNegation()
1392 HValue* negated; in MatchDoubleNegation()
1398 HValue* HBitwise::Canonicalize() { in Canonicalize()
1411 HValue* arg; in Canonicalize()
1439 static bool IsIdentityOperation(HValue* arg1, HValue* arg2, int32_t identity) { in IsIdentityOperation()
1445 HValue* HAdd::Canonicalize() { in Canonicalize()
1459 HValue* HSub::Canonicalize() { in Canonicalize()
1465 HValue* HMul::Canonicalize() { in Canonicalize()
1482 HValue* HMod::Canonicalize() { in Canonicalize()
1487 HValue* HDiv::Canonicalize() { in Canonicalize()
1493 HValue* HChange::Canonicalize() { in Canonicalize()
1498 HValue* HWrapReceiver::Canonicalize() { in Canonicalize()
1512 HInstruction* HForceRepresentation::New(Zone* zone, HValue* context, in New()
1513 HValue* value, Representation representation) { in New()
1540 HValue* HUnaryMathOperation::Canonicalize() { in Canonicalize()
1542 HValue* val = value(); in Canonicalize()
1553 HValue* left = hdiv->left(); in Canonicalize()
1566 HValue* right = hdiv->right(); in Canonicalize()
1590 HValue* HCheckInstanceType::Canonicalize() { in Canonicalize()
1651 HValue* HCheckMaps::Canonicalize() { in Canonicalize()
1676 HValue* HCheckValue::Canonicalize() { in Canonicalize()
1730 Range* HValue::InferRange(Zone* zone) { in InferRange()
1759 !value()->CheckFlag(HValue::kUint32) || in InferRange()
1767 : HValue::InferRange(zone); in InferRange()
1782 return HValue::InferRange(zone); in InferRange()
1807 return HValue::InferRange(zone); in InferRange()
1828 return HValue::InferRange(zone); in InferRange()
1849 return HValue::InferRange(zone); in InferRange()
1875 return HValue::InferRange(zone); in InferRange()
1897 return HValue::InferRange(zone); in InferRange()
1915 ClearFlag(HValue::kLeftCanBeNegative); in InferRange()
1919 ClearFlag(HValue::kLeftCanBePositive); in InferRange()
1931 return HValue::InferRange(zone); in InferRange()
1958 ClearFlag(HValue::kLeftCanBeNegative); in InferRange()
1962 ClearFlag(HValue::kCanOverflow); in InferRange()
1966 ClearFlag(HValue::kCanBeDivByZero); in InferRange()
1970 return HValue::InferRange(zone); in InferRange()
2005 HValue* value, in DecomposeBitwise()
2007 HValue* base = IgnoreOsrValue(value); in DecomposeBitwise()
2096 HValue* index_base, in UseNewIndexInCurrentBlock()
2097 HValue* context) { in UseNewIndexInCurrentBlock()
2099 HValue* previous_index = first_check_in_block()->index(); in UseNewIndexInCurrentBlock()
2198 HValue* phi_operand) { in ComputeIncrement()
2278 HValue* InductionVariableData::IgnoreOsrValue(HValue* v) { in IgnoreOsrValue()
2293 HValue* v) { in GetInductionVariableData()
2367 HValue* limit = branch->right(); in ComputeLimitFromPredecessorBlock()
2431 return HValue::InferRange(zone); in InferRange()
2436 void HPushArguments::AddInput(HValue* value) { in AddInput()
2456 void HPhi::AddInput(HValue* value) { in AddInput()
2474 HValue* HPhi::GetRedundantReplacement() { in GetRedundantReplacement()
2475 HValue* candidate = NULL; in GetRedundantReplacement()
2479 HValue* current = OperandAt(position++); in GetRedundantReplacement()
2483 HValue* current = OperandAt(position++); in GetRedundantReplacement()
2507 HValue* value = it.value(); in InitRealUses()
2554 ZoneList<HValue*>* from_values = &from->values_; in MergeWith()
2599 HValue* value = values()->at(i); in ReplayEnvironment()
2610 static void ReplayEnvironmentNested(const ZoneList<HValue*>* values, in ReplayEnvironmentNested()
2613 HValue* value = values->at(i); in ReplayEnvironmentNested()
3029 HValue::AssumeRepresentation(r); in AssumeRepresentation()
3071 Range* result = HValue::InferRange(zone); in InferRange()
3087 Range* result = HValue::InferRange(zone); in InferRange()
3104 return HValue::InferRange(zone); in InferRange()
3129 return HValue::InferRange(zone); in InferRange()
3144 return HValue::InferRange(zone); in InferRange()
3164 return HValue::InferRange(zone); in InferRange()
3180 return HValue::InferRange(zone); in InferRange()
3475 HValue* use = it.value(); in UsesMustHandleHole()
3485 CheckUsesForFlag(HValue::kAllowUndefinedAsNaN); in AllUsesCanTreatHoleAsNaN()
3507 HValue* HLoadKeyedGeneric::Canonicalize() { in Canonicalize()
3604 HValue* use = it.value(); in RequiresHoleCheck()
3644 HType HValue::CalculateInferredType() { in CalculateInferredType()
3685 HValue* dominator) { in HandleSideEffectDominator()
3709 HValue* dominator_size = dominator_allocate->size(); in HandleSideEffectDominator()
3710 HValue* current_size = size(); in HandleSideEffectDominator()
3796 HValue* new_dominator_size_constant = in HandleSideEffectDominator()
3808 new_dominator_size_value->ClearFlag(HValue::kCanOverflow); in HandleSideEffectDominator()
3955 store_map->SetFlag(HValue::kHasNoObservableSideEffects); in CreateFreeSpaceFiller()
3970 store_size->SetFlag(HValue::kHasNoObservableSideEffects); in CreateFreeSpaceFiller()
4050 Zone* zone, HValue* context, HValue* left, HValue* right) { \
4074 HValue* context, in New()
4075 HValue* left, in New()
4076 HValue* right, in New()
4118 Zone* zone, HValue* context, HValue* char_code) { in New()
4136 Zone* zone, HValue* context, HValue* value, BuiltinFunctionId op) { in New()
4204 return HValue::RepresentationFromUses(); in RepresentationFromUses()
4212 HValue* use = it.value(); in RepresentationFromUses()
4240 HValue* context, in New()
4241 HValue* left, in New()
4242 HValue* right) { in New()
4258 Zone* zone, HValue* context, HValue* left, HValue* right, Operation op) { in New()
4291 HValue* context, in New()
4292 HValue* left, in New()
4293 HValue* right) { in New()
4317 Zone* zone, HValue* context, HValue* left, HValue* right) { in New()
4341 Zone* zone, HValue* context, Token::Value op, HValue* left, HValue* right) { in New()
4372 Zone* zone, HValue* context, HValue* left, HValue* right) { \
4393 Zone* zone, HValue* context, HValue* left, HValue* right) { in New()
4411 HValue* context, in New()
4413 HValue* string, in New()
4414 HValue* index) { in New()
4467 HValue* use = it.value(); in SimplifyConstantInputs()
4498 Representation HValue::RepresentationFromUseRequirements() { in RepresentationFromUseRequirements()
4522 bool HValue::HasNonSmiUse() { in HasNonSmiUse()
4543 HValue* value = OperandAt(i); in Verify()
4676 void HObjectAccess::SetGVNFlags(HValue *instr, PropertyAccessType access_type) { in SetGVNFlags()
4681 instr->SetFlag(HValue::kTrackSideEffectDominators); in SetGVNFlags()
4684 instr->SetFlag(HValue::kUseGVN); in SetGVNFlags()