Lines Matching refs:Operator
73 SIMPLE(name, Operator::kNoProperties, inputs, outputs)
82 #define PURE_BINOP(name) SIMPLE(name, Operator::kPure, 2, 1)
84 const Operator* Equal() { BINOP(JSEqual); } in Equal()
85 const Operator* NotEqual() { BINOP(JSNotEqual); } in NotEqual()
86 const Operator* StrictEqual() { PURE_BINOP(JSStrictEqual); } in StrictEqual()
87 const Operator* StrictNotEqual() { PURE_BINOP(JSStrictNotEqual); } in StrictNotEqual()
88 const Operator* LessThan() { BINOP(JSLessThan); } in LessThan()
89 const Operator* GreaterThan() { BINOP(JSGreaterThan); } in GreaterThan()
90 const Operator* LessThanOrEqual() { BINOP(JSLessThanOrEqual); } in LessThanOrEqual()
91 const Operator* GreaterThanOrEqual() { BINOP(JSGreaterThanOrEqual); } in GreaterThanOrEqual()
92 const Operator* BitwiseOr() { BINOP(JSBitwiseOr); } in BitwiseOr()
93 const Operator* BitwiseXor() { BINOP(JSBitwiseXor); } in BitwiseXor()
94 const Operator* BitwiseAnd() { BINOP(JSBitwiseAnd); } in BitwiseAnd()
95 const Operator* ShiftLeft() { BINOP(JSShiftLeft); } in ShiftLeft()
96 const Operator* ShiftRight() { BINOP(JSShiftRight); } in ShiftRight()
97 const Operator* ShiftRightLogical() { BINOP(JSShiftRightLogical); } in ShiftRightLogical()
98 const Operator* Add() { BINOP(JSAdd); } in Add()
99 const Operator* Subtract() { BINOP(JSSubtract); } in Subtract()
100 const Operator* Multiply() { BINOP(JSMultiply); } in Multiply()
101 const Operator* Divide() { BINOP(JSDivide); } in Divide()
102 const Operator* Modulus() { BINOP(JSModulus); } in Modulus()
104 const Operator* UnaryNot() { UNOP(JSUnaryNot); } in UnaryNot()
105 const Operator* ToBoolean() { UNOP(JSToBoolean); } in ToBoolean()
106 const Operator* ToNumber() { UNOP(JSToNumber); } in ToNumber()
107 const Operator* ToString() { UNOP(JSToString); } in ToString()
108 const Operator* ToName() { UNOP(JSToName); } in ToName()
109 const Operator* ToObject() { UNOP(JSToObject); } in ToObject()
110 const Operator* Yield() { UNOP(JSYield); } in Yield()
112 const Operator* Create() { SIMPLE(JSCreate, Operator::kEliminatable, 0, 1); } in Create()
114 const Operator* Call(int arguments, CallFunctionFlags flags) { in Call()
116 OP1(JSCallFunction, CallParameters, parameters, Operator::kNoProperties, in Call()
120 const Operator* CallNew(int arguments) { in CallNew()
122 Operator1<int>(IrOpcode::kJSCallConstruct, Operator::kNoProperties, in CallNew()
126 const Operator* LoadProperty() { BINOP(JSLoadProperty); } in LoadProperty()
127 const Operator* LoadNamed(Unique<Name> name,
130 OP1(JSLoadNamed, LoadNamedParameters, parameters, Operator::kNoProperties,
134 const Operator* StoreProperty(StrictMode strict_mode) { in StoreProperty()
135 OP1(JSStoreProperty, StrictMode, strict_mode, Operator::kNoProperties, 3, in StoreProperty()
139 const Operator* StoreNamed(StrictMode strict_mode, Unique<Name> name) { in StoreNamed()
141 OP1(JSStoreNamed, StoreNamedParameters, parameters, Operator::kNoProperties, in StoreNamed()
145 const Operator* DeleteProperty(StrictMode strict_mode) { in DeleteProperty()
146 OP1(JSDeleteProperty, StrictMode, strict_mode, Operator::kNoProperties, 2, in DeleteProperty()
150 const Operator* HasProperty() { NOPROPS(JSHasProperty, 2, 1); } in HasProperty()
152 const Operator* LoadContext(uint16_t depth, uint32_t index, bool immutable) { in LoadContext()
155 Operator::kEliminatable | Operator::kNoWrite, 1, 1); in LoadContext()
157 const Operator* StoreContext(uint16_t depth, uint32_t index) { in StoreContext()
159 OP1(JSStoreContext, ContextAccess, access, Operator::kNoProperties, 2, 0); in StoreContext()
162 const Operator* TypeOf() { SIMPLE(JSTypeOf, Operator::kPure, 1, 1); } in TypeOf()
163 const Operator* InstanceOf() { NOPROPS(JSInstanceOf, 2, 1); } in InstanceOf()
164 const Operator* Debugger() { NOPROPS(JSDebugger, 0, 0); } in Debugger()
167 const Operator* CreateFunctionContext() { in CreateFunctionContext()
170 const Operator* CreateCatchContext(Unique<String> name) { in CreateCatchContext()
171 OP1(JSCreateCatchContext, Unique<String>, name, Operator::kNoProperties, 1, in CreateCatchContext()
174 const Operator* CreateWithContext() { NOPROPS(JSCreateWithContext, 2, 1); } in CreateWithContext()
175 const Operator* CreateBlockContext() { NOPROPS(JSCreateBlockContext, 2, 1); } in CreateBlockContext()
176 const Operator* CreateModuleContext() { in CreateModuleContext()
179 const Operator* CreateGlobalContext() { in CreateGlobalContext()
183 const Operator* Runtime(Runtime::FunctionId function, int arguments) { in Runtime()
186 OP1(JSCallRuntime, Runtime::FunctionId, function, Operator::kNoProperties, in Runtime()