Home
last modified time | relevance | path

Searched refs:HValue (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium_org/v8/src/
Dcode-stubs-hydrogen.cc49 virtual HValue* BuildCodeStub() = 0;
54 HValue* GetArgumentsLength() { in GetArgumentsLength()
64 HLoadNamedField* BuildLoadNamedField(HValue* object,
66 void BuildStoreNamedField(HValue* object, HValue* value, FieldIndex index,
75 HValue* UnmappedCase(HValue* elements, HValue* key);
77 HValue* BuildArrayConstructor(ElementsKind kind,
80 HValue* BuildInternalArrayConstructor(ElementsKind kind,
87 void BuildCheckAndInstallOptimizedCode(HValue* js_function,
88 HValue* native_context,
90 HValue* optimized_map,
[all …]
Dhydrogen-instructions.h35 class HValue; variable
195 static H##type* cast(HValue* value) { \
204 static H##type* cast(HValue* value) { \
209 return HValue::k##type; \
293 HUseListNode(HValue* value, int index, HUseListNode* tail) in HUseListNode()
298 HValue* value() const { return value_; } in value()
313 HValue* value_;
325 HValue* value() { in value()
340 HValue* value_;
343 friend class HValue; variable
[all …]
Dhydrogen.h182 void AddLeaveInlined(HValue* return_value,
364 int GetNextValueID(HValue* value) { in GetNextValueID()
369 HValue* LookupValue(int id) const { in LookupValue()
489 ZoneList<HValue*> values_;
566 const ZoneList<HValue*>* values() const { return &values_; } in values()
594 void Bind(Variable* variable, HValue* value) { in Bind()
598 void Bind(int index, HValue* value);
600 void BindContext(HValue* value) { in BindContext()
604 HValue* Lookup(Variable* variable) const { in Lookup()
608 HValue* Lookup(int index) const { in Lookup()
[all …]
Dhydrogen-dce.cc12 HValue* instr, ZoneList<HValue*>* worklist) { in MarkLive()
13 if (instr->CheckFlag(HValue::kIsLive)) return; // Already live. in MarkLive()
20 HValue* instr = worklist->RemoveLast(); in MarkLive()
21 instr->SetFlag(HValue::kIsLive); in MarkLive()
23 HValue* input = instr->OperandAt(i); in MarkLive()
24 if (!input->CheckFlag(HValue::kIsLive)) { in MarkLive()
25 input->SetFlag(HValue::kIsLive); in MarkLive()
34 void HDeadCodeEliminationPhase::PrintLive(HValue* ref, HValue* instr) { in PrintLive()
47 ZoneList<HValue*> worklist(10, zone()); in MarkLiveInstructions()
74 if (!instr->CheckFlag(HValue::kIsLive)) { in RemoveDeadInstructions()
[all …]
Dhydrogen-instructions.cc44 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()
[all …]
Dhydrogen-representation-changes.cc11 HValue* value, HValue* use_value, int use_index, Representation to) { in InsertRepresentationChangeForUse()
25 bool is_truncating_to_smi = use_value->CheckFlag(HValue::kTruncatingToSmi); in InsertRepresentationChangeForUse()
26 bool is_truncating_to_int = use_value->CheckFlag(HValue::kTruncatingToInt32); in InsertRepresentationChangeForUse()
58 DCHECK(!change->CheckFlag(HValue::kUint32)); in IsNonDeoptingIntToSmiChange()
64 HValue* value) { in InsertRepresentationChangesForValue()
73 HValue* use_value = it.value(); in InsertRepresentationChangesForValue()
84 HValue* input = HForceRepresentation::cast(value)->value(); in InsertRepresentationChangesForValue()
120 phi->SetFlag(HValue::kTruncatingToInt32); in Run()
122 phi->SetFlag(HValue::kTruncatingToSmi); in Run()
123 phi->SetFlag(HValue::kTruncatingToInt32); in Run()
[all …]
Dhydrogen.cc234 void HBasicBlock::AddLeaveInlined(HValue* return_value, in AddLeaveInlined()
668 constant->ClearFlag(HValue::kIsDead); in ReinsertConstantIfNecessary()
941 void HGraphBuilder::IfBuilder::Return(HValue* value) { in Return()
942 HValue* parameter_count = builder()->graph()->GetConstantMinus1(); in Return()
1044 HGraphBuilder::LoopBuilder::LoopBuilder(HGraphBuilder* builder, HValue* context, in LoopBuilder()
1050 HGraphBuilder::LoopBuilder::LoopBuilder(HGraphBuilder* builder, HValue* context, in LoopBuilder()
1052 HValue* increment_amount) { in LoopBuilder()
1059 HValue* context, in Initialize()
1061 HValue* increment_amount) { in Initialize()
1075 HValue* HGraphBuilder::LoopBuilder::BeginBody( in BeginBody()
[all …]
Dhydrogen-range-analysis.h27 void UpdateControlFlowRange(Token::Value op, HValue* value, HValue* other);
28 void InferRange(HValue* value);
30 void AddRange(HValue* value, Range* range);
31 void AddToWorklist(HValue* value) { in AddToWorklist()
36 void PropagateMinusZeroChecks(HValue* value);
39 ZoneList<HValue*> changed_ranges_;
42 ZoneList<HValue*> worklist_;
Dhydrogen-alias-analysis.h27 HAliasing Query(HValue* a, HValue* b) { in Query()
57 inline bool MayAlias(HValue* a, HValue* b) { in MayAlias()
61 inline bool MustAlias(HValue* a, HValue* b) { in MustAlias()
65 inline bool NoAlias(HValue* a, HValue* b) { in NoAlias()
Dhydrogen-mark-deoptimize.cc14 if (phi->CheckFlag(HValue::kAllowUndefinedAsNaN) && in Run()
15 !phi->CheckUsesForFlag(HValue::kAllowUndefinedAsNaN)) { in Run()
23 DCHECK(phi->CheckFlag(HValue::kAllowUndefinedAsNaN)); in ProcessPhi()
27 phi->ClearFlag(HValue::kAllowUndefinedAsNaN); in ProcessPhi()
34 HValue* input = phi->OperandAt(i); in ProcessPhi()
35 if (input->IsPhi() && input->CheckFlag(HValue::kAllowUndefinedAsNaN)) { in ProcessPhi()
36 input->ClearFlag(HValue::kAllowUndefinedAsNaN); in ProcessPhi()
52 current->SetFlag(HValue::kAllowUndefinedAsNaN); in Run()
Dhydrogen-escape-analysis.cc11 bool HEscapeAnalysisPhase::HasNoEscapingUses(HValue* value, int size) { in HasNoEscapingUses()
13 HValue* use = it.value(); in HasNoEscapingUses()
91 HValue* operand = old_state->OperandAt(index); in NewStateForLoopHeader()
105 HValue* operand = old_state->OperandAt(index); in NewStateCopy()
115 HValue* incoming_value, in NewPhiAndInsert()
128 HValue* HEscapeAnalysisPhase::NewMapCheckAndInsert(HCapturedObject* state, in NewMapCheckAndInsert()
131 HValue* value = state->map_value(); in NewMapCheckAndInsert()
143 HValue* HEscapeAnalysisPhase::NewLoadReplacement( in NewLoadReplacement()
144 HLoadNamedField* load, HValue* load_value) { in NewLoadReplacement()
145 HValue* replacement = load_value; in NewLoadReplacement()
[all …]
Dhydrogen-load-elimination.cc22 HValue* object_;
23 HValue* last_value_;
48 case HValue::kLoadNamedField: { in Process()
54 HValue* result = load(l); in Process()
62 case HValue::kStoreNamedField: { in Process()
69 HValue* result = store(s); in Process()
77 case HValue::kTransitionElementsKind: { in Process()
79 HValue* object = t->object()->ActualValue(); in Process()
201 HValue* load(HLoadNamedField* instr) { in load()
209 HValue* object = instr->object()->ActualValue(); in load()
[all …]
Dhydrogen-check-elimination.cc65 HValue* object_; // The object being approximated. NULL => invalid entry.
87 case HValue::kCheckMaps: { in Process()
91 case HValue::kLoadNamedField: { in Process()
95 case HValue::kStoreNamedField: { in Process()
99 case HValue::kCompareMap: { in Process()
103 case HValue::kCompareObjectEqAndBranch: { in Process()
107 case HValue::kIsStringAndBranch: { in Process()
111 case HValue::kTransitionElementsKind: { in Process()
116 case HValue::kCheckHeapObject: { in Process()
120 case HValue::kCheckInstanceType: { in Process()
[all …]
Dhydrogen-dce.h25 void MarkLive(HValue* instr, ZoneList<HValue*>* worklist);
26 void PrintLive(HValue* ref, HValue* instr);
Dhydrogen-escape-analysis.h29 bool HasNoEscapingUses(HValue* value, int size);
38 HPhi* NewPhiAndInsert(HBasicBlock* block, HValue* incoming_value, int index);
40 HValue* NewMapCheckAndInsert(HCapturedObject* state, HCheckMaps* mapcheck);
42 HValue* NewLoadReplacement(HLoadNamedField* load, HValue* load_value);
Dhydrogen-uint32-analysis.cc28 static bool IsUint32Operation(HValue* instr) { in IsUint32Operation()
35 bool HUint32AnalysisPhase::IsSafeUint32Use(HValue* val, HValue* use) { in IsSafeUint32Use()
80 bool HUint32AnalysisPhase::Uint32UsesAreSafe(HValue* uint32val) { in Uint32UsesAreSafe()
83 HValue* use = it.value(); in Uint32UsesAreSafe()
103 HValue* use = it.value(); in Uint32UsesAreSafe()
126 HValue* operand = phi->OperandAt(j); in CheckPhiOperands()
150 HValue* operand = phi->OperandAt(j); in UnmarkPhi()
Dhydrogen-redundant-phi.cc47 if (phi->CheckFlag(HValue::kIsDead)) continue; // Already replaced. in ProcessPhis()
49 HValue* replacement = phi->GetRedundantReplacement(); in ProcessPhis()
51 phi->SetFlag(HValue::kIsDead); in ProcessPhis()
53 HValue* value = it.value(); in ProcessPhis()
56 updated |= value->IsPhi() && !value->CheckFlag(HValue::kIsDead); in ProcessPhis()
Dhydrogen-range-analysis.cc58 HValue* value = it.Current(); in Run()
140 HValue* value, in UpdateControlFlowRange()
141 HValue* other) { in UpdateControlFlowRange()
172 void HRangeAnalysisPhase::InferRange(HValue* value) { in InferRange()
195 void HRangeAnalysisPhase::AddRange(HValue* value, Range* range) { in AddRange()
215 void HRangeAnalysisPhase::PropagateMinusZeroChecks(HValue* value) { in PropagateMinusZeroChecks()
235 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
249 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
257 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
263 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
[all …]
Dhydrogen-representation-changes.h22 void InsertRepresentationChangeForUse(HValue* value,
23 HValue* use_value,
26 void InsertRepresentationChangesForValue(HValue* value);
Dhydrogen-store-elimination.cc36 if (instr->CheckFlag(HValue::kIsDead)) continue; in Run()
40 case HValue::kStoreNamedField: in Run()
44 case HValue::kLoadNamedField: in Run()
58 HValue* object = store->object()->ActualValue(); in ProcessStore()
83 HValue* object = load->object()->ActualValue(); in ProcessLoad()
Dhydrogen-uint32-analysis.h24 INLINE(bool IsSafeUint32Use(HValue* val, HValue* use));
25 INLINE(bool Uint32UsesAreSafe(HValue* uint32val));
Dhydrogen-environment-liveness.cc74 if (!marker->CheckFlag(HValue::kEndsLiveRange)) return; in ZapEnvironmentSlotsForInstruction()
98 case HValue::kEnvironmentMarker: { in UpdateLivenessAtInstruction()
102 marker->SetFlag(HValue::kEndsLiveRange); in UpdateLivenessAtInstruction()
104 marker->ClearFlag(HValue::kEndsLiveRange); in UpdateLivenessAtInstruction()
122 case HValue::kLeaveInlined: in UpdateLivenessAtInstruction()
133 case HValue::kEnterInlined: { in UpdateLivenessAtInstruction()
148 case HValue::kSimulate: in UpdateLivenessAtInstruction()
Dhydrogen-bce.cc22 HValue* IndexBase() const { return index_base_; } in IndexBase()
23 HValue* Length() const { return length_; } in Length()
34 HValue* index_base = NULL; in Create()
71 BoundsCheckKey(HValue* index_base, HValue* length) in BoundsCheckKey()
75 HValue* index_base_;
76 HValue* length_;
222 void MoveIndexIfNecessary(HValue* index_raw, in MoveIndexIfNecessary()
231 HValue* left_input = index->left(); in MoveIndexIfNecessary()
232 HValue* right_input = index->right(); in MoveIndexIfNecessary()
/external/chromium_org/v8/src/mips/
Dlithium-mips.cc445 LOperand* LChunkBuilder::UseFixed(HValue* value, Register fixed_register) { in UseFixed()
450 LOperand* LChunkBuilder::UseFixedDouble(HValue* value, DoubleRegister reg) { in UseFixedDouble()
455 LOperand* LChunkBuilder::UseRegister(HValue* value) { in UseRegister()
460 LOperand* LChunkBuilder::UseRegisterAtStart(HValue* value) { in UseRegisterAtStart()
467 LOperand* LChunkBuilder::UseTempRegister(HValue* value) { in UseTempRegister()
472 LOperand* LChunkBuilder::Use(HValue* value) { in Use()
477 LOperand* LChunkBuilder::UseAtStart(HValue* value) { in UseAtStart()
483 LOperand* LChunkBuilder::UseOrConstant(HValue* value) { in UseOrConstant()
490 LOperand* LChunkBuilder::UseOrConstantAtStart(HValue* value) { in UseOrConstantAtStart()
497 LOperand* LChunkBuilder::UseRegisterOrConstant(HValue* value) { in UseRegisterOrConstant()
[all …]
/external/chromium_org/v8/src/x64/
Dlithium-x64.cc157 HValue* hvalue = this->hydrogen_value(); in MustSignExtendResult()
464 LOperand* LChunkBuilder::UseFixed(HValue* value, Register fixed_register) { in UseFixed()
469 LOperand* LChunkBuilder::UseFixedDouble(HValue* value, XMMRegister reg) { in UseFixedDouble()
474 LOperand* LChunkBuilder::UseRegister(HValue* value) { in UseRegister()
479 LOperand* LChunkBuilder::UseRegisterAtStart(HValue* value) { in UseRegisterAtStart()
486 LOperand* LChunkBuilder::UseTempRegister(HValue* value) { in UseTempRegister()
491 LOperand* LChunkBuilder::UseTempRegisterOrConstant(HValue* value) { in UseTempRegisterOrConstant()
498 LOperand* LChunkBuilder::Use(HValue* value) { in Use()
503 LOperand* LChunkBuilder::UseAtStart(HValue* value) { in UseAtStart()
509 LOperand* LChunkBuilder::UseOrConstant(HValue* value) { in UseOrConstant()
[all …]

123