Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: src/compiler/instruction-selector.h

Issue 2349983002: [turbofan] Support virtual register redirection in instruction selector. (Closed)
Patch Set: Fix Win64? Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction-selector.h
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h
index 73884906a250fe1ea1421798b6ea3aa9daf042c8..55359d8aca4794cadb354bde3e7e224c71b0bb62 100644
--- a/src/compiler/instruction-selector.h
+++ b/src/compiler/instruction-selector.h
@@ -212,6 +212,12 @@ class InstructionSelector final {
void EmitLookupSwitch(const SwitchInfo& sw,
InstructionOperand& value_operand);
+ void TryRename(InstructionOperand* op);
+ int GetRename(int virtual_register);
+ void SetRename(const Node* node, const Node* rename);
+ void UpdateRenames(Instruction* instruction);
+ void UpdateRenamesInPhi(PhiInstruction* phi);
+
// Inform the instruction selection that {node} was just defined.
void MarkAsDefined(Node* node);
@@ -341,6 +347,7 @@ class InstructionSelector final {
BoolVector used_;
IntVector effect_level_;
IntVector virtual_registers_;
+ IntVector virtual_register_rename_;
InstructionScheduler* scheduler_;
EnableScheduling enable_scheduling_;
Frame* frame_;
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698