v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
liftoff-register.h File Reference
#include <iosfwd>
#include <memory>
#include "src/base/bits.h"
#include "src/wasm/baseline/liftoff-assembler-defs.h"
#include "src/wasm/wasm-opcodes.h"
Include dependency graph for liftoff-register.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::wasm::LiftoffRegister
 
class  v8::internal::wasm::LiftoffRegList
 
class  v8::internal::wasm::LiftoffRegList::Iterator
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::wasm
 

Enumerations

enum  v8::internal::wasm::RegClass : uint8_t {
  v8::internal::wasm::kGpReg , v8::internal::wasm::kFpReg , v8::internal::wasm::kGpRegPair = kFpReg + 1 + (kNeedS128RegPair && !kNeedI64RegPair) , v8::internal::wasm::kFpRegPair = kFpReg + 1 + kNeedI64RegPair ,
  v8::internal::wasm::kNoReg = kFpRegPair + kNeedS128RegPair
}
 
enum  v8::internal::wasm::RegPairHalf : uint8_t { v8::internal::wasm::kLowWord = 0 , v8::internal::wasm::kHighWord = 1 }
 

Functions

static constexpr bool v8::internal::wasm::needs_gp_reg_pair (ValueKind kind)
 
static constexpr bool v8::internal::wasm::needs_fp_reg_pair (ValueKind kind)
 
static constexpr RegClass v8::internal::wasm::reg_class_for (ValueKind kind)
 
 v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE (LiftoffRegister)
 
std::ostream & v8::internal::wasm::operator<< (std::ostream &os, LiftoffRegister reg)
 
 v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE (LiftoffRegList)
 
static constexpr LiftoffRegList v8::internal::wasm::GetCacheRegList (RegClass rc)
 
std::ostream & v8::internal::wasm::operator<< (std::ostream &os, LiftoffRegList reglist)
 

Variables

static constexpr bool v8::internal::wasm::kNeedI64RegPair = kSystemPointerSize == 4
 
static constexpr bool v8::internal::wasm::kNeedS128RegPair = kFPAliasing == AliasingKind::kCombine
 
static constexpr int v8::internal::wasm::kMaxGpRegCode = kLiftoffAssemblerGpCacheRegs.last().code()
 
static constexpr int v8::internal::wasm::kMaxFpRegCode = kLiftoffAssemblerFpCacheRegs.last().code()
 
static constexpr int v8::internal::wasm::kAfterMaxLiftoffGpRegCode = kMaxGpRegCode + 1
 
static constexpr int v8::internal::wasm::kAfterMaxLiftoffFpRegCode
 
static constexpr int v8::internal::wasm::kAfterMaxLiftoffRegCode = kAfterMaxLiftoffFpRegCode
 
static constexpr int v8::internal::wasm::kBitsPerLiftoffRegCode
 
static constexpr int v8::internal::wasm::kBitsPerGpRegCode
 
static constexpr int v8::internal::wasm::kBitsPerFpRegCode
 
static constexpr int v8::internal::wasm::kBitsPerRegPair
 
static constexpr LiftoffRegList v8::internal::wasm::kGpCacheRegList
 
static constexpr LiftoffRegList v8::internal::wasm::kFpCacheRegList