Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 29) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.cpp266 auto clone = targetGraph->CreateInst(GetOpcode()); in Clone() local
267 clone->bit_fields_ = GetAllFields(); in Clone()
268 clone->pc_ = GetPc(); in Clone()
270 clone->SetDstReg(GetDstReg()); in Clone()
273 clone->ReserveInputs(GetInputsCount()); in Clone()
275 return clone; in Clone()
286 auto clone = FixedInputsInst::Clone(targetGraph)->CastToSpillFill(); in Clone() local
288 clone->AddSpillFill(spill_fill); in Clone()
290 return clone; in Clone()
295 auto clone = FixedInputsInst::Clone(targetGraph); in Clone() local
[all …]
Dgraph_cloner.h176 …id BuildClonedLoopHeaderDataFlow(const BasicBlock &block, BasicBlock *resolver, BasicBlock *clone);
225 auto clone = block->Clone(target_graph); in CloneBlocksAndInstructions() local
226 clone_blocks_[block->GetId()] = clone; in CloneBlocksAndInstructions()
227 CloneInstructions<type, skip_safepoints>(block, clone, &inst_count); in CloneBlocksAndInstructions()
229 target_graph->AppendTryBeginBlock(clone); in CloneBlocksAndInstructions()
239 void CloneInstructions(const BasicBlock *block, BasicBlock *clone, size_t *inst_count) in CloneInstructions() argument
242 clone->AppendInst(CloneInstruction(inst, inst_count, clone->GetGraph())); in CloneInstructions()
247 auto phi_clone = CloneInstruction(phi, inst_count, clone->GetGraph()); in CloneInstructions()
248 clone->AppendPhi(phi_clone->CastToPhi()); in CloneInstructions()
279 auto clone = GetClone(inst); variable
[all …]
Dinst.h1679 auto clone = static_cast<FixedInputsInst *>(Inst::Clone(targetGraph)); in Clone() local
1682 clone->SetSrcReg(i, GetSrcReg(i)); in Clone()
1685 return clone; in Clone()
1925 auto clone = FixedInputsInst::Clone(targetGraph); in Clone() local
1926 clone->CastToCompareAnyType()->SetAnyType(GetAnyType()); in Clone()
1927 return clone; in Clone()
1960 auto clone = FixedInputsInst::Clone(targetGraph)->CastToCastAnyTypeValue(); in Clone() local
1962 clone->SetAnyType(any_type); in Clone()
1963 clone->SetType(GetType()); in Clone()
1964 return clone; in Clone()
[all …]
Dbasicblock.cpp708 BasicBlock *clone = nullptr; in Clone() local
711 clone = target_graph->CreateEmptyBlock(); in Clone()
713 clone = target_graph->CreateEmptyBlock(GetId(), GetGuestPc()); in Clone()
716 clone = target_graph->CreateEmptyBlock(); in Clone()
718 clone->SetAllFields(this->GetAllFields()); in Clone()
719 clone->try_id_ = GetTryId(); in Clone()
721 target_graph->SetStartBlock(clone); in Clone()
723 target_graph->SetEndBlock(clone); in Clone()
725 return clone; in Clone()
Dgraph_cloner.cpp63 auto clone = GetClone(block); in CloneAnalyses() local
66 clone->SetDominator(clone_dom); in CloneAnalyses()
69 clone->AddDominatedBlock(GetClone(dom_blocks)); in CloneAnalyses()
526 …er::BuildClonedLoopHeaderDataFlow(const BasicBlock &block, BasicBlock *resolver, BasicBlock *clone) in BuildClonedLoopHeaderDataFlow() argument
530 SetCloneInputs<true>(inst, clone); in BuildClonedLoopHeaderDataFlow()
537 auto preloop_input = phi->CastToPhi()->GetPhiInput(clone); in BuildClonedLoopHeaderDataFlow()
639 auto clone = GetClone(inst); in UpdateUsersForClonedLoopHeader() local
640 auto clone_block = clone->GetBasicBlock(); in UpdateUsersForClonedLoopHeader()
668 phi_in->AppendInput(clone); in UpdateUsersForClonedLoopHeader()
683 phi_out->AppendInput(clone); in UpdateUsersForClonedLoopHeader()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DspreadTypeRemovesReadonly.ts31 const clone = { ...data }; constant
32 AssertType(clone, "{ value: string; }");
36 clone.value = 'bar';
37 AssertType(clone.value = 'bar', "string");
38 AssertType(clone.value, "string");
DobjectRestParameter.ts21 function cloneAgain({ a, ...clone }: { a: number, b: string }): void {
57 m({ a, ...clone }: { a: number, b: string}): void {
60 set p({ a, ...clone }: { a: number, b: string}) {
DobjectRestParameterES5.ts21 function cloneAgain({ a, ...clone }: { a: number, b: string }): void {
57 m({ a, ...clone }: { a: number, b: string}): void {
60 set p({ a, ...clone }: { a: number, b: string}) {
DstaticAnonymousTypeNotReferencingTypeParameter.ts36 static clone<T>(dit: typeof ListWrapper2, array: T[]): T[] { method in ListWrapper2
46 let a = ListWrapper2.clone(dit, array);
48 AssertType(ListWrapper2.clone(dit, array), "T[]");
49 AssertType(ListWrapper2.clone, "<T>(typeof ListWrapper2, T[]) => T[]");
125 static clone<T>(dit: typeof ListWrapper, array: T[]): T[] { method in ListWrapper
206 let a = ListWrapper.clone(dit, array);
208 AssertType(ListWrapper.clone(dit, array), "T[]");
209 AssertType(ListWrapper.clone, "<T>(typeof ListWrapper, T[]) => T[]");
506 let cloned = ListWrapper.clone(ListWrapper, [1,2,3,4]);
508 AssertType(ListWrapper.clone(ListWrapper, [1,2,3,4]), "number[]");
[all …]
DfunctionOnlyHasThrow.ts21 function clone():number {
DprivateInstanceVisibility.ts63 clone(other: C) { method in C
DcollectionPatternNoError.ts25 clone(): this { method in Message
DisomorphicMappedTypeInference.ts336 declare function clone<T>(obj: { readonly [P in keyof T]: T[P] }): T;
355 let y = clone(foo); // { a?: number, b: string
358 AssertType(clone(foo), "{ a?: union; b: string; }");
360 AssertType(clone, "<T>({ readonly [P in keyof T]: T[P]; }) => T");
/arkcompiler/runtime_core/scripts/
Dinstall-third-party56 --force-clone)
110 … GIT_SSL_NO_VERIFY=true git clone --verbose --depth=1 --branch "$commit_id" "$lib_repo" "$lib_dir"
112 GIT_SSL_NO_VERIFY=true git clone --verbose "$lib_repo" "$lib_dir"
/arkcompiler/runtime_core/templates/
Dcommon.rb185 lang_spec_option = option_hash.clone
194 main_option = option_hash.clone
/arkcompiler/runtime_core/scripts/third-party-lists/
Dpublic24 # ** commit_id designates a branch / tag name to clone (passed as is to git clone --branch ...)
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dtest_base.rb28 isa = @isa.clone
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_linked_list.js81 let cloneList = list.clone()
214 let cloneList2 = proxy.clone()
Dcontainer_vector.js45 let vec = vector.clone();
117 let newVector = proxy.clone()
Dcontainer_plainarray.js51 let newPlainArray = proxy.clone()
Dcontainer_arraylist.js78 let newArrayList = proxy.clone()
/arkcompiler/toolchain/build/config/aosp/
DBUILD.gn71 "__GNU_SOURCE=1", # Necessary for clone().
/arkcompiler/runtime_core/isa/
Disapi.rb614 insn = instruction.clone
624 p = pref.clone
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb172 // NOLINTNEXTLINE(bugprone-branch-clone)
190 // NOLINTNEXTLINE(bugprone-branch-clone)
/arkcompiler/toolchain/build/third_party_gn/musl/
Dmusl_src.gni45 "src/thread/arm/clone.s",
154 "src/thread/aarch64/clone.s",
205 "src/thread/x86_64/clone.s",
223 "src/thread/mips/clone.s",
465 "src/linux/clone.c",
1351 "src/thread/clone.c",
1617 "src/thread/clone.c",
1661 "src/thread/clone.c",
1711 "src/thread/clone.c",
1726 "src/thread/clone.c",
[all …]

12