Home
last modified time | relevance | path

Searched refs:primType (Results 1 - 25 of 31) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Disel.cpp550 void MPISel::SelectBasicOp(Operand &resOpnd, Operand &opnd0, Operand &opnd1, MOperator mOp, PrimType primType) in SelectBasicOp() argument
552 RegOperand &firstOpnd = SelectCopy2Reg(opnd0, primType); in SelectBasicOp()
553 RegOperand &secondOpnd = SelectCopy2Reg(opnd1, primType); in SelectBasicOp()
604 /* fixup primType and offset */ in GetMirTypeInfoFormFieldIdAndMirType()
605 mirTypeInfo.primType = mirType->GetPrimType(); in GetMirTypeInfoFormFieldIdAndMirType()
626 PrimType memType = symbolInfo.primType; in SelectDassign()
640 PrimType memType = symbolInfo.primType; in SelectIassign()
650 ImmOperand *MPISel::SelectIntConst(const MIRIntConst &intConst, PrimType primType) in SelectIntConst() argument
652 return &cgFunc->GetOpndBuilder()->CreateImm(GetPrimTypeBitSize(primType), intConst.GetExtValue()); in SelectIntConst()
657 PrimType primType in SelectShift() local
778 PrimType primType = expr.GetPrimType(); SelectDread() local
797 PrimType primType = node.GetPrimType(); SelectAdd() local
808 PrimType primType = node.GetPrimType(); SelectBand() local
819 PrimType primType = node.GetPrimType(); SelectSub() local
828 SelectExtractbits(RegOperand &resOpnd, RegOperand &opnd0, uint8 bitOffset, uint8 bitSize, PrimType primType) SelectExtractbits() argument
1000 SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectSub() argument
1013 SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBand() argument
1026 SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectAdd() argument
1041 PrimType primType = node.GetPrimType(); SelectBior() local
1050 SelectBior(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBior() argument
1059 PrimType primType = node.GetPrimType(); SelectBxor() local
1068 SelectBxor(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBxor() argument
1075 GetOrCreateMemOpndFromIreadNode(const IreadNode &expr, PrimType primType, int offset) GetOrCreateMemOpndFromIreadNode() argument
1092 PrimType primType = expr.GetPrimType(); SelectIread() local
1101 PrimType primType = node.GetPrimType(); SelectAbs() local
1256 SelectBnot(Operand &resOpnd, Operand &opnd0, PrimType primType) SelectBnot() argument
1267 PrimType primType = node.GetPrimType(); SelectMin() local
1274 SelectMin(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMin() argument
1281 PrimType primType = node.GetPrimType(); SelectMax() local
1288 SelectMax(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMax() argument
[all...]
H A Dcgfunc.cpp322 PrimType primType = condNode->GetPrimType(); in HandleCondbr() local
324 if (IsPrimitiveInteger(primType)) { in HandleCondbr()
325 zeroOpnd = &cgFunc.CreateImmOperand(primType, 0); in HandleCondbr()
327 DEBUG_ASSERT(((PTY_f32 == primType) || (PTY_f64 == primType)), in HandleCondbr()
329 zeroOpnd = &cgFunc.CreateImmOperand(primType, 0); in HandleCondbr()
526 PrimType primType = func.GetPregTab()->PregFromPregIdx(i)->GetPrimType(); in CGFunc() local
527 uint32 byteLen = GetPrimTypeSize(primType); in CGFunc()
531 new (&GetVirtualRegNodeFromPseudoRegIdx(i)) VirtualRegNode(GetRegTyFromPrimTy(primType), byteLen); in CGFunc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_MPISel.h31 Operand &ProcessReturnReg(PrimType primType, int32 sReg) override;
32 Operand &GetTargetRetOperand(PrimType primType, int32 sReg) override;
33 Operand *SelectFloatingConst(MIRConst &floatingConst, PrimType primType) const override;
57 void SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType);
60 void SelectCmp(Operand &opnd0, Operand &opnd1, PrimType primType, bool isSwap = false);
63 void SelectCmpResult(RegOperand &resOpnd, Opcode opCode, PrimType primType, PrimType primOpndType);
64 void SelectSelect(Operand &resOpnd, Operand &trueOpnd, Operand &falseOpnd, PrimType primType, Opcode cmpOpcode,
67 Operand *SelectDivRem(RegOperand &opnd0, RegOperand &opnd1, PrimType primType, Opcode opcode);
68 RegOperand &GetTargetBasicPointer(PrimType primType) override;
69 void SelectMinOrMax(bool isMin, Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) overrid
[all...]
H A Dx64_cgfunc.h63 void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
66 void SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
69 void SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
72 void SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
74 void SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
75 void SelectMin(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
77 void SelectMax(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
81 void SelectBior(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
83 void SelectBxor(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
109 Operand &CreateImmOperand(PrimType primType, int6
[all...]
H A Dx64_isa_tbl.h38 static inline X64MOP_t GetCmpMop(Operand::OperandType dTy, Operand::OperandType sTy, PrimType primType) in GetCmpMop() argument
41 switch (GetPrimTypeBitSize(primType)) { in GetCmpMop()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_MPIsel.cpp137 PrimType primType = argExpr->GetPrimType(); in SelectParmList() local
138 DEBUG_ASSERT(primType != PTY_void, "primType should not be void"); in SelectParmList()
143 MIRType *mirType = GlobalTables::GetTypeTable().GetTypeTable()[static_cast<uint32>(primType)]; in SelectParmList()
153 RegOperand &parmRegOpnd = cgFunc->GetOpndBuilder()->CreatePReg(ploc.reg0, GetPrimTypeBitSize(primType), in SelectParmList()
154 cgFunc->GetRegTyFromPrimTy(primType)); in SelectParmList()
155 paramPassByReg.push_back({&parmRegOpnd, argOpnd, primType}); in SelectParmList()
162 cgFunc->GetOpndBuilder()->CreatePReg(x64::RSP, k64BitSize, cgFunc->GetRegTyFromPrimTy(primType)); in SelectParmList()
164 cgFunc->GetOpndBuilder()->CreateMem(baseOpnd, ploc.memOffset, GetPrimTypeBitSize(primType)); in SelectParmList()
165 SelectCopy(actMemOpnd, *argOpnd, primType); in SelectParmList()
179 SelectSpecialRegread(PregIdx pregIdx, PrimType primType) SelectSpecialRegread() argument
315 ProcessReturnReg(PrimType primType, int32 sReg) ProcessReturnReg() argument
496 PrimType primType; SelectCondGoto() local
520 GetTargetRetOperand(PrimType primType, int32 sReg) GetTargetRetOperand() argument
551 SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMpy() argument
588 PrimType primType = node.GetPrimType(); SelectDiv() local
598 PrimType primType = node.GetPrimType(); SelectRem() local
606 SelectDivRem(RegOperand &opnd0, RegOperand &opnd1, PrimType primType, Opcode opcode) SelectDivRem() argument
710 SelectCmp(Operand &opnd0, Operand &opnd1, PrimType primType, bool isSwap) SelectCmp() argument
753 SelectCmpResult(RegOperand &resOpnd, Opcode opCode, PrimType primType, PrimType primOpndType) SelectCmpResult() argument
768 SelectSelect(Operand &resOpnd, Operand &trueOpnd, Operand &falseOpnd, PrimType primType, Opcode cmpOpcode, PrimType cmpPrimType) SelectSelect() argument
793 SelectMinOrMax(bool isMin, Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMinOrMax() argument
866 GetTargetBasicPointer(PrimType primType) GetTargetBasicPointer() argument
[all...]
H A Dx64_cgfunc.cpp111 void X64CGFunc::SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectAdd() argument
125 void X64CGFunc::SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectMpy() argument
139 void X64CGFunc::SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectDiv() argument
153 void X64CGFunc::SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectSub() argument
162 void X64CGFunc::SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectBand() argument
166 void X64CGFunc::SelectMin(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectMin() argument
175 void X64CGFunc::SelectMax(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectMax() argument
194 void X64CGFunc::SelectBior(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectBior() argument
203 void X64CGFunc::SelectBxor(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectBxor() argument
338 Operand &X64CGFunc::CreateImmOperand(PrimType primType, int6 in CreateCfiRegOperand() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Disel.h23 PrimType primType; member
59 ImmOperand *SelectIntConst(const MIRIntConst &intConst, PrimType primType);
61 void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType);
62 void SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType);
66 void SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType);
74 virtual Operand *SelectFloatingConst(MIRConst &floatingConst, PrimType primType) const = 0;
75 virtual Operand &ProcessReturnReg(PrimType primType, int32 sReg) = 0;
91 virtual RegOperand &SelectSpecialRegread(PregIdx pregIdx, PrimType primType) = 0;
107 PrimType primType = c.GetType().GetPrimType(); in SelectLiteral() local
108 st->SetTyIdx(TyIdx(primType)); in SelectLiteral()
[all...]
H A Dcall_conv.h115 : primType(pType), in LmbcFormalParamInfo()
134 return primType; in GetPrimType()
138 primType = pType; in SetPrimType()
234 PrimType primType; member in maplebe::LmbcFormalParamInfo
H A Dcgfunc.h198 virtual void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
201 virtual void SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
204 virtual void SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
207 virtual void SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
209 virtual void SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
210 virtual void SelectMin(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
212 virtual void SelectMax(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
216 virtual void SelectBior(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
218 virtual void SelectBxor(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0;
247 virtual Operand &CreateImmOperand(PrimType primType, int6
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp80 MOperator PickLdStInsn(bool isLoad, uint32 bitSize, PrimType primType) in PickLdStInsn() argument
86 if ((IsPrimitiveInteger(primType))) { in PickLdStInsn()
88 int32 signedUnsigned = IsUnsignedInteger(primType) ? 0 : 1; in PickLdStInsn()
104 RegOperand &AArch64CGFunc::GetOrCreateResOperand(const BaseNode &parent, PrimType primType) in GetOrCreateResOperand() argument
112 resOpnd = &GetOrCreateSpecialRegisterOperand(-pregIdx, primType); in GetOrCreateResOperand()
117 resOpnd = &CreateRegisterOperandOfType(primType); in GetOrCreateResOperand()
122 MOperator AArch64CGFunc::PickLdInsn(uint32 bitSize, PrimType primType) const in PickLdInsn()
124 return PickLdStInsn(true, bitSize, primType); in PickLdInsn()
127 MOperator AArch64CGFunc::PickStInsn(uint32 bitSize, PrimType primType) const in PickStInsn()
129 return PickLdStInsn(false, bitSize, primType); in PickStInsn()
1019 auto primType = intConst.GetType().GetPrimType(); SelectIntConst() local
1147 GenerateCompareWithZeroInstruction(Opcode jmpOp, Opcode cmpOp, bool is64Bits, PrimType primType, LabelOperand &targetOpnd, Operand &opnd0) GenerateCompareWithZeroInstruction() argument
1212 SelectCondGoto(LabelOperand &targetOpnd, Opcode jmpOp, Opcode cmpOp, Operand &origOpnd0, Operand &origOpnd1, PrimType primType, bool signedCond) SelectCondGoto() argument
1373 PrimType primType = SelectAdd() local
1390 SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectAdd() argument
1494 SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectSub() argument
1589 PrimType primType = SelectSub() local
1604 PrimType primType = SelectMpy() local
1611 SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMpy() argument
1684 SelectDiv(Operand &resOpnd, Operand &origOpnd0, Operand &opnd1, PrimType primType) SelectDiv() argument
1765 PrimType primType = SelectDiv() local
1772 SelectRem(Operand &resOpnd, Operand &lhsOpnd, Operand &rhsOpnd, PrimType primType, bool isSigned, bool is64Bits) SelectRem() argument
[all...]
H A Daarch64_args.cpp54 auto generateStrInsn = [this, baseOpnd, &offset, sym, symLoc](AArch64reg reg, PrimType primType) { in MoveRegisterArgs()
55 RegOperand &regOpnd = aarFunc->GetOrCreatePhysicalRegisterOperand(reg, GetPrimTypeBitSize(primType), in MoveRegisterArgs()
56 aarFunc->GetRegTyFromPrimTy(primType)); in MoveRegisterArgs()
63 auto *memOpnd = aarFunc->CreateMemOperand(GetPrimTypeBitSize(primType), *baseOpnd, ofstOpnd, false); in MoveRegisterArgs()
65 MOperator mOp = aarFunc->PickStInsn(GetPrimTypeBitSize(primType), primType); in MoveRegisterArgs()
71 offset += static_cast<int32>(GetPrimTypeSize(primType)); in MoveRegisterArgs()
164 PrimType primType) const in CreateMoveArgsToVRegInsn()
168 switch (primType) { in CreateMoveArgsToVRegInsn()
H A Daarch64_call_conv.cpp40 PrimType primType = retType.GetPrimType(); in LocateRetVal() local
41 if (IsPrimitiveFloat(primType)) { in LocateRetVal()
44 pLoc.primTypeOfReg0 = primType; in LocateRetVal()
48 if (IsPrimitiveInteger(primType) && GetPrimTypeBitSize(primType) <= k64BitSize) { in LocateRetVal()
51 pLoc.primTypeOfReg0 = primType; in LocateRetVal()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_preg.h42 MIRPreg(uint32 n, PrimType ptyp) : primType(ptyp), pregNo(n) {} in MIRPreg()
44 MIRPreg(uint32 n, PrimType ptyp, MIRType *mType) : primType(ptyp), pregNo(n), mirType(mType) {} in MIRPreg()
59 return mirType != nullptr && primType == PTY_ref; in IsRef()
64 return primType; in GetPrimType()
69 primType = pty; in SetPrimType()
103 PrimType primType = kPtyInvalid; member in maple::MIRPreg
136 PregIdx CreatePreg(PrimType primType, MIRType *mtype = nullptr) in CreatePreg() argument
140 auto *preg = mAllocator->GetMemPool()->New<MIRPreg>(index, primType, mtype); in CreatePreg()
H A Dmir_type.h40 extern uint32 GetPrimTypeSize(PrimType primType); // answer in bytes; 0 if unknown
41 extern uint32 GetPrimTypeP2Size(PrimType primType); // answer in bytes in power-of-two.
44 extern const char *GetPrimTypeName(PrimType primType);
46 extern int64 MinValOfSignedInteger(PrimType primType);
47 extern PrimType GetVecElemPrimType(PrimType primType);
70 inline uint32 GetPrimTypeBitSize(PrimType primType) in GetPrimTypeBitSize() argument
73 return GetPrimTypeSize(primType) << k8BitShift; in GetPrimTypeBitSize()
76 inline uint32 GetAlignedPrimTypeBitSize(PrimType primType) in GetAlignedPrimTypeBitSize() argument
78 auto size = GetPrimTypeBitSize(primType); in GetAlignedPrimTypeBitSize()
82 inline uint32 GetPrimTypeActualBitSize(PrimType primType) in GetPrimTypeActualBitSize() argument
829 PrimType primType; global() member in maple::MIRType
841 MIRPtrType(PrimType primType, GStrIdx strIdx) MIRPtrType() argument
[all...]
H A Dglobal_tables.h167 MIRType *GetPrimType(PrimType primType) const
169 DEBUG_ASSERT(primType < typeTable.size(), "array index out of range");
170 return typeTable.at(primType);
305 MIRType *GetOrCreatePointerType(const TyIdx &pointedTyIdx, PrimType primType = PTY_ptr,
307 MIRType *GetOrCreatePointerType(const MIRType &pointTo, PrimType primType = PTY_ptr,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
H A Dnamemangler.cpp34 static inline bool UpdatePrimType(bool primType, int splitNo, uint32_t ch) in UpdatePrimType() argument
44 return primType; in UpdatePrimType()
69 bool primType = true; in DecodeName() local
128 primType = UpdatePrimType(primType, splitNo, asc); in DecodeName()
136 primType = UpdatePrimType(primType, splitNo, c); in DecodeName()
137 if (primType) { in DecodeName()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_type.cpp48 PrimType GetRegPrimType(PrimType primType) in GetRegPrimType() argument
50 switch (primType) { in GetRegPrimType()
59 return primType; in GetRegPrimType()
157 uint32 GetPrimTypeSize(PrimType primType) in GetPrimTypeSize() argument
159 switch (primType) { in GetPrimTypeSize()
204 const char *GetPrimTypeName(PrimType primType) in GetPrimTypeName() argument
207 switch (primType) { in GetPrimTypeName()
261 LogInfo::MapleLogger() << GetPrimTypeName(primType); in Dump()
266 switch (primType) { in DumpAsCxx()
472 return typeKind == mirType.typeKind && primType in EqualTo()
[all...]
H A Dglobal_tables.cpp25 auto primType = static_cast<PrimType>(primTypeIdx); in CreateMirType() local
26 auto *mirType = new MIRType(defaultKind, primType); in CreateMirType()
140 MIRType *TypeTable::GetOrCreatePointerType(const TyIdx &pointedTyIdx, PrimType primType, const TypeAttrs &attrs) in GetOrCreatePointerType() argument
142 MIRPtrType type(pointedTyIdx, primType); in GetOrCreatePointerType()
149 MIRType *TypeTable::GetOrCreatePointerType(const MIRType &pointTo, PrimType primType, const TypeAttrs &attrs)
151 return GetOrCreatePointerType(pointTo.GetTypeIndex(), primType, attrs);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cgfunc.h75 RegOperand &GetOrCreateResOperand(const BaseNode &parent, PrimType primType);
99 PrimType primType, bool signedCond);
119 void SelectAdd(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) override;
123 void SelectSub(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) override;
125 void SelectBand(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) override;
127 void SelectBior(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) override;
129 void SelectBxor(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) override;
131 void SelectBxorShift(Operand &resOpnd, Operand *o0, Operand *o1, Operand &o2, PrimType primType);
133 void SelectMin(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) override;
135 void SelectMax(Operand &resOpnd, Operand &o0, Operand &o1, PrimType primType) overrid
[all...]
H A Daarch64_args.h47 Insn &CreateMoveArgsToVRegInsn(MOperator mOp, RegOperand &destOpnd, RegOperand &srcOpnd, PrimType primType) const;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp109 BinaryNode *ConstantFold::NewBinaryNode(BinaryNode *old, Opcode op, PrimType primType, BaseNode *lhs, in NewBinaryNode() argument
114 if (old->GetOpCode() == op && old->GetPrimType() == primType && old->Opnd(0) == lhs && old->Opnd(1) == rhs) { in NewBinaryNode()
117 result = mirModule->CurFuncCodeMemPool()->New<BinaryNode>(op, primType, lhs, rhs); in NewBinaryNode()
122 UnaryNode *ConstantFold::NewUnaryNode(UnaryNode *old, Opcode op, PrimType primType, BaseNode *expr) const in NewUnaryNode() argument
126 if (old->GetOpCode() == op && old->GetPrimType() == primType && old->Opnd(0) == expr) { in NewUnaryNode()
129 result = mirModule->CurFuncCodeMemPool()->New<UnaryNode>(op, primType, expr); in NewUnaryNode()
843 // primType will be set to opnd type. There will be problems in some cases. For example: in FoldUnary()
1184 // return a primType with bit size >= bitSize (and the nearest one),
1443 bool ConstantFold::IntegerOpIsOverflow(Opcode op, PrimType primType, int64 cstA, int64 cstB) in IntegerOpIsOverflow() argument
1448 if (IsUnsignedInteger(primType)) { in IntegerOpIsOverflow()
1480 PrimType primType = node->GetPrimType(); FoldBinary() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_typeapi_create.cpp155 auto primType = pandasm::Type {primTypeName, 0}; in DeclarePrimitive() local
178 ctor.AddParameter(primType); in DeclarePrimitive()
185 unboxed.AddResult(primType); in DeclarePrimitive()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
H A Dconstantfold.h55 static bool IntegerOpIsOverflow(Opcode op, PrimType primType, int64 cstA, int64 cstB);
102 BinaryNode *NewBinaryNode(BinaryNode *old, Opcode op, PrimType primType, BaseNode *lhs, BaseNode *rhs) const;
103 UnaryNode *NewUnaryNode(UnaryNode *old, Opcode op, PrimType primType, BaseNode *expr) const;
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
H A Dpgo_profiler_type.h389 auto primType = GetPrimitiveType(); in IsNumber() local
390 return primType == Type::NUMBER || primType == Type::NUMBER1; in IsNumber()
398 auto primType = GetPrimitiveType(); in IsNumberOrString() local
399 return primType == Type::NUMBER_OR_STRING; in IsNumberOrString()
407 auto primType = GetPrimitiveType(); in HasNumber() local
408 switch (primType) { in HasNumber()

Completed in 25 milliseconds

12