Home
last modified time | relevance | path

Searched refs:ty (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dbecommon.cpp38 MIRType *ty = GlobalTables::GetTypeTable().GetTypeTable()[i]; in BECommon() local
39 ComputeTypeSizesAligns(*ty); in BECommon()
46 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(i); in AddNewTypeAfterBecommon() local
47 CHECK_NULL_FATAL(ty); in AddNewTypeAfterBecommon()
52 ComputeTypeSizesAligns(*ty); in AddNewTypeAfterBecommon()
56 void BECommon::ComputeTypeSizesAligns(MIRType &ty, uint8 align) in ComputeTypeSizesAligns() argument
58 TyIdx tyIdx = ty.GetTypeIndex(); in ComputeTypeSizesAligns()
63 if ((ty.GetPrimType() == PTY_ptr) || (ty.GetPrimType() == PTY_ref)) { in ComputeTypeSizesAligns()
64 ty in ComputeTypeSizesAligns()
95 AddAndComputeSizeAlign(MIRType &ty) AddAndComputeSizeAlign() argument
129 FinalizeTypeTable(const MIRType &ty) FinalizeTypeTable() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_memlayout.cpp40 MIRType *ty = nullptr; in ComputeStackSpaceRequirementForCall() local
41 ty = GlobalTables::GetTypeTable().GetTypeTable()[static_cast<uint32>(opnd->GetPrimType())]; in ComputeStackSpaceRequirementForCall()
43 aggCopySize += parmLocator.LocateNextParm(*ty, ploc); in ComputeStackSpaceRequirementForCall()
80 MIRType *ty = mirFunction->GetNthParamType(i); in LayoutFormalParams() local
81 uint32 ptyIdx = ty->GetTypeIndex(); in LayoutFormalParams()
82 parmLocator.LocateNextParm(*ty, ploc, i == 0, mirFunction); in LayoutFormalParams()
119 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(tyIdx); in LayoutLocalVariables() local
120 uint32 align = ty->GetAlign(); in LayoutLocalVariables()
H A Dx64_args.cpp50 MIRType *ty = x64CGFunc->GetFunction().GetNthParamType(i); in CollectRegisterArgs() local
51 parmlocator.LocateNextParm(*ty, ploc, i == 0, &x64CGFunc->GetFunction()); in CollectRegisterArgs()
276 MIRType *ty = x64CGFunc->GetFunction().GetNthParamType(i); in MoveVRegisterArgs() local
277 parmlocator.LocateNextParm(*ty, ploc, i == 0, &x64CGFunc->GetFunction()); in MoveVRegisterArgs()
H A Dx64_emitter.cpp1719 MIRType *ty = symbol->GetType(); in EmitLocalVariable() local
1720 uint64 sizeInByte = GetSymbolSize(ty->GetTypeIndex()); in EmitLocalVariable()
1726 MIRTypeKind kind = ty->GetKind(); in EmitLocalVariable()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_memlayout.cpp50 MIRType *ty = nullptr; in ComputeStackSpaceRequirementForCall() local
51 ty = GlobalTables::GetTypeTable().GetTypeTable()[static_cast<uint32>(opnd->GetPrimType())]; in ComputeStackSpaceRequirementForCall()
53 aggCopySize += static_cast<int32>(parmLocator.LocateNextParm(*ty, ploc)); in ComputeStackSpaceRequirementForCall()
80 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(mirFunction->GetFormalDefVec()[i].formalTyIdx); in LayoutFormalParams() local
81 uint32 ptyIdx = ty->GetTypeIndex(); in LayoutFormalParams()
82 parmLocator.LocateNextParm(*ty, ploc, i == 0, mirFunction->GetMIRFuncType()); in LayoutFormalParams()
155 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(tyIdx); in LayoutLocalVariables() local
156 uint32 align = ty->GetAlign(); in LayoutLocalVariables()
200 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(mirFunction->GetFormalDefVec()[i].formalTyIdx); in LayoutActualParams() local
201 uint32 ptyIdx = ty in LayoutActualParams()
[all...]
H A Daarch64_args.cpp42 MIRType *ty = mirFunc.GetNthParamType(i); in MoveRegisterArgs() local
43 parmlocator.LocateNextParm(*ty, ploc, i == 0, mirFunc.GetMIRFuncType()); in MoveRegisterArgs()
205 MIRType *ty = mirFunc.GetNthParamType(i); in MoveVRegisterArgs() local
206 parmlocator.LocateNextParm(*ty, ploc, (i == 0), mirFunc.GetMIRFuncType()); in MoveVRegisterArgs()
H A Daarch64_proepilog.cpp368 MIRType *ty = mirFunc.GetNthParamType(i); in GenerateFunctionSave() local
369 parmlocator.LocateNextParm(*ty, ploc, (i == 0), mirFunc.GetMIRFuncType()); in GenerateFunctionSave()
H A Daarch64_cgfunc.cpp3494 MIRType *ty = nullptr;
3500 ty = GlobalTables::GetTypeTable().GetTypeTable()[static_cast<uint32>(primType)];
3508 parmLocator.LocateNextParm(*ty, ploc);
3604 PrimType ty = icallNode.Opnd(0)->GetPrimType();
3605 fptrOpnd = &SelectCopy(*srcOpnd, ty, ty);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
H A Dbecommon.h71 void UpdateTypeTable(MIRType &ty) in UpdateTypeTable() argument
73 if (!TyIsInSizeAlignTable(ty)) { in UpdateTypeTable()
74 AddAndComputeSizeAlign(ty); in UpdateTypeTable()
79 void FinalizeTypeTable(const MIRType &ty);
81 uint32 GetFieldIdxIncrement(const MIRType &ty) const in GetFieldIdxIncrement()
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/
H A DIrViewer.js49 let ty = 10;
52 this.selectFile_.move(tx, ty, 550, 20);
56 ty += 30;
58 this.selectFunc_.move(tx, ty, 290, 20);
63 this.selectMethod_.move(tx, ty, 250, 20);
67 ty += 30;
73 let btn = new XButton(tx, ty, bw, 20, bname);
87 ty += 30;
96 let btn = new XButton(tx, ty, bw, 20, bm[0]);
286 let [tx, ty,
[all...]
H A DIrToPicture.js314 let ty = 50;
329 n.pos.y = ty;
330 ty += 50;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_const.h216 MIRAddrofConst(StIdx sy, FieldID fi, MIRType &ty) : MIRConst(ty, kConstAddrof), stIdx(sy), fldID(fi), offset(0) {} in MIRAddrofConst() argument
218 MIRAddrofConst(StIdx sy, FieldID fi, MIRType &ty, int32 ofst) in MIRAddrofConst() argument
219 : MIRConst(ty, kConstAddrof), stIdx(sy), fldID(fi), offset(ofst) in MIRAddrofConst()
262 MIRAddroffuncConst(PUIdx idx, MIRType &ty) : MIRConst(ty, kConstAddrofFunc), puIdx(idx) {} in MIRAddroffuncConst() argument
H A Dmir_preg.h200 PregIdx EnterPregNo(uint32 pregNo, PrimType ptyp, MIRType *ty = nullptr) in EnterPregNo()
207 MIRPreg *preg = mAllocator->GetMemPool()->New<MIRPreg>(pregNo, ptyp, ty); in EnterPregNo()
H A Dglobal_tables.h323 size_t operator()(const MIRTypePtr &ty) const
325 return ty->GetHashIndex();
330 bool operator()(const MIRTypePtr &tx, const MIRTypePtr &ty) const
332 return tx->EqualTo(*ty);
H A Dmir_builder.h175 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(static_cast<TyIdx>(pty));
176 return CreateExprBinary(opcode, *ty, opnd0, opnd1);
H A Dmir_type.h1218 bool IsHomogeneousAggregates(const MIRType &ty, PrimType &primType, size_t &elemNum, bool firstDepth = true);
1219 bool IsParamStructCopyToMemory(const MIRType &ty);
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_context_misc.cpp49 auto ty = panda_file::Type::GetTypeIdBySignature(s.front()); in DemangleName() local
50 o << ty; in DemangleName() local
H A Dlinker_context.cpp803 const auto ty = old->GetType(); in TypeFromOld() local
804 if (ty.IsPrimitive()) { in TypeFromOld()
805 return cont_.GetOrCreatePrimitiveTypeItem(ty.GetId()); in TypeFromOld()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_nodes.cpp139 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(tyIdx); in Dump() local
140 if (ty->GetKind() == kTypeScalar) { in Dump()
142 ty->Dump(indent + 1); in Dump()
145 ty->Dump(indent + 1); in Dump()
H A Dmir_builder.cpp81 MIRType *ty = arguments[i].second; in CreateFunction() local
82 FormalDef formalDef(GetOrCreateStringIndex(arguments[i].first.c_str()), nullptr, ty->GetTypeIndex(), in CreateFunction()
85 funcVecType.push_back(ty->GetTypeIndex()); in CreateFunction()
H A Dmir_function.cpp216 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(formalDefVec[i].formalTyIdx); in DumpFlavorLoweredThanMmpl() local
218 ty->Dump(indent); in DumpFlavorLoweredThanMmpl()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp1576 auto ty = LLVMTypeOf(v); in GetPtrAddressSpace() local
1577 if (LLVMGetTypeKind(ty) == LLVMPointerTypeKind) { in GetPtrAddressSpace()
1578 return LLVMGetPointerAddressSpace(ty); in GetPtrAddressSpace()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js16104 return new ns(t.a, t.b, t.c, t.d, t.tx, t.ty);
16112 const l = e.ty;
16118 t.ty = a * i.b + l * i.d + i.ty;
16126 t.tx = i * (e.c * e.ty - e.d * e.tx);
16127 t.ty = i * (e.b * e.tx - e.a * e.ty);
16135 t.ty = e.m13;
16149 t.y = s.b * n + s.d * r + s.ty;
16159 const o = i.b * e.x + i.d * e.y + i.ty;
[all...]

Completed in 47 milliseconds