Home
last modified time | relevance | path

Searched refs:LiftoffRegister (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/wasm/baseline/
Dliftoff-assembler.h45 explicit VarState(ValueType type, LiftoffRegister r) in VarState()
91 LiftoffRegister reg() const { in reg()
106 LiftoffRegister reg_; // used if loc_ == kRegister
144 LiftoffRegister unused_register(RegClass rc,
149 return LiftoffRegister::ForPair(low, high);
156 LiftoffRegister unused_register(LiftoffRegList candidates,
162 void inc_used(LiftoffRegister reg) { in inc_used()
174 void dec_used(LiftoffRegister reg) { in dec_used()
186 bool is_used(LiftoffRegister reg) const { in is_used()
193 uint32_t get_use_count(LiftoffRegister reg) const { in get_use_count()
[all …]
Dliftoff-register.h69 class LiftoffRegister {
80 explicit LiftoffRegister(Register reg) : LiftoffRegister(reg.code()) { in LiftoffRegister() function
83 explicit LiftoffRegister(DoubleRegister reg) in LiftoffRegister() function
84 : LiftoffRegister(kAfterMaxLiftoffGpRegCode + reg.code()) { in LiftoffRegister()
88 static LiftoffRegister from_liftoff_code(int code) { in from_liftoff_code()
92 return LiftoffRegister(code); in from_liftoff_code()
95 static LiftoffRegister from_code(RegClass rc, int code) { in from_code()
98 return LiftoffRegister(Register::from_code(code)); in from_code()
100 return LiftoffRegister(DoubleRegister::from_code(code)); in from_code()
106 static LiftoffRegister ForPair(Register low, Register high) { in ForPair()
[all …]
Dliftoff-compiler.cc243 LiftoffRegister in_reg = LiftoffRegister::from_code(rc, reg_code); in CollectReservedRegsForParameters()
256 LiftoffRegister reg = LiftoffRegister::from_code(kGpReg, 0); in ProcessParameter()
263 LiftoffRegister in_reg = LiftoffRegister::from_code(kGpReg, 0); in ProcessParameter()
271 in_reg = LiftoffRegister::from_code(rc, reg_code); in ProcessParameter()
276 LiftoffRegister in_reg = __ GetUnusedRegister(rc, pinned); in ProcessParameter()
290 : LiftoffRegister::ForPair(reg.gp(), in_reg.gp()); in ProcessParameter()
302 LiftoffRegister limit_address = __ GetUnusedRegister(kGpReg); in StackCheck()
347 LiftoffRegister zero_double_reg(Register::from_code<0>()); in StartFunctionBody()
523 void GenerateCCall(const LiftoffRegister* result_regs, FunctionSig* sig, in GenerateCCall()
525 const LiftoffRegister* arg_regs, in GenerateCCall()
[all …]
Dliftoff-assembler.cc33 LiftoffRegister dst;
34 LiftoffRegister src;
36 constexpr RegisterMove(LiftoffRegister dst, LiftoffRegister src, in RegisterMove()
47 LiftoffRegister dst;
53 static RegisterLoad Const(LiftoffRegister dst, WasmValue constant) { in Const()
61 static RegisterLoad Stack(LiftoffRegister dst, int32_t stack_index, in Stack()
65 static RegisterLoad HalfStack(LiftoffRegister dst, in HalfStack()
71 RegisterLoad(LiftoffRegister dst, LoadKind kind, ValueType type, in RegisterLoad()
121 LiftoffRegister spill_reg = rm.src; in Execute()
183 void LoadIntoRegister(LiftoffRegister dst, in LoadIntoRegister()
[all …]
/external/v8/src/wasm/baseline/arm/
Dliftoff-assembler-arm.h30 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
48 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
56 uint32_t offset_imm, LiftoffRegister src, in Store()
62 void LiftoffAssembler::LoadCallerFrameSlot(LiftoffRegister dst, in LoadCallerFrameSlot()
82 void LiftoffAssembler::Spill(uint32_t index, LiftoffRegister reg, in Spill()
91 void LiftoffAssembler::Fill(LiftoffRegister reg, uint32_t index, in Fill()
106 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister lhs, \
107 LiftoffRegister rhs) { \
135 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister src, \
215 bool LiftoffAssembler::emit_i64_divs(LiftoffRegister dst, LiftoffRegister lhs, in emit_i64_divs()
[all …]
/external/v8/src/wasm/baseline/s390/
Dliftoff-assembler-s390.h30 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
48 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
56 uint32_t offset_imm, LiftoffRegister src, in Store()
62 void LiftoffAssembler::LoadCallerFrameSlot(LiftoffRegister dst, in LoadCallerFrameSlot()
82 void LiftoffAssembler::Spill(uint32_t index, LiftoffRegister reg, in Spill()
91 void LiftoffAssembler::Fill(LiftoffRegister reg, uint32_t index, in Fill()
106 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister lhs, \
107 LiftoffRegister rhs) { \
135 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister src, \
220 bool LiftoffAssembler::emit_i64_divs(LiftoffRegister dst, LiftoffRegister lhs, in emit_i64_divs()
[all …]
/external/v8/src/wasm/baseline/ppc/
Dliftoff-assembler-ppc.h30 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
48 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
56 uint32_t offset_imm, LiftoffRegister src, in Store()
62 void LiftoffAssembler::LoadCallerFrameSlot(LiftoffRegister dst, in LoadCallerFrameSlot()
82 void LiftoffAssembler::Spill(uint32_t index, LiftoffRegister reg, in Spill()
91 void LiftoffAssembler::Fill(LiftoffRegister reg, uint32_t index, in Fill()
106 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister lhs, \
107 LiftoffRegister rhs) { \
135 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister src, \
220 bool LiftoffAssembler::emit_i64_divs(LiftoffRegister dst, LiftoffRegister lhs, in emit_i64_divs()
[all …]
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h31 inline void Load(LiftoffAssembler* assm, LiftoffRegister dst, MemOperand src, in Load()
52 LiftoffRegister src, ValueType type) { in Store()
72 inline void push(LiftoffAssembler* assm, LiftoffRegister reg, ValueType type) { in push()
92 inline void ChangeEndiannessLoad(LiftoffAssembler* assm, LiftoffRegister dst, in ChangeEndiannessLoad()
95 LiftoffRegister tmp = dst; in ChangeEndiannessLoad()
153 inline void ChangeEndiannessStore(LiftoffAssembler* assm, LiftoffRegister src, in ChangeEndiannessStore()
156 LiftoffRegister tmp = src; in ChangeEndiannessStore()
233 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
273 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
330 uint32_t offset_imm, LiftoffRegister src, in Store()
[all …]
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h36 inline void Load(LiftoffAssembler* assm, LiftoffRegister dst, Register base, in Load()
59 LiftoffRegister src, ValueType type) { in Store()
80 inline void push(LiftoffAssembler* assm, LiftoffRegister reg, ValueType type) { in push()
102 inline void ChangeEndiannessLoad(LiftoffAssembler* assm, LiftoffRegister dst, in ChangeEndiannessLoad()
105 LiftoffRegister tmp = dst; in ChangeEndiannessLoad()
176 inline void ChangeEndiannessStore(LiftoffAssembler* assm, LiftoffRegister src, in ChangeEndiannessStore()
179 LiftoffRegister tmp = src; in ChangeEndiannessStore()
263 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
304 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
386 uint32_t offset_imm, LiftoffRegister src, in Store()
[all …]
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h51 inline void Load(LiftoffAssembler* assm, LiftoffRegister dst, Register base, in Load()
74 LiftoffRegister src, ValueType type) { in Store()
95 inline void push(LiftoffAssembler* assm, LiftoffRegister reg, ValueType type) { in push()
119 for (LiftoffRegister r : {LiftoffRegister(regs)...}) { in SpillRegisters()
181 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
222 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
304 uint32_t offset_imm, LiftoffRegister src, in Store()
365 void LiftoffAssembler::LoadCallerFrameSlot(LiftoffRegister dst, in LoadCallerFrameSlot()
375 LiftoffRegister reg = GetUnusedRegister(kGpReg); in MoveStackValue()
401 void LiftoffAssembler::Spill(uint32_t index, LiftoffRegister reg, in Spill()
[all …]
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h66 inline void Load(LiftoffAssembler* assm, LiftoffRegister dst, Operand src, in Load()
86 inline void Store(LiftoffAssembler* assm, Operand dst, LiftoffRegister src, in Store()
106 inline void push(LiftoffAssembler* assm, LiftoffRegister reg, ValueType type) { in push()
127 for (LiftoffRegister r : {LiftoffRegister(regs)...}) { in SpillRegisters()
156 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
204 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
256 uint32_t offset_imm, LiftoffRegister src, in Store()
291 void LiftoffAssembler::LoadCallerFrameSlot(LiftoffRegister dst, in LoadCallerFrameSlot()
302 Fill(LiftoffRegister{kScratchRegister}, src_index, type); in MoveStackValue()
303 Spill(dst_index, LiftoffRegister{kScratchRegister}, type); in MoveStackValue()
[all …]
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h58 inline CPURegister GetRegFromType(const LiftoffRegister& reg, ValueType type) { in GetRegFromType()
159 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
199 void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, in Load()
250 uint32_t offset_imm, LiftoffRegister src, in Store()
284 void LiftoffAssembler::LoadCallerFrameSlot(LiftoffRegister dst, in LoadCallerFrameSlot()
318 void LiftoffAssembler::Spill(uint32_t index, LiftoffRegister reg, in Spill()
346 void LiftoffAssembler::Fill(LiftoffRegister reg, uint32_t index, in Fill()
362 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister lhs, \
363 LiftoffRegister rhs) { \
395 void LiftoffAssembler::emit_##name(LiftoffRegister dst, LiftoffRegister src, \
[all …]