v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
maglev-ir.cc File Reference
Include dependency graph for maglev-ir.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::maglev
 

Macros

#define __   masm->
 
#define DEF_NAME(Name)
 
#define CASE(Name)
 
#define V(Name)
 
#define CASE(MathName, ExtName, EnumName)
 
#define CASE_REPR(repr)
 
#define V(Name)
 
#define CASE(MathName, ExtName, EnumName)
 

Functions

const char * v8::internal::maglev::OpcodeToString (Opcode opcode)
 
bool v8::internal::maglev::FromConstantToBool (LocalIsolate *local_isolate, ValueNode *node)
 
ValueRepresentation v8::internal::maglev::ToValueRepresentation (MachineType type)
 
void v8::internal::maglev::CheckValueInputIs (const NodeBase *node, int i, ValueRepresentation expected, MaglevGraphLabeller *graph_labeller)
 
void v8::internal::maglev::CheckValueInputIs (const NodeBase *node, int i, Opcode expected, MaglevGraphLabeller *graph_labeller)
 
std::ostream & v8::internal::maglev::operator<< (std::ostream &os, StoreMap::Kind kind)
 

Macro Definition Documentation

◆ __

#define __   masm->

Definition at line 50 of file maglev-ir.cc.

◆ CASE [1/3]

#define CASE ( MathName,
ExtName,
EnumName )
Value:
case Ieee754Function::k##EnumName: \
return ExternalReference::ieee754_##ExtName##_function();

◆ CASE [2/3]

#define CASE ( MathName,
ExtName,
EnumName )
Value:
case Ieee754Function::k##EnumName: \
os << "(" << #EnumName << ")"; \
break;

◆ CASE [3/3]

#define CASE ( Name)
Value:
case Opcode::k##Name: { \
return node->Cast<Name>()->ToBoolean(local_isolate); \
}

◆ CASE_REPR

#define CASE_REPR ( repr)
Value:
case ValueRepresentation::k##repr: \
for (int i = 0; i < input_count(); i++) { \
CheckValueInputIs(this, i, ValueRepresentation::k##repr, \
graph_labeller); \
} \
break;

◆ DEF_NAME

#define DEF_NAME ( Name)
Value:
#Name,

◆ V [1/2]

#define V ( Name)
Value:
case Opcode::k##Name: \
return PrintImpl(os, graph_labeller, this->Cast<Name>(), skip_targets);

◆ V [2/2]

#define V ( Name)
Value:
case Opcode::k##Name: \
return this->Cast<Name>()->DoReify(isolate);

Variable Documentation

◆ scope_

std::optional<UnparkedScope> scope_
private

Definition at line 270 of file maglev-ir.cc.