/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
H A D | becommon.cpp | 38 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 D | x64_memlayout.cpp | 40 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 D | x64_args.cpp | 50 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 D | x64_emitter.cpp | 1719 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 D | aarch64_memlayout.cpp | 50 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 D | aarch64_args.cpp | 42 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 D | aarch64_proepilog.cpp | 368 MIRType *ty = mirFunc.GetNthParamType(i); in GenerateFunctionSave() local 369 parmlocator.LocateNextParm(*ty, ploc, (i == 0), mirFunc.GetMIRFuncType()); in GenerateFunctionSave()
|
H A D | aarch64_cgfunc.cpp | 3494 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 D | becommon.h | 71 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 D | IrViewer.js | 49 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 D | IrToPicture.js | 314 let ty = 50; 329 n.pos.y = ty; 330 ty += 50;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_const.h | 216 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 D | mir_preg.h | 200 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 D | global_tables.h | 323 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 D | mir_builder.h | 175 MIRType *ty = GlobalTables::GetTypeTable().GetTypeFromTyIdx(static_cast<TyIdx>(pty)); 176 return CreateExprBinary(opcode, *ty, opnd0, opnd1);
|
H A D | mir_type.h | 1218 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 D | linker_context_misc.cpp | 49 auto ty = panda_file::Type::GetTypeIdBySignature(s.front()); in DemangleName() local 50 o << ty; in DemangleName() local
|
H A D | linker_context.cpp | 803 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 D | mir_nodes.cpp | 139 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 D | mir_builder.cpp | 81 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 D | mir_function.cpp | 216 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 D | llvm_ir_builder.cpp | 1576 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 D | cocos_worker_test.js | 16104 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...] |