Home
last modified time | relevance | path

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

123

/external/v8/src/
Dcode-stubs-hydrogen.cc50 virtual HValue* BuildCodeStub() = 0;
66 HValue* GetArgumentsLength() { in GetArgumentsLength()
76 HLoadNamedField* BuildLoadNamedField(HValue* object, FieldIndex index);
77 void BuildStoreNamedField(HValue* object, HValue* value, FieldIndex index,
81 HValue* BuildPushElement(HValue* object, HValue* argc,
82 HValue* argument_elements, ElementsKind kind);
84 HValue* UnmappedCase(HValue* elements, HValue* key, HValue* value);
85 HValue* EmitKeyedSloppyArguments(HValue* receiver, HValue* key,
86 HValue* value);
88 HValue* BuildToString(HValue* input, bool convert);
[all …]
/external/v8/src/crankshaft/
Dhydrogen-instructions.h35 class HValue; variable
177 static H##type* cast(HValue* value) { \
185 static H##type* cast(HValue* value) { \
189 Opcode opcode() const final { return HValue::k##type; }
272 HUseListNode(HValue* value, int index, HUseListNode* tail) in HUseListNode()
277 HValue* value() const { return value_; } in value()
292 HValue* value_;
304 HValue* value() { in value()
319 HValue* value_;
322 friend class HValue; variable
[all …]
Dhydrogen.h202 void AddLeaveInlined(HValue* return_value, FunctionState* state,
381 int GetNextValueID(HValue* value) { in GetNextValueID()
386 HValue* LookupValue(int id) const { in LookupValue()
494 ZoneList<HValue*> values_;
557 const ZoneList<HValue*>* values() const { return &values_; } in values()
585 void Bind(Variable* variable, HValue* value) { in Bind()
589 void Bind(int index, HValue* value);
591 void BindContext(HValue* value) { in BindContext()
595 HValue* Lookup(Variable* variable) const { in Lookup()
599 HValue* Lookup(int index) const { in Lookup()
[all …]
Dhydrogen-instructions.cc48 Isolate* HValue::isolate() const { in HYDROGEN_CONCRETE_INSTRUCTION_LIST()
54 void HValue::AssumeRepresentation(Representation r) { in AssumeRepresentation()
64 void HValue::InferRepresentation(HInferRepresentationPhase* h_infer) { in InferRepresentation()
77 Representation HValue::RepresentationFromUses() { in RepresentationFromUses()
82 HValue* use = it.value(); in RepresentationFromUses()
102 void HValue::UpdateRepresentation(Representation new_rep, in UpdateRepresentation()
118 void HValue::AddDependantsToWorklist(HInferRepresentationPhase* h_infer) { in AddDependantsToWorklist()
313 bool HValue::IsDefinedAfter(HBasicBlock* other) const { in IsDefinedAfter()
320 while (tail_ != NULL && tail_->value()->CheckFlag(HValue::kIsDead)) { in tail()
327 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()
69 HValue* use_value = it.value(); in InsertRepresentationChangesForValue()
83 HValue* use_value = it.value(); in InsertRepresentationChangesForValue()
94 HValue* input = HForceRepresentation::cast(value)->value(); in InsertRepresentationChangesForValue()
130 phi->SetFlag(HValue::kTruncatingToInt32); in Run()
132 phi->SetFlag(HValue::kTruncatingToSmi); in Run()
[all …]
Dhydrogen-dce.cc11 HValue* instr, ZoneList<HValue*>* worklist) { in MarkLive()
12 if (instr->CheckFlag(HValue::kIsLive)) return; // Already live. in MarkLive()
19 HValue* instr = worklist->RemoveLast(); in MarkLive()
20 instr->SetFlag(HValue::kIsLive); in MarkLive()
22 HValue* input = instr->OperandAt(i); in MarkLive()
23 if (!input->CheckFlag(HValue::kIsLive)) { in MarkLive()
24 input->SetFlag(HValue::kIsLive); in MarkLive()
33 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.cc406 void HBasicBlock::AddLeaveInlined(HValue* return_value, FunctionState* state, in AddLeaveInlined()
839 constant->ClearFlag(HValue::kIsDead); in ReinsertConstantIfNecessary()
1116 void HGraphBuilder::IfBuilder::Return(HValue* value) { in Return()
1117 HValue* parameter_count = builder()->graph()->GetConstantMinus1(); in Return()
1227 HGraphBuilder::LoopBuilder::LoopBuilder(HGraphBuilder* builder, HValue* context, in LoopBuilder()
1233 HGraphBuilder::LoopBuilder::LoopBuilder(HGraphBuilder* builder, HValue* context, in LoopBuilder()
1235 HValue* increment_amount) { in LoopBuilder()
1242 HValue* context, in Initialize()
1244 HValue* increment_amount) { in Initialize()
1258 HValue* HGraphBuilder::LoopBuilder::BeginBody( in BeginBody()
[all …]
Dhydrogen-range-analysis.h28 void UpdateControlFlowRange(Token::Value op, HValue* value, HValue* other);
29 void InferRange(HValue* value);
31 void AddRange(HValue* value, Range* range);
32 void AddToWorklist(HValue* value) { in AddToWorklist()
37 void PropagateMinusZeroChecks(HValue* value);
40 ZoneList<HValue*> changed_ranges_;
43 ZoneList<HValue*> worklist_;
Dhydrogen-alias-analysis.h27 HAliasing Query(HValue* a, HValue* b) { in Query()
56 inline bool MayAlias(HValue* a, HValue* b) { in MayAlias()
60 inline bool MustAlias(HValue* a, HValue* b) { in MustAlias()
64 inline bool NoAlias(HValue* a, HValue* b) { in NoAlias()
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()
146 HValue* replacement = load_value; in NewLoadReplacement()
[all …]
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-load-elimination.cc23 HValue* object_;
24 HValue* last_value_;
49 case HValue::kLoadNamedField: { in Process()
55 HValue* result = load(l); in Process()
63 case HValue::kStoreNamedField: { in Process()
70 HValue* result = store(s); in Process()
78 case HValue::kTransitionElementsKind: { in Process()
80 HValue* object = t->object()->ActualValue(); in Process()
202 HValue* load(HLoadNamedField* instr) { in load()
210 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-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-dce.h25 void MarkLive(HValue* instr, ZoneList<HValue*>* worklist);
26 void PrintLive(HValue* ref, HValue* instr);
Dhydrogen-uint32-analysis.cc24 static bool IsUint32Operation(HValue* instr) { in IsUint32Operation()
31 bool HUint32AnalysisPhase::IsSafeUint32Use(HValue* val, HValue* use) { in IsSafeUint32Use()
76 bool HUint32AnalysisPhase::Uint32UsesAreSafe(HValue* uint32val) { in Uint32UsesAreSafe()
79 HValue* use = it.value(); in Uint32UsesAreSafe()
99 HValue* use = it.value(); in Uint32UsesAreSafe()
122 HValue* operand = phi->OperandAt(j); in CheckPhiOperands()
146 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()
134 HValue* value, in UpdateControlFlowRange()
135 HValue* other) { in UpdateControlFlowRange()
166 void HRangeAnalysisPhase::InferRange(HValue* value) { in InferRange()
189 void HRangeAnalysisPhase::AddRange(HValue* value, Range* range) { in AddRange()
209 void HRangeAnalysisPhase::PropagateMinusZeroChecks(HValue* value) { in PropagateMinusZeroChecks()
229 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
243 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
251 instr->SetFlag(HValue::kBailoutOnMinusZero); in PropagateMinusZeroChecks()
257 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.cc37 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()
82 HValue* object = load->object()->ActualValue(); in ProcessLoad()
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-uint32-analysis.h24 INLINE(bool IsSafeUint32Use(HValue* val, HValue* use));
25 INLINE(bool Uint32UsesAreSafe(HValue* uint32val));
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()
72 BoundsCheckKey(HValue* index_base, HValue* length) in BoundsCheckKey()
76 HValue* index_base_;
77 HValue* length_;
223 void MoveIndexIfNecessary(HValue* index_raw, in MoveIndexIfNecessary()
232 HValue* left_input = index->left(); in MoveIndexIfNecessary()
233 HValue* right_input = index->right(); in MoveIndexIfNecessary()
234 HValue* context = index->context(); in MoveIndexIfNecessary()
/external/v8/src/crankshaft/ppc/
Dlithium-ppc.cc431 LOperand* LChunkBuilder::UseFixed(HValue* value, Register fixed_register) { in UseFixed()
436 LOperand* LChunkBuilder::UseFixedDouble(HValue* value, DoubleRegister reg) { in UseFixedDouble()
441 LOperand* LChunkBuilder::UseRegister(HValue* value) { in UseRegister()
447 LOperand* LChunkBuilder::UseRegisterAtStart(HValue* value) { in UseRegisterAtStart()
453 LOperand* LChunkBuilder::UseTempRegister(HValue* value) { in UseTempRegister()
458 LOperand* LChunkBuilder::Use(HValue* value) { in Use()
463 LOperand* LChunkBuilder::UseAtStart(HValue* value) { in UseAtStart()
469 LOperand* LChunkBuilder::UseOrConstant(HValue* value) { in UseOrConstant()
476 LOperand* LChunkBuilder::UseOrConstantAtStart(HValue* value) { in UseOrConstantAtStart()
483 LOperand* LChunkBuilder::UseRegisterOrConstant(HValue* value) { in UseRegisterOrConstant()
[all …]
/external/v8/src/crankshaft/s390/
Dlithium-s390.cc391 LOperand* LChunkBuilder::UseFixed(HValue* value, Register fixed_register) { in UseFixed()
395 LOperand* LChunkBuilder::UseFixedDouble(HValue* value, DoubleRegister reg) { in UseFixedDouble()
399 LOperand* LChunkBuilder::UseRegister(HValue* value) { in UseRegister()
404 LOperand* LChunkBuilder::UseRegisterAtStart(HValue* value) { in UseRegisterAtStart()
409 LOperand* LChunkBuilder::UseTempRegister(HValue* value) { in UseTempRegister()
413 LOperand* LChunkBuilder::Use(HValue* value) { in Use()
417 LOperand* LChunkBuilder::UseAtStart(HValue* value) { in UseAtStart()
422 LOperand* LChunkBuilder::UseOrConstant(HValue* value) { in UseOrConstant()
428 LOperand* LChunkBuilder::UseOrConstantAtStart(HValue* value) { in UseOrConstantAtStart()
434 LOperand* LChunkBuilder::UseRegisterOrConstant(HValue* value) { in UseRegisterOrConstant()
[all …]

123