Searched refs:constants (Results 1 – 14 of 14) sorted by relevance
1 # Move constants closer to usage5 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 definitions65 // many SpillFills while use constants102 // constants are defined just before usage, no SpillFills
66 1. Split constants: for all constants that are used in instructions with different types, split con…117 for const in graph.constants:
109 const GlobalEnvConstants *constants = thread->GlobalConstants(); in AsyncGeneratorReject() local110 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() local268 JSHandle<JSTaggedValue> thisArg = constants->GetHandledUndefined(); in AsyncGeneratorEnqueue()269 JSHandle<JSTaggedValue> undefined = constants->GetHandledUndefined(); in AsyncGeneratorEnqueue()
54 GlobalEnvConstants *constants = const_cast<GlobalEnvConstants *>(thread->GlobalConstants()); in GetAvailableLocales() local55 constants->SetCachedLocales(availableLocales.GetTaggedValue()); in GetAvailableLocales()
214 std::vector<struct ConstantsTy> constants; member223 for (size_t i = 0; i < constants.size(); i++) { in Print()225 constants[i].Print(); in Print()
90 constants[loc.offsetOrSmallConstant].largeConstant); in CalcCallSite()132 llvmStackMap_.constants.push_back(val); in CalculateStackMap()
85 1. move all constants to the cpu registers or frame slots by inserting move or store instructions88 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.
8 3. All constants in UPPERCASE.
909 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 to932 the pointer. Thus programs has no explicit references to constants and could be deduplicated.
211 All constants instruction are contaned in **Start BasicBlock**. There are not two equal constant(eq…
1296 auto constants = vm->GetJSThread()->GlobalConstants(); in GetDescription() local1297 return JSNApiHelper::ToLocal<StringRef>(constants->GetHandledEmptyString()); in GetDescription()1933 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Resolve() local1939 JSHandle<JSTaggedValue> undefined(constants->GetHandledUndefined()); in Resolve()1957 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Reject() local1963 JSHandle<JSTaggedValue> undefined(constants->GetHandledUndefined()); in Reject()1982 const GlobalEnvConstants *constants = thread->GlobalConstants(); in Catch() local1986 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 …]
1410 … auto constants = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in HandleRootObject() local1411 size_t constCount = constants->GetConstantCount(); in HandleRootObject()1412 while (constants->IsSpecialOrUndefined(constSpecialIndex)) { in HandleRootObject()1416 constants->SetConstant(ConstantIndex(constSpecialIndex), result); in HandleRootObject()
310 cflags += [ "-fmerge-all-constants" ]
33 * `CONSTANT_LIST` `ARG_LIST`: Registering all value origins such as constants and arguments. (they …