Home
last modified time | relevance | path

Searched refs:mirConst (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_emitter.h49 uint64 EmitVector(maple::MIRConst &mirConst, bool belongsToDataSec = true);
50 uint64 EmitArray(maple::MIRConst &mirConst, maplebe::CG &cg, bool belongsToDataSec = true);
51 void EmitAddrofElement(MIRConst &mirConst, bool belongsToDataSec);
52 uint32 EmitSingleElement(maple::MIRConst &mirConst, bool belongsToDataSec = true, bool isIndirect = false);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Demit.cpp648 void Emitter::EmitScalarConstant(MIRConst &mirConst, bool newLine, bool flag32, bool isIndirect) in EmitAsmLabel() argument
651 MIRType &mirType = mirConst.GetType(); in EmitAsmLabel()
653 switch (mirConst.GetKind()) { in EmitAsmLabel()
655 MIRIntConst &intCt = static_cast<MIRIntConst &>(mirConst); in EmitAsmLabel()
672 MIRFloatConst &floatCt = static_cast<MIRFloatConst &>(mirConst); in EmitAsmLabel()
681 MIRDoubleConst &doubleCt = static_cast<MIRDoubleConst &>(mirConst); in EmitAsmLabel()
690 MIRStrConst &strCt = static_cast<MIRStrConst &>(mirConst); in EmitAsmLabel()
695 MIRStr16Const &str16Ct = static_cast<MIRStr16Const &>(mirConst); in EmitAsmLabel()
700 MIRAddrofConst &symAddr = static_cast<MIRAddrofConst &>(mirConst); in EmitAsmLabel()
727 MIRAddroffuncConst &funcAddr = static_cast<MIRAddroffuncConst &>(mirConst); in EmitAsmLabel()
1534 EmitConstantTable(const MIRSymbol &mirSymbol, MIRConst &mirConst, const std::map<GStrIdx, MIRType *> &strIdx2Type) EmitAsmLabel() argument
1580 EmitArrayConstant(MIRConst &mirConst) EmitAsmLabel() argument
1706 MIRConst *mirConst = literal.GetKonst(); EmitAsmLabel() local
1756 MIRConst *mirConst = layout.GetKonst(); EmitAsmLabel() local
1806 MIRConst *mirConst = itSymbol->GetKonst(); EmitAsmLabel() local
2165 MIRConst *mirConst = mirSymbol->GetKonst(); EmitAsmLabel() local
2334 MIRConst *mirConst = mirSymbol->GetKonst(); EmitAsmLabel() local
2355 MIRConst *mirConst = mirSymbol->GetKonst(); EmitAsmLabel() local
2632 MIRConst *mirConst = st1->GetKonst(); EmitAsmLabel() local
2676 MIRConst *mirConst = mirSymbol.GetKonst(); EmitAsmLabel() local
[all...]
H A Dcgfunc.cpp48 MIRConst *mirConst = constValNode.GetConstVal(); in HandleConstVal() local
49 DEBUG_ASSERT(mirConst != nullptr, "get constval of constvalnode failed"); in HandleConstVal()
50 if (mirConst->GetKind() == kConstInt) { in HandleConstVal()
51 auto *mirIntConst = safe_cast<MIRIntConst>(mirConst); in HandleConstVal()
53 } else if (mirConst->GetKind() == kConstFloatConst) { in HandleConstVal()
54 auto *mirFloatConst = safe_cast<MIRFloatConst>(mirConst); in HandleConstVal()
57 CHECK_FATAL(mirConst->GetKind() == kConstDoubleConst, "NYI"); in HandleConstVal()
58 auto *mirDoubleConst = safe_cast<MIRDoubleConst>(mirConst); in HandleConstVal()
347 MIRConst *mirConst = constValNode->GetConstVal(); in HandleCondbr() local
356 if (!skip && mirConst in HandleCondbr()
[all...]
H A Disel.cpp350 MIRConst *mirConst = constValNode.GetConstVal(); in HandleConstVal() local
351 DEBUG_ASSERT(mirConst != nullptr, "get constval of constvalnode failed"); in HandleConstVal()
352 if (mirConst->GetKind() == kConstInt) { in HandleConstVal()
353 auto *mirIntConst = safe_cast<MIRIntConst>(mirConst); in HandleConstVal()
355 } else if (mirConst->GetKind() == kConstDoubleConst) { in HandleConstVal()
356 auto *mirDoubleConst = safe_cast<MIRDoubleConst>(mirConst); in HandleConstVal()
358 } else if (mirConst->GetKind() == kConstFloatConst) { in HandleConstVal()
359 auto *mirFloatConst = safe_cast<MIRFloatConst>(mirConst); in HandleConstVal()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_emitter.cpp1546 uint64 X64Emitter::EmitArray(MIRConst &mirConst, CG &cg, bool belongsToDataSec) in EmitArray() argument
1550 MIRType &mirType = mirConst.GetType(); in EmitArray()
1551 MIRAggConst &arrayCt = static_cast<MIRAggConst &>(mirConst); in EmitArray()
1598 void X64Emitter::EmitAddrofElement(MIRConst &mirConst, bool belongsToDataSec) in EmitAddrofElement() argument
1601 MIRAddrofConst &symAddr = static_cast<MIRAddrofConst &>(mirConst); in EmitAddrofElement()
1625 uint32 X64Emitter::EmitSingleElement(MIRConst &mirConst, bool belongsToDataSec, bool isIndirect) in EmitSingleElement() argument
1627 MIRType &elmType = mirConst.GetType(); in EmitSingleElement()
1630 MIRConstKind kind = mirConst.GetKind(); in EmitSingleElement()
1633 EmitAddrofElement(mirConst, belongsToDataSec); in EmitSingleElement()
1636 MIRAddroffuncConst &funcAddr = static_cast<MIRAddroffuncConst &>(mirConst); in EmitSingleElement()
1811 MIRConst *mirConst = mirSymbol->GetKonst(); EmitGlobalVariable() local
1829 MIRConst *mirConst = mirSymbol->GetKonst(); EmitGlobalVariable() local
[all...]
H A Dx64_MPIsel.cpp405 MIRConst *mirConst = memPool->New<MIRLblConst>(labelIdx, cgFunc->GetFunction().GetPuidx(), *etype); in SelectRangeGoto() local
406 arrayConst->AddItem(mirConst, 0); in SelectRangeGoto()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_const.h601 void SetItem(uint32 index, MIRConst *mirConst, uint32 fieldId)
604 constVec[index] = mirConst;
608 void AddItem(MIRConst *mirConst, uint32 fieldId)
610 constVec.push_back(mirConst);
H A Dmir_preg.h111 const MIRConst *mirConst; // used only when op is OP_constval member
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_builder.cpp170 ConstvalNode *MIRBuilder::CreateConstval(MIRConst *mirConst) in CreateConstval() argument
172 return NewNode<ConstvalNode>(mirConst->GetType().GetPrimType(), mirConst); in CreateConstval()
177 auto *mirConst = in CreateIntConst() local
179 return NewNode<ConstvalNode>(pty, mirConst); in CreateIntConst()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Demit.h189 void EmitScalarConstant(MIRConst &mirConst, bool newLine = true, bool flag32 = false, bool isIndirect = false);
198 void EmitConstantTable(const MIRSymbol &mirSymbol, MIRConst &mirConst,
222 void EmitArrayConstant(MIRConst &mirConst);
H A Dcgfunc.h431 MIRConst *NewMirConst(T &mirConst) in NewMirConst() argument
433 MIRConst *newConst = mirModule.GetMemPool()->New<T>(mirConst.GetValue(), mirConst.GetType()); in NewMirConst()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cgfunc.h115 Operand *HandleFmovImm(PrimType stype, int64 val, MIRConst &mirConst, const BaseNode &parent);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp1026 Operand *AArch64CGFunc::HandleFmovImm(PrimType stype, int64 val, MIRConst &mirConst, const BaseNode &parent) in HandleFmovImm() argument
3061 MIRConst *mirConst = memPool->New<MIRLblConst>(labelIdx, GetFunction().GetPuidx(), *etype);
3062 arrayConst->AddItem(mirConst, 0);

Completed in 24 milliseconds