/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/ |
H A D | lmir_builder.h | 93 class Expr { class 95 Expr(BaseNode *baseNode, Type *nodeType) : node(baseNode), type(nodeType) {} in Expr() function in maple::litecg::Expr 97 Expr() : node(nullptr), type(nullptr) {} in Expr() function in maple::litecg::Expr 99 ~Expr() = default; 143 using Args = std::vector<Expr>; 294 Expr LiteCGGetPregFP(Function &func); 295 Expr LiteCGGetPregSP(); 299 Var *GetLocalVarFromExpr(Expr inExpr); 301 PregIdx GetPregIdxFromExpr(const Expr &expr); 303 Expr GenExprFromVa [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
H A D | lmir_builder.cpp | 44 bool Expr::IsDread() const in IsDread() 49 bool Expr::IsRegread() const in IsRegread() 54 bool Expr::IsConstValue() const in IsConstValue() 275 Expr LMIRBuilder::LiteCGGetPregFP(Function &func) in LiteCGGetPregFP() 280 Expr LMIRBuilder::LiteCGGetPregSP() in LiteCGGetPregSP() 296 Var *LMIRBuilder::GetLocalVarFromExpr(Expr inExpr) in GetLocalVarFromExpr() 310 PregIdx LMIRBuilder::GetPregIdxFromExpr(const Expr &expr) in GetPregIdxFromExpr() 324 Expr LMIRBuilder::GenExprFromVar(Var &var) in GenExprFromVar() 342 Const *LMIRBuilder::GetConstFromExpr(const Expr &expr) in GetConstFromExpr() 432 Stmt &LMIRBuilder::CondGoto(Expr con [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/ |
H A D | litecg_ir_builder.h | 148 void SaveGate2Expr(GateRef gate, maple::litecg::Expr expr, bool isGlueAdd = false); 150 maple::litecg::Expr GetExprFromGate(GateRef gate); 151 maple::litecg::Expr GetExprFromGate(GateRef gate, uint32_t index); 152 maple::litecg::Expr GetConstant(GateRef gate); 164 maple::litecg::Expr GetGlue(const std::vector<GateRef> &inList); 165 maple::litecg::Expr GetRTStubOffset(maple::litecg::Expr glue, int index); 167 maple::litecg::Type *GenerateFuncType(const std::vector<maple::litecg::Expr> ¶ms, 170 maple::litecg::Expr GetFunction(maple::litecg::BB &bb, maple::litecg::Expr glu [all...] |
H A D | litecg_ir_builder.cpp | 43 using Expr = maple::litecg::Expr; 55 using StubIdType = std::variant<RuntimeStubCSigns::ID, CommonStubCSigns::ID, Expr>; 202 Expr expr = GetExprFromGate(desc.operand); in CollectDerivedRefInfo() 579 Expr value = GetExprFromGate(desc.operand); in Build() 679 Expr func = lmirBuilder_->Cvt(lmirBuilder_->i64PtrType, slotType_, lmirBuilder_->GenExprFromVar(value)); in SaveByteCodePcOnOptJSFuncFrame() 680 Expr offsetMethod = lmirBuilder_->ConstVal( in SaveByteCodePcOnOptJSFuncFrame() 682 Expr addrMethod = lmirBuilder_->Add(lmirBuilder_->i64PtrType, func, offsetMethod); in SaveByteCodePcOnOptJSFuncFrame() 683 Expr method = lmirBuilder_->Iread( in SaveByteCodePcOnOptJSFuncFrame() 686 Expr offsetByteCodeP in SaveByteCodePcOnOptJSFuncFrame() [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | unionLowering.cpp | 147 auto *const unionType = expr->Expr()->TsType()->AsETSUnionType(); in HandleUnionCastToPrimitive() 150 sourceType = unionType->AsETSUnionType()->FindTypeIsCastableToSomeType(expr->Expr(), checker->Relation(), in HandleUnionCastToPrimitive() 153 if (sourceType != nullptr && expr->Expr()->GetBoxingUnboxingFlags() != ir::BoxingUnboxingFlags::NONE) { in HandleUnionCastToPrimitive() 155 auto *const asExpr = GenAsExpression(checker, sourceType, expr->Expr(), expr); in HandleUnionCastToPrimitive() 158 expr->Expr()->SetBoxingUnboxingFlags(ir::BoxingUnboxingFlags::NONE); in HandleUnionCastToPrimitive() 166 UnionCastToPrimitive(checker, unboxableUnionType->AsETSObjectType(), unboxedUnionType, expr->Expr()); in HandleUnionCastToPrimitive() 194 if (ast->IsTSAsExpression() && ast->AsTSAsExpression()->Expr()->TsType() != nullptr && in Perform() 195 ast->AsTSAsExpression()->Expr()->TsType()->IsETSUnionType() && in Perform()
|
H A D | optionalLowering.cpp | 49 template <typename Expr, typename GetSource, typename SetSource> 51 Expr *const expr, ir::ChainExpression *const chain) in LowerOptionalExpr() 107 return FindOptionalInChain(expr->AsTSNonNullExpression()->Expr());
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
H A D | tsNonNullExpression.h | 36 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSNonNullExpression 41 Expression *Expr() in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSNonNullExpression
|
H A D | tsSatisfiesExpression.h | 42 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSSatisfiesExpression 47 Expression *Expr() in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSSatisfiesExpression
|
H A D | tsAsExpression.h | 43 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSAsExpression 48 Expression *Expr() in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSAsExpression
|
H A D | tsExternalModuleReference.h | 39 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSExternalModuleReference
|
H A D | tsInterfaceHeritage.h | 39 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSInterfaceHeritage
|
H A D | tsClassImplements.h | 41 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSClassImplements
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | decorator.h | 37 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::Decorator 42 Expression *Expr() in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::Decorator
|
H A D | annotation.h | 54 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::Annotation 59 Expression *Expr() in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::Annotation
|
/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsInterfaceHeritage.h | 29 TypeNode *Expr() in Expr() function in ark::es2panda::ir::TSInterfaceHeritage 34 const TypeNode *Expr() const in Expr() function in ark::es2panda::ir::TSInterfaceHeritage
|
H A D | tsClassImplements.h | 36 Expression *Expr() in Expr() function in ark::es2panda::ir::TSClassImplements 41 const Expression *Expr() const in Expr() function in ark::es2panda::ir::TSClassImplements
|
H A D | tsAsExpression.h | 46 [[nodiscard]] const Expression *Expr() const noexcept 51 [[nodiscard]] Expression *Expr() noexcept;
|
H A D | tsNonNullExpression.h | 32 const Expression *Expr() const noexcept 37 Expression *Expr() noexcept
|
H A D | tsExternalModuleReference.h | 29 const Expression *Expr() const in Expr() function in ark::es2panda::ir::TSExternalModuleReference
|
H A D | tsAsExpression.cpp | 24 Expression *TSAsExpression::Expr() noexcept
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
H A D | lreference.cpp | 197 return LReference::CreateLRef(pg, node->AsTSAsExpression()->Expr(), isDeclaration); in CreateLRef() 200 return LReference::CreateLRef(pg, node->AsTSSatisfiesExpression()->Expr(), isDeclaration); in CreateLRef() 206 return LReference::CreateLRef(pg, node->AsTSNonNullExpression()->Expr(), isDeclaration); in CreateLRef()
|
/arkcompiler/ets_frontend/ets2panda/ir/as/ |
H A D | prefixAssertionExpression.h | 29 const Expression *Expr() const in Expr() function in ark::es2panda::ir::PrefixAssertionExpression
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | decorator.h | 34 [[nodiscard]] const Expression *Expr() const noexcept
|
/arkcompiler/ets_frontend/ets2panda/ir/ets/ |
H A D | etsClassLiteral.h | 43 [[nodiscard]] ir::TypeNode *Expr() const noexcept
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | callExpression.cpp | 146 realCallee = realCallee->AsTSNonNullExpression()->Expr(); in Compile() 148 realCallee = realCallee->AsTSAsExpression()->Expr(); in Compile()
|