Home
last modified time | relevance | path

Searched refs:hirGate (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dhcr_circuit_builder.cpp24 GateRef hirGate) in NoLabelCallRuntime()
34 GateRef pcOffset = Int64(acc_.TryGetPcOffset(hirGate)); in NoLabelCallRuntime()
57 GateRef CircuitBuilder::CallStub(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args, in CallStub() argument
68 ASSERT(hirGate != Circuit::NullGate()); in CallStub()
69 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallStub()
116 const std::vector<GateRef> &args, GateRef hirGate, const char* comment) in Call()
121 if (GetCircuit()->IsOptimizedOrFastJit() && hirGate != Circuit::NullGate()) { in Call()
122 AppendFrameArgs(inputs, hirGate); in Call()
125 GateRef pcOffset = Int64(acc_.TryGetPcOffset(hirGate)); in Call()
148 bool isNoGC = acc_.GetNoGCFlag(hirGate); in Call()
23 NoLabelCallRuntime(GateRef glue, GateRef depend, size_t index, std::vector<GateRef> &args, GateRef hirGate) NoLabelCallRuntime() argument
115 Call(const CallSignature* cs, GateRef glue, GateRef target, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) Call() argument
217 CallRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) CallRuntime() argument
248 CallNGCRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) CallNGCRuntime() argument
304 FastCallOptimized(GateRef glue, GateRef code, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate) FastCallOptimized() argument
322 CallOptimized(GateRef glue, GateRef code, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate) CallOptimized() argument
349 CallPrivateGetter(GateRef hirGate, GateRef receiver, GateRef accessor, const char* comment) CallPrivateGetter() argument
371 CallPrivateSetter( GateRef hirGate, GateRef receiver, GateRef accessor, GateRef value, const char* comment) CallPrivateSetter() argument
394 CallGetter(GateRef hirGate, GateRef receiver, GateRef holder, GateRef propertyLookupResult, const char* comment) CallGetter() argument
417 CallSetter(GateRef hirGate, GateRef receiver, GateRef holder, GateRef propertyLookupResult, GateRef value, const char* comment) CallSetter() argument
440 Float32ArrayConstructor(GateRef hirGate, std::vector<GateRef> args) Float32ArrayConstructor() argument
459 Construct(GateRef hirGate, std::vector<GateRef> args) Construct() argument
477 CallInternal(GateRef hirGate, std::vector<GateRef> args, uint64_t pcOffset) CallInternal() argument
494 CallNew(GateRef hirGate, std::vector<GateRef> args, bool needPushArgv) CallNew() argument
[all...]
H A Dslowpath_lowering.h155 void ReplaceHirWithPendingException(GateRef hirGate, GateRef state, GateRef depend, GateRef value);
156 void ReplaceHirWithValue(GateRef hirGate, GateRef value, bool noThrow = false);
157 void ReplaceHirToThrowCall(GateRef hirGate, GateRef callGate);
158 void LowerExceptionHandler(GateRef hirGate);
171 void LowerToJSCall(GateRef hirGate, const std::vector<GateRef> &args, const std::vector<GateRef> &argsFastCall);
H A Dcircuit_builder.h265 void AppendFrameArgs(std::vector<GateRef> &args, GateRef hirGate);
285 GateRef GetObjectByIndexFromConstPool(GateRef glue, GateRef hirGate, GateRef frameState, GateRef index,
287 GateRef GetObjectFromConstPool(GateRef glue, GateRef hirGate, GateRef shardConstPool, GateRef unsharedConstPool,
397 GateRef Construct(GateRef hirGate, std::vector<GateRef> args);
398 GateRef CallNew(GateRef hirGate, std::vector<GateRef> args, bool needPushArgv = false);
399 GateRef CallInternal(GateRef hirGate, std::vector<GateRef> args, uint64_t pcOffset);
400 GateRef TypedCallNative(GateRef hirGate, GateRef thisObj, GateRef funcId);
416 GateRef Float32ArrayConstructor(GateRef hirGate, std::vector<GateRef> args);
419 GateRef CallPrivateGetter(GateRef hirGate, GateRef receiver, GateRef accessor, const char* comment = nullptr);
421 GateRef hirGate, GateRe
[all...]
H A Dcircuit_builder.cpp464 void CircuitBuilder::AppendFrameArgs(std::vector<GateRef> &args, GateRef hirGate) in AppendFrameArgs() argument
466 GateRef frameArgs = acc_.GetFrameArgs(hirGate); in AppendFrameArgs()
778 GateRef CircuitBuilder::GetObjectByIndexFromConstPool(GateRef glue, GateRef hirGate, GateRef frameState, GateRef index, in GetObjectByIndexFromConstPool() argument
786 GateRef obj = GetObjectFromConstPool(glue, hirGate, sharedConstpool, unsharedConstPool, module, index, type); in GetObjectByIndexFromConstPool()
790 GateRef CircuitBuilder::GetObjectFromConstPool(GateRef glue, GateRef hirGate, GateRef sharedConstPool, in GetObjectFromConstPool() argument
803 if (GetCircuit()->IsOptimizedOrFastJit() && hirGate == Circuit::NullGate()) { in GetObjectFromConstPool()
804 hirGate = index; in GetObjectFromConstPool()
826 { sharedConstPool, Int32ToTaggedInt(index) }, hirGate); in GetObjectFromConstPool()
829 { sharedConstPool, Int32ToTaggedInt(index), module }, hirGate); in GetObjectFromConstPool()
832 { sharedConstPool, Int32ToTaggedInt(index), module }, hirGate); in GetObjectFromConstPool()
[all...]
H A Dbuiltins_lowering.h41 void ReplaceHirWithValue(GateRef hirGate, GateRef value, bool noThrow = false);
H A Dntype_hcr_lowering.h60 GateRef LowerCallRuntime(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args,
H A Dgate_accessor.cpp1236 void GateAccessor::ReplaceHirWithIfBranch(GateRef hirGate, StateDepend success, in ReplaceHirWithIfBranch() argument
1239 auto uses = Uses(hirGate); in ReplaceHirWithIfBranch()
1274 DeleteGate(hirGate); in ReplaceHirWithIfBranch()
1277 void GateAccessor::ReplaceHirDirectly(GateRef hirGate, in ReplaceHirDirectly() argument
1280 auto uses = Uses(hirGate); in ReplaceHirDirectly()
1295 DeleteGate(hirGate); in ReplaceHirDirectly()
1298 void GateAccessor::ReplaceHirAndDeleteIfException(GateRef hirGate, in ReplaceHirAndDeleteIfException() argument
1302 auto type = GetGateType(hirGate); in ReplaceHirAndDeleteIfException()
1308 auto uses = Uses(hirGate); in ReplaceHirAndDeleteIfException()
1334 DeleteGate(hirGate); in ReplaceHirAndDeleteIfException()
[all...]
H A Dbuiltins_lowering.cpp177 void BuiltinLowering::ReplaceHirWithValue(GateRef hirGate, GateRef value, bool noThrow) in ReplaceHirWithValue() argument
181 // copy depend-wire of hirGate to value in ReplaceHirWithValue()
195 acc_.ReplaceHirWithIfBranch(hirGate, success, exception, value); in ReplaceHirWithValue()
197 acc_.ReplaceHirDirectly(hirGate, builder_.GetStateDepend(), value); in ReplaceHirWithValue()
H A Dntype_hcr_lowering.cpp274 GateRef NTypeHCRLowering::LowerCallRuntime(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args, in LowerCallRuntime() argument
279 GateRef result = builder_.CallRuntime(glue, index, Gate::InvalidGateRef, args, hirGate, name.c_str()); in LowerCallRuntime()
284 GateRef result = builder_.Call(cs, glue, target, dependEntry_, args, hirGate, name.c_str()); in LowerCallRuntime()
H A Dtyped_hcr_lowering.h234 GateRef LowerCallRuntime(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args,
246 void ReplaceHirWithPendingException(GateRef hirGate, GateRef glue, GateRef state, GateRef depend, GateRef value);
H A Dgate_accessor.h613 void ReplaceHirWithIfBranch(GateRef hirGate, StateDepend success, StateDepend exception, GateRef value);
614 void ReplaceHirDirectly(GateRef hirGate, StateDepend replacement, GateRef value);
615 void ReplaceHirAndDeleteIfException(GateRef hirGate, StateDepend replacement, GateRef value);
H A Dmcr_circuit_builder.cpp633 GateRef CircuitBuilder::TypedCallOperator(GateRef hirGate, MachineType type, const std::vector<GateRef> &inList, in TypedCallOperator() argument
636 ASSERT(acc_.GetOpCode(hirGate) == OpCode::JS_BYTECODE); in TypedCallOperator()
638 uint64_t pcOffset = acc_.TryGetPcOffset(hirGate); in TypedCallOperator()
1015 GateRef CircuitBuilder::TypedCall(GateRef hirGate, std::vector<GateRef> args, bool isNoGC) in TypedCall() argument
1017 ASSERT(acc_.GetOpCode(hirGate) == OpCode::JS_BYTECODE); in TypedCall()
1022 uint64_t pcOffset = acc_.TryGetPcOffset(hirGate); in TypedCall()
1026 AppendFrameArgs(args, hirGate); in TypedCall()
1034 GateRef CircuitBuilder::TypedFastCall(GateRef hirGate, std::vector<GateRef> args, bool isNoGC) in TypedFastCall() argument
1036 ASSERT(acc_.GetOpCode(hirGate) == OpCode::JS_BYTECODE); in TypedFastCall()
1041 uint64_t pcOffset = acc_.TryGetPcOffset(hirGate); in TypedFastCall()
[all...]
H A Dnative_inline_lowering.h102 void ReplaceGateWithPendingException(GateRef hirGate, GateRef value);
H A Dmcr_circuit_builder.h529 inline GateRef CircuitBuilder::TypedCallBuiltin(GateRef hirGate, const std::vector<GateRef> &args, in TypedCallBuiltin() argument
539 AppendFrameArgs(inList, hirGate); in TypedCallBuiltin()
541 auto builtinOp = TypedCallOperator(hirGate, MachineType::I64, inList, isSideEffect); in TypedCallBuiltin()
H A Dslowpath_lowering.cpp141 void SlowPathLowering::LowerToJSCall(GateRef hirGate, const std::vector<GateRef> &args, in LowerToJSCall() argument
148 LowerFastCall(hirGate, glue_, func, argc, args, argsFastCall, &res, &exit, false); in LowerToJSCall()
152 ReplaceHirWithPendingException(hirGate, stateInGate, depend, *res); in LowerToJSCall()
155 void SlowPathLowering::ReplaceHirWithPendingException(GateRef hirGate, in ReplaceHirWithPendingException() argument
167 acc_.ReplaceHirWithIfBranch(hirGate, success, exception, value); in ReplaceHirWithPendingException()
183 void SlowPathLowering::ReplaceHirWithValue(GateRef hirGate, GateRef value, bool noThrow) in ReplaceHirWithValue() argument
187 // copy depend-wire of hirGate to value in ReplaceHirWithValue()
201 acc_.ReplaceHirWithIfBranch(hirGate, success, exception, value); in ReplaceHirWithValue()
203 acc_.ReplaceHirDirectly(hirGate, builder_.GetStateDepend(), value); in ReplaceHirWithValue()
213 void SlowPathLowering::ReplaceHirToThrowCall(GateRef hirGate, GateRe argument
1256 LowerExceptionHandler(GateRef hirGate) LowerExceptionHandler() argument
[all...]
H A Dnative_inline_lowering.cpp1071 void NativeInlineLowering::ReplaceGateWithPendingException(GateRef hirGate, GateRef value) in ReplaceGateWithPendingException() argument
1074 // copy depend-wire of hirGate to value in ReplaceGateWithPendingException()
1086 acc_.ReplaceHirWithIfBranch(hirGate, success, exception, value); in ReplaceGateWithPendingException()
H A Dtyped_hcr_lowering.cpp718 GateRef TypedHCRLowering::LowerCallRuntime(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args, in LowerCallRuntime() argument
723 GateRef result = builder_.CallRuntime(glue, index, Gate::InvalidGateRef, args, hirGate, name.c_str()); in LowerCallRuntime()
728 GateRef result = builder_.Call(cs, glue, target, dependEntry_, args, hirGate, name.c_str()); in LowerCallRuntime()
1681 void TypedHCRLowering::ReplaceHirWithPendingException(GateRef hirGate, GateRef glue, GateRef state, GateRef depend, in ReplaceHirWithPendingException() argument
1693 acc_.ReplaceHirWithIfBranch(hirGate, success, exception, value); in ReplaceHirWithPendingException()
H A Dstub_builder.cpp7784 GateRef hirGate = Circuit::NullGate(); in GetStringFromConstPool() local
7785 return env_->GetBuilder()->GetObjectFromConstPool(glue, hirGate, constpool, Circuit::NullGate(), module, index, in GetStringFromConstPool()
7792 GateRef hirGate = Circuit::NullGate(); in GetMethodFromConstPool() local
7793 return env_->GetBuilder()->GetObjectFromConstPool(glue, hirGate, constpool, Circuit::NullGate(), module, index, in GetMethodFromConstPool()
7799 GateRef hirGate = Circuit::NullGate(); in GetArrayLiteralFromConstPool() local
7801 return env_->GetBuilder()->GetObjectFromConstPool(glue, hirGate, constpool, unsharedConstPool, module, index, in GetArrayLiteralFromConstPool()
7807 GateRef hirGate = Circuit::NullGate(); in GetObjectLiteralFromConstPool() local
7809 return env_->GetBuilder()->GetObjectFromConstPool(glue, hirGate, constpool, unsharedConstPool, module, index, in GetObjectLiteralFromConstPool()

Completed in 62 milliseconds