Home
last modified time | relevance | path

Searched refs:VReg (Results 1 – 25 of 127) sorted by relevance

123456

/arkcompiler/ets_frontend/ts2panda/tests/watch_expression/
DaddWatch.test.ts66 VReg,
80 new Sta(new VReg()),
81 new Lda(new VReg()),
83 new Sta(new VReg()),
84 new Lda(new VReg()),
86 new Sta(new VReg()),
88 new Sta(new VReg()),
89 new Lda(new VReg()),
90 new Callargs2(new Imm(3), new VReg(), new VReg()),
106 new Sta(new VReg()),
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/expression/
DtemplateExpression.test.ts38 VReg
46 let lhs = new VReg();
60 let obj = new VReg();
61 let val = new VReg();
74 function microGetTemplateObject(rawArr: VReg, cookedArr: VReg, icSize: number): { insns: any[]; nex…
76 let objReg = new VReg();
77 let indexReg = new VReg();
112 let headVal = new VReg();
119 new Sta(new VReg()),
121 new Add2(new Imm(0), new VReg()),
[all …]
Dpartiallyemitted.test.ts25 VReg,
54 new Lda(new VReg()),
56 new Lda(new VReg()),
59 new Sta(new VReg()),
60 new Mov(new VReg(), new VReg()),
62 new Stobjbyname(new Imm(2), "name", new VReg()),
79 new Lda(new VReg()),
80 new Sta(new VReg()),
81 new Lda(new VReg()),
83 new Sta(new VReg()),
[all …]
Dcommalist.test.ts32 VReg,
76 new Mov(new VReg(), new VReg()),
77 … new Defineclasswithbuffer(new Imm(0), "UnitTest.#1#Test", "test_1", new Imm(0), new VReg()),
78 new Sta(new VReg()),
79 new Lda(new VReg()),
82 new Sta(new VReg()),
83 new Newobjrange(new Imm(3), new Imm(1), [new VReg()]),
86 new Sta(new VReg()),
87 new Newobjrange(new Imm(7), new Imm(1), [new VReg()]),
90 new Sta(new VReg()),
[all …]
DfunctionExpression.test.ts44 VReg,
62 new Sta(new VReg()),
63 new Lda(new VReg()),
64 new Sta(new VReg()),
65 new Lda(new VReg()),
66 new Sta(new VReg()),
67 new Lda(new VReg()),
176 new Lda(new VReg()),
177 new Sta(new VReg()),
178 new Lda(new VReg()),
[all …]
DpropertyAccess.test.ts33 VReg,
48 let objReg = new VReg();
67 let objReg = new VReg();
68 let tempObj = new VReg();
96 let objInstance = new VReg();
97 let funcReg = new VReg();
98 let propReg = new VReg();
103 new Lda(new VReg()),
108 new Lda(new VReg()),
109 new Definegettersetterbyvalue(objInstance, propReg, new VReg(), funcReg),
[all …]
DcmpBinary.test.ts48 VReg,
59 let lhs = new VReg();
69 new Lda(new VReg()),
72 new Lda(new VReg()),
82 let lhs = new VReg();
92 new Lda(new VReg()),
95 new Lda(new VReg()),
105 let lhs = new VReg();
115 new Lda(new VReg()),
118 new Lda(new VReg()),
[all …]
DbindingPattern.test.ts27 VReg,
41 let thisArg = new VReg();
42 let temp = new VReg();
43 let obj = new VReg();
44 let times = new VReg();
45 let values = new VReg();
71 let thisArg = new VReg();
72 let temp = new VReg();
73 let obj = new VReg();
74 let times = new VReg();
[all …]
Dbinary.test.ts50 VReg,
61 let lhs = new VReg();
75 let lhs = new VReg();
93 new Lda(new VReg()),
94 new Sta(new VReg()),
95 new Strictnoteq(new Imm(0), new VReg()),
97 new Lda(new VReg()),
98 new Strictnoteq(new Imm(1), new VReg()),
100 new Lda(new VReg()),
122 new Lda(new VReg()),
[all …]
Dcall.test.ts39 VReg,
52 let arg0 = new VReg();
67 let arg0 = new VReg();
68 let arg2 = new VReg();
88 let obj = new VReg();
89 let arg0 = new VReg();
90 let arg1 = new VReg();
112 let arg0 = new VReg();
113 let globalEnv = new VReg();
114 let lengthReg = new VReg();
[all …]
Ddelete.test.ts30 VReg,
42 let objReg = new VReg();
49 new Delobjprop(new VReg()),
65 let objReg = new VReg();
73 new Delobjprop(new VReg()),
97 new Lda(new VReg()),
112 new Lda(new VReg()),
113 new Lda(new VReg()),
126 new Delobjprop(new VReg()),
138 new Delobjprop(new VReg()),
[all …]
Dnew.test.ts33 VReg,
44 let arg0 = new VReg();
60 let arg0 = new VReg();
77 let arg0 = new VReg();
78 let arg1 = new VReg();
99 let obj = new VReg();
100 let arg0 = new VReg();
101 let temp = new VReg();
121 let arg0 = new VReg();
122 let elemIdxReg = new VReg();
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/
Dcommonjs.test.ts37 VReg,
57 new Sta(new VReg()),
58 new Lda(new VReg()),
60 new Sta(new VReg()),
62 new Sta(new VReg()),
63 new Lda(new VReg()),
64 new Sta(new VReg()),
66 new Sta(new VReg()),
67 new Lda(new VReg()),
68 new Stownbyindex(new Imm(5), new VReg(), new Imm(0)),
[all …]
DautoGeneratedIdentifierName.test.ts25 VReg,
75 new Sta(new VReg()),
76 new Newobjrange(new Imm(0), new Imm(1), [new VReg()]),
78 new Lda(new VReg()),
81 new Sta(new VReg()),
82 new Lda(new VReg()),
85 new Sta(new VReg()),
88 new Sta(new VReg()),
89 new Lda(new VReg()),
90 new Eq(new Imm(0), new VReg()),
[all …]
DpreserveConstEnums.test.ts45 VReg,
62 new Lda(new VReg()),
65 new Sta(new VReg()),
67 new Sta(new VReg()),
71 new Sta(new VReg()),
75 new Lda(new VReg()),
77 new Sta(new VReg()),
78 new Lda(new VReg()),
79 new Callarg1(new Imm(0), new VReg()),
100 new Mov(new VReg(), new VReg()),
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/statements/
DforOf.test.ts37 VReg,
48 let a = new VReg();
49 let arrInstance = new VReg();
50 let iterReg = new VReg();
51 let nextMethodReg = new VReg();
52 let resultObj = new VReg();
53 let exceptionVreg = new VReg();
54 let trueReg = new VReg();
55 let done = new VReg();
56 let value = new VReg();
[all …]
DforIn.test.ts34 VReg,
46 let prop = new VReg();
47 let temp = new VReg();
48 let objInstance = new VReg();
49 let iterReg = new VReg();
50 let rhs = new VReg();
86 let temp = new VReg();
87 let iterReg = new VReg();
88 let rhs = new VReg();
122 let prop = new VReg();
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.h180 VReg AllocReg() in AllocReg()
188 VReg NextReg() const in NextReg()
290 void StoreAccumulator(const ir::AstNode *node, VReg vreg);
291 void StoreAccumulatorWithType(const ir::AstNode *node, int64_t typeIndex, VReg vreg);
293 void LoadObjProperty(const ir::AstNode *node, VReg obj, const Operand &prop);
295 void LoadObjByName(const ir::AstNode *node, VReg obj, const util::StringView &prop);
297 void StoreObjProperty(const ir::AstNode *node, VReg obj, const Operand &prop);
298 …void StoreOwnProperty(const ir::AstNode *node, VReg obj, const Operand &prop, bool nameSetting = f…
299 void DeleteObjProperty(const ir::AstNode *node, VReg obj, const Operand &prop);
300 void LoadAccumulator(const ir::AstNode *node, VReg reg);
[all …]
Dpandagen.cpp228 VReg targetReg = totalRegs_; in CopyFunctionArguments()
359 VReg valueReg = AllocReg(); in StoreVar()
387 void PandaGen::StoreAccumulator(const ir::AstNode *node, VReg vreg) in StoreAccumulator()
392 void PandaGen::StoreAccumulatorWithType(const ir::AstNode *node, int64_t typeIndex, VReg vreg) in StoreAccumulatorWithType()
412 void PandaGen::LoadObjProperty(const ir::AstNode *node, VReg obj, const Operand &prop) in LoadObjProperty()
414 if (std::holds_alternative<VReg>(prop)) { in LoadObjProperty()
415 LoadAccumulator(node, std::get<VReg>(prop)); in LoadObjProperty()
429 void PandaGen::StoreObjProperty(const ir::AstNode *node, VReg obj, const Operand &prop) in StoreObjProperty()
431 if (std::holds_alternative<VReg>(prop)) { in StoreObjProperty()
432 StoreObjByValue(node, obj, std::get<VReg>(prop)); in StoreObjProperty()
[all …]
/arkcompiler/ets_frontend/ts2panda/src/base/
DbcGenUtil.ts101 VReg,
136 export function loadAccumulator(vreg: VReg): IRNode {
140 export function storeAccumulator(vreg: VReg): IRNode {
144 export function deleteObjProperty(obj: VReg): IRNode {
148 export function moveVreg(vd: VReg, vs: VReg): IRNode {
164 export function throwConstAssignment(name: VReg): IRNode {
227 export function storeObjByName(obj: VReg, key: string): IRNode {
236 export function storeObjByIndex(obj: VReg, index: number): IRNode {
241 export function loadObjByValue(obj: VReg): IRNode {
245 export function storeObjByValue(obj: VReg, prop: VReg): IRNode {
[all …]
Diterator.ts20 VReg
29 private iterRecord: { iterator: VReg, nextMethod: VReg };
30 private iterDone: VReg;
31 private iterValue: VReg;
37 constructor(iterRecord: {iterator: VReg, nextMethod: VReg}, iterDone: VReg, iterValue: VReg,
66 method(): VReg {
81 callNext(iterResult: VReg): void {
86 callMethodwithValue(value: VReg): void {
90 iteratorComplete(iterResult: VReg): void {
95 iteratorValue(iterResult: VReg): void {
[all …]
Dlreference.ts23 import { VReg } from "../irnodes";
35 private obj: VReg | undefined = undefined;
36 private prop: VReg | undefined = undefined;
66 let prop: VReg | number | string;
68 prop = <VReg>this.prop!;
72 pandaGen.loadObjProperty(this.node, <VReg>this.obj, prop);
88 let prop: VReg | number | string;
90 prop = <VReg>this.prop!;
100 pandaGen.storeObjProperty(this.node, <VReg>this.obj, prop);
102 pandaGen.freeTemps(...[<VReg>this.obj, <VReg>this.prop]);
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/function/
DfunctionBuilder.h75 …void SuspendResumeExecution(const ir::AstNode *node, VReg completionType, VReg completionValue) co…
76 …void AsyncYield(const ir::AstNode *node, VReg value, VReg completionType, VReg completionValue) co…
78 VReg FunctionReg(const ir::ScriptFunction *node) const;
79 void HandleCompletion(const ir::AstNode *node, VReg completionType, VReg completionValue);
83 VReg funcObj_ {};
87 void resumeGenerator(const ir::AstNode *node, VReg completionType, VReg completionValue) const;
/arkcompiler/ets_frontend/es2panda/compiler/base/
Diterators.h43 VReg Method() const in Method()
48 VReg NextResult() const in NextResult()
70 VReg closed_;
72 VReg method_;
73 VReg iterator_;
74 VReg nextResult_;
86 VReg Done() const in Done()
91 VReg Result() const in Result()
103 VReg done_;
104 VReg result_;
/arkcompiler/ets_frontend/ts2panda/src/
Dpandagen.ts176 VReg
216 private locals: VReg[] = [];
217 private temps: VReg[] = [];
431 allocLocalVreg(): VReg {
432 let vreg = new VReg();
437 getVregForVariable(v: Variable): VReg {
446 getTemp(): VReg {
447 let retval: VReg;
451 retval = new VReg();
457 freeTemps(...temps: VReg[]): void {
[all …]

123456