OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_H_ |
7 | 7 |
8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 3036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3047 info_(info), | 3047 info_(info), |
3048 graph_(graph), | 3048 graph_(graph), |
3049 status_(UNUSED), | 3049 status_(UNUSED), |
3050 current_instruction_(NULL), | 3050 current_instruction_(NULL), |
3051 current_block_(NULL), | 3051 current_block_(NULL), |
3052 allocator_(allocator) { } | 3052 allocator_(allocator) { } |
3053 | 3053 |
3054 // Build the sequence for the graph. | 3054 // Build the sequence for the graph. |
3055 LPlatformChunk* Build(); | 3055 LPlatformChunk* Build(); |
3056 | 3056 |
3057 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | |
3058 | |
3059 // Declare methods that deal with the individual node types. | 3057 // Declare methods that deal with the individual node types. |
3060 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 3058 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
3061 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 3059 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
3062 #undef DECLARE_DO | 3060 #undef DECLARE_DO |
3063 | 3061 |
3064 LInstruction* DoDivByPowerOf2I(HDiv* instr); | 3062 LInstruction* DoDivByPowerOf2I(HDiv* instr); |
3065 LInstruction* DoDivByConstI(HDiv* instr); | 3063 LInstruction* DoDivByConstI(HDiv* instr); |
3066 LInstruction* DoDivI(HBinaryOperation* instr); | 3064 LInstruction* DoDivI(HBinaryOperation* instr); |
3067 LInstruction* DoModByPowerOf2I(HMod* instr); | 3065 LInstruction* DoModByPowerOf2I(HMod* instr); |
3068 LInstruction* DoModByConstI(HMod* instr); | 3066 LInstruction* DoModByConstI(HMod* instr); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3226 | 3224 |
3227 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3225 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3228 }; | 3226 }; |
3229 | 3227 |
3230 #undef DECLARE_HYDROGEN_ACCESSOR | 3228 #undef DECLARE_HYDROGEN_ACCESSOR |
3231 #undef DECLARE_CONCRETE_INSTRUCTION | 3229 #undef DECLARE_CONCRETE_INSTRUCTION |
3232 | 3230 |
3233 } } // namespace v8::internal | 3231 } } // namespace v8::internal |
3234 | 3232 |
3235 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3233 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |