Home
last modified time | relevance | path

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

/external/v8/src/wasm/baseline/
Dliftoff-register.h190 class LiftoffRegList {
202 constexpr LiftoffRegList() = default;
245 constexpr LiftoffRegList operator&(const LiftoffRegList other) const {
246 return LiftoffRegList(regs_ & other.regs_);
249 constexpr LiftoffRegList operator~() const {
250 return LiftoffRegList(~regs_ & (kGpMask | kFpMask));
253 constexpr bool operator==(const LiftoffRegList other) const {
256 constexpr bool operator!=(const LiftoffRegList other) const {
273 LiftoffRegList MaskOut(const LiftoffRegList mask) const { in MaskOut()
279 static LiftoffRegList FromBits(storage_t bits) { in FromBits()
[all …]
Dliftoff-assembler.h121 LiftoffRegList used_registers;
123 LiftoffRegList last_spilled_regs;
127 bool has_unused_register(RegClass rc, LiftoffRegList pinned = {}) const {
129 LiftoffRegList available_regs =
134 LiftoffRegList candidates = GetCacheRegList(rc);
138 bool has_unused_register(LiftoffRegList candidates,
139 LiftoffRegList pinned = {}) const {
140 LiftoffRegList available_regs = candidates & ~used_registers & ~pinned;
145 LiftoffRegList pinned = {}) const {
152 LiftoffRegList candidates = GetCacheRegList(rc);
[all …]
Dliftoff-compiler.cc125 LiftoffRegList regs_to_save;
134 static OutOfLineCode StackCheck(WasmCodePosition pos, LiftoffRegList regs) { in StackCheck()
227 LiftoffRegList& param_regs) { in CollectReservedRegsForParameters()
258 LiftoffRegList pinned; in ProcessParameter()
605 __ GetUnusedRegister(kGpReg, LiftoffRegList::ForRegs(dst)); in EmitTypeConversion()
719 LiftoffRegister lhs = __ PopToRegister(LiftoffRegList::ForRegs(rhs)); in EmitBinOp()
733 __ GetUnusedRegister(kGpReg, LiftoffRegList::ForRegs(dst)); in EmitDivOrRem64CCall()
735 __ GetUnusedRegister(kGpReg, LiftoffRegList::ForRegs(dst, ret)); in EmitDivOrRem64CCall()
1138 LiftoffRegList& pinned, in GetGlobalBaseAndOffset()
1158 LiftoffRegList pinned; in GetGlobal()
[all …]
Dliftoff-assembler.cc260 LiftoffRegList move_dst_regs_;
261 LiftoffRegList move_src_regs_;
361 LiftoffRegister LiftoffAssembler::PopToRegister(LiftoffRegList pinned) { in PopToRegister()
469 LiftoffRegList param_regs; in PrepareCall()
527 LiftoffRegList free_regs = kGpCacheRegList.MaskOut(param_regs); in PrepareCall()
607 LiftoffRegList used_regs; in ValidateCacheState()
633 LiftoffRegister LiftoffAssembler::SpillOneRegister(LiftoffRegList candidates, in SpillOneRegister()
634 LiftoffRegList pinned) { in SpillOneRegister()
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h93 LoadType type, LiftoffRegList pinned) { in ChangeEndiannessLoad()
154 StoreType type, LiftoffRegList pinned) { in ChangeEndiannessStore()
275 LoadType type, LiftoffRegList pinned, in Load()
331 StoreType type, LiftoffRegList pinned, in Store()
550 Register dst, Register src, Register amount, LiftoffRegList pinned) { \
628 LiftoffRegList pinned) { \ in I64_BINOP()
743 GetUnusedRegister(kFpReg, LiftoffRegList::ForRegs(src)); in FP_BINOP()
745 GetUnusedRegister(kFpReg, LiftoffRegList::ForRegs(src, rounded)); in FP_BINOP()
766 GetUnusedRegister(kFpReg, LiftoffRegList::ForRegs(src)); in FP_BINOP()
768 GetUnusedRegister(kFpReg, LiftoffRegList::ForRegs(src, rounded)); in FP_BINOP()
[all …]
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h103 LoadType type, LiftoffRegList pinned) { in ChangeEndiannessLoad()
177 StoreType type, LiftoffRegList pinned) { in ChangeEndiannessStore()
306 LoadType type, LiftoffRegList pinned, in Load()
387 StoreType type, LiftoffRegList pinned, in Store()
624 Register dst, Register src, Register amount, LiftoffRegList pinned) { \
692 LiftoffRegList pinned) { in Emit64BitShiftOperation()
731 Register amount, LiftoffRegList pinned) { in emit_i64_shl()
737 Register amount, LiftoffRegList pinned) { in emit_i64_sar()
743 Register amount, LiftoffRegList pinned) { in emit_i64_shr()
880 GetUnusedRegister(kFpReg, LiftoffRegList::ForRegs(src)); in emit_type_conversion()
[all …]
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h45 static constexpr LiftoffRegList kByteRegs =
46 LiftoffRegList::FromBits<Register::ListOf<eax, ecx, edx, ebx>()>();
224 LoadType type, LiftoffRegList pinned, in Load()
305 StoreType type, LiftoffRegList pinned, in Store()
524 LiftoffRegList unavailable = LiftoffRegList::ForRegs(eax, edx, lhs); in EmitInt32DivOrRem()
613 LiftoffRegList pinned) { in EmitShiftOperation()
650 LiftoffRegList pinned) { in emit_i32_shl()
656 LiftoffRegList pinned) { in emit_i32_sar()
662 LiftoffRegList pinned) { in emit_i32_shr()
716 LiftoffRegList keep_alive = LiftoffRegList::ForRegs(lhs.high_gp(), rhs); in OpWithCarry()
[all …]
/external/v8/src/wasm/baseline/arm/
Dliftoff-assembler-arm.h50 LoadType type, LiftoffRegList pinned, in Load()
57 StoreType type, LiftoffRegList pinned, in Store()
131 Register amount, LiftoffRegList pinned) { \
136 Register amount, LiftoffRegList pinned) { \
304 void LiftoffAssembler::PushRegisters(LiftoffRegList regs) { in PushRegisters()
308 void LiftoffAssembler::PopRegisters(LiftoffRegList regs) { in PopRegisters()
/external/v8/src/wasm/baseline/s390/
Dliftoff-assembler-s390.h50 LoadType type, LiftoffRegList pinned, in Load()
57 StoreType type, LiftoffRegList pinned, in Store()
131 Register amount, LiftoffRegList pinned) { \
136 Register amount, LiftoffRegList pinned) { \
317 void LiftoffAssembler::PushRegisters(LiftoffRegList regs) { in PushRegisters()
321 void LiftoffAssembler::PopRegisters(LiftoffRegList regs) { in PopRegisters()
/external/v8/src/wasm/baseline/ppc/
Dliftoff-assembler-ppc.h50 LoadType type, LiftoffRegList pinned, in Load()
57 StoreType type, LiftoffRegList pinned, in Store()
131 Register amount, LiftoffRegList pinned) { \
136 Register amount, LiftoffRegList pinned) { \
317 void LiftoffAssembler::PushRegisters(LiftoffRegList regs) { in PushRegisters()
321 void LiftoffAssembler::PopRegisters(LiftoffRegList regs) { in PopRegisters()
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h206 LoadType type, LiftoffRegList pinned, in Load()
257 StoreType type, LiftoffRegList pinned, in Store()
573 LiftoffRegList pinned) { in EmitShiftOperation()
605 LiftoffRegList pinned) { in emit_i32_shl()
611 LiftoffRegList pinned) { in emit_i32_sar()
617 LiftoffRegList pinned) { in emit_i32_shr()
742 Register amount, LiftoffRegList pinned) { in emit_i64_shl()
748 Register amount, LiftoffRegList pinned) { in emit_i64_sar()
754 Register amount, LiftoffRegList pinned) { in emit_i64_shr()
1322 void LiftoffAssembler::PushRegisters(LiftoffRegList regs) { in PushRegisters()
[all …]
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h201 LoadType type, LiftoffRegList pinned, in Load()
251 StoreType type, LiftoffRegList pinned, in Store()
391 Register amount, LiftoffRegList pinned) { \
396 Register amount, LiftoffRegList pinned) { \
839 void LiftoffAssembler::PushRegisters(LiftoffRegList regs) { in PushRegisters()
844 void LiftoffAssembler::PopRegisters(LiftoffRegList regs) { in PopRegisters()