Home
last modified time | relevance | path

Searched refs:constants (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/compiler/docs/
Dmove_constants_closer_to_usage_doc.md1 # Move constants closer to usage
5 Previously compiler defined all constants in a start block. It leads to several performance issues:
6 …he constants are used in a branch that is not reachable during particular execution then there is …
7 - since constants have relatively large live intervals register allocator may spill them to stack;
8 - constants residing in registers may cause excessive caller registers load/stores around method ca…
12 Avoid unnecessary constants definition and excessive caller registers load/stores around method cal…
34 // many constants definitions
65 // many SpillFills while use constants
102 // constants are defined just before usage, no SpillFills
Dir_builder.md66 1. Split constants: for all constants that are used in instructions with different types, split con…
117 for const in graph.constants:
/arkcompiler/ets_runtime/ecmascript/
Djs_async_generator_object.cpp109 const GlobalEnvConstants *constants = thread->GlobalConstants(); in AsyncGeneratorReject() local
110 const JSHandle<JSTaggedValue> thisArg = constants->GetHandledUndefined(); in AsyncGeneratorReject()
111 const JSHandle<JSTaggedValue> undefined = constants->GetHandledUndefined(); in AsyncGeneratorReject()
265 const GlobalEnvConstants *constants = thread->GlobalConstants(); in AsyncGeneratorEnqueue() local
268 JSHandle<JSTaggedValue> thisArg = constants->GetHandledUndefined(); in AsyncGeneratorEnqueue()
269 JSHandle<JSTaggedValue> undefined = constants->GetHandledUndefined(); in AsyncGeneratorEnqueue()
Djs_collator.cpp54 GlobalEnvConstants *constants = const_cast<GlobalEnvConstants *>(thread->GlobalConstants()); in GetAvailableLocales() local
55 constants->SetCachedLocales(availableLocales.GetTaggedValue()); in GetAvailableLocales()
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dllvm_stackmap_type.h214 std::vector<struct ConstantsTy> constants; member
223 for (size_t i = 0; i < constants.size(); i++) { in Print()
225 constants[i].Print(); in Print()
Dllvm_stackmap_parser.cpp90 constants[loc.offsetOrSmallConstant].largeConstant); in CalcCallSite()
132 llvmStackMap_.constants.push_back(val); in CalculateStackMap()
/arkcompiler/runtime_core/docs/
Don-stack-replacement.md85 1. move all constants to the cpu registers or frame slots by inserting move or store instructions
88 The first point is necessary because the Panda compiler can place some constants in the cpu registe…
89 but the constants themselves are not virtual registers and won't be stored in the metainfo.
Dcoding-style.md8 3. All constants in UPPERCASE.
Dfile_format.md909 methods all constants the program refers to are moved into [the constant pool](#constant-pool).
927 variable types and file names. To deduplicate such programs all constants the program refers to
932 the pointer. Thus programs has no explicit references to constants and could be deduplicated.
Dir_format.md211 All constants instruction are contaned in **Start BasicBlock**. There are not two equal constant(eq…
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp1296 auto constants = vm->GetJSThread()->GlobalConstants(); in GetDescription() local
1297 return JSNApiHelper::ToLocal<StringRef>(constants->GetHandledEmptyString()); in GetDescription()
1933 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Resolve() local
1939 JSHandle<JSTaggedValue> undefined(constants->GetHandledUndefined()); in Resolve()
1957 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Reject() local
1963 JSHandle<JSTaggedValue> undefined(constants->GetHandledUndefined()); in Reject()
1982 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Catch() local
1986 JSHandle<JSTaggedValue> catchKey(thread, constants->GetPromiseCatchString()); in Catch()
1988 JSHandle<JSTaggedValue> undefined = constants->GetHandledUndefined(); in Catch()
2003 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Finally() local
[all …]
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp1410 … auto constants = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in HandleRootObject() local
1411 size_t constCount = constants->GetConstantCount(); in HandleRootObject()
1412 while (constants->IsSpecialOrUndefined(constSpecialIndex)) { in HandleRootObject()
1416 constants->SetConstant(ConstantIndex(constSpecialIndex), result); in HandleRootObject()
/arkcompiler/toolchain/build/config/compiler/
DBUILD.gn310 cflags += [ "-fmerge-all-constants" ]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_ir_specification.md33 * `CONSTANT_LIST` `ARG_LIST`: Registering all value origins such as constants and arguments. (they …