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_CODEGEN_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
7 | 7 |
8 #include "src/arm64/lithium-arm64.h" | 8 #include "src/arm64/lithium-arm64.h" |
9 | 9 |
10 #include "src/arm64/lithium-gap-resolver-arm64.h" | 10 #include "src/arm64/lithium-gap-resolver-arm64.h" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 SmiCheck check_needed); | 206 SmiCheck check_needed); |
207 | 207 |
208 int DefineDeoptimizationLiteral(Handle<Object> literal); | 208 int DefineDeoptimizationLiteral(Handle<Object> literal); |
209 void PopulateDeoptimizationData(Handle<Code> code); | 209 void PopulateDeoptimizationData(Handle<Code> code); |
210 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 210 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
211 | 211 |
212 MemOperand BuildSeqStringOperand(Register string, | 212 MemOperand BuildSeqStringOperand(Register string, |
213 Register temp, | 213 Register temp, |
214 LOperand* index, | 214 LOperand* index, |
215 String::Encoding encoding); | 215 String::Encoding encoding); |
216 void DeoptimizeBranch( | 216 void DeoptimizeBranch(LInstruction* instr, BranchType branch_type, |
217 LEnvironment* environment, | 217 Register reg = NoReg, int bit = -1, |
218 BranchType branch_type, Register reg = NoReg, int bit = -1, | 218 Deoptimizer::BailoutType* override_bailout_type = NULL); |
219 Deoptimizer::BailoutType* override_bailout_type = NULL); | 219 void Deoptimize(LInstruction* instr, |
220 void Deoptimize(LEnvironment* environment, | |
221 Deoptimizer::BailoutType* override_bailout_type = NULL); | 220 Deoptimizer::BailoutType* override_bailout_type = NULL); |
222 void DeoptimizeIf(Condition cond, LEnvironment* environment); | 221 void DeoptimizeIf(Condition cond, LInstruction* instr); |
223 void DeoptimizeIfZero(Register rt, LEnvironment* environment); | 222 void DeoptimizeIfZero(Register rt, LInstruction* instr); |
224 void DeoptimizeIfNotZero(Register rt, LEnvironment* environment); | 223 void DeoptimizeIfNotZero(Register rt, LInstruction* instr); |
225 void DeoptimizeIfNegative(Register rt, LEnvironment* environment); | 224 void DeoptimizeIfNegative(Register rt, LInstruction* instr); |
226 void DeoptimizeIfSmi(Register rt, LEnvironment* environment); | 225 void DeoptimizeIfSmi(Register rt, LInstruction* instr); |
227 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment); | 226 void DeoptimizeIfNotSmi(Register rt, LInstruction* instr); |
228 void DeoptimizeIfRoot(Register rt, | 227 void DeoptimizeIfRoot(Register rt, Heap::RootListIndex index, |
229 Heap::RootListIndex index, | 228 LInstruction* instr); |
230 LEnvironment* environment); | 229 void DeoptimizeIfNotRoot(Register rt, Heap::RootListIndex index, |
231 void DeoptimizeIfNotRoot(Register rt, | 230 LInstruction* instr); |
232 Heap::RootListIndex index, | 231 void DeoptimizeIfMinusZero(DoubleRegister input, LInstruction* instr); |
233 LEnvironment* environment); | 232 void DeoptimizeIfBitSet(Register rt, int bit, LInstruction* instr); |
234 void DeoptimizeIfMinusZero(DoubleRegister input, LEnvironment* environment); | 233 void DeoptimizeIfBitClear(Register rt, int bit, LInstruction* instr); |
235 void DeoptimizeIfBitSet(Register rt, int bit, LEnvironment* environment); | |
236 void DeoptimizeIfBitClear(Register rt, int bit, LEnvironment* environment); | |
237 | 234 |
238 MemOperand PrepareKeyedExternalArrayOperand(Register key, | 235 MemOperand PrepareKeyedExternalArrayOperand(Register key, |
239 Register base, | 236 Register base, |
240 Register scratch, | 237 Register scratch, |
241 bool key_is_smi, | 238 bool key_is_smi, |
242 bool key_is_constant, | 239 bool key_is_constant, |
243 int constant_key, | 240 int constant_key, |
244 ElementsKind elements_kind, | 241 ElementsKind elements_kind, |
245 int base_offset); | 242 int base_offset); |
246 MemOperand PrepareKeyedArrayOperand(Register base, | 243 MemOperand PrepareKeyedArrayOperand(Register base, |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 | 452 |
456 protected: | 453 protected: |
457 MacroAssembler* masm() const { return codegen_->masm(); } | 454 MacroAssembler* masm() const { return codegen_->masm(); } |
458 | 455 |
459 LCodeGen* codegen_; | 456 LCodeGen* codegen_; |
460 }; | 457 }; |
461 | 458 |
462 } } // namespace v8::internal | 459 } } // namespace v8::internal |
463 | 460 |
464 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 461 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
OLD | NEW |