Home
last modified time | relevance | path

Searched refs:Expr (Results 1 - 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/
H A Dlmir_builder.h93 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 Dlmir_builder.cpp44 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 Dlitecg_ir_builder.h148 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> &params,
170 maple::litecg::Expr GetFunction(maple::litecg::BB &bb, maple::litecg::Expr glu
[all...]
H A Dlitecg_ir_builder.cpp43 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 DunionLowering.cpp147 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 DoptionalLowering.cpp49 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 DtsNonNullExpression.h36 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 DtsSatisfiesExpression.h42 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 DtsAsExpression.h43 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 DtsExternalModuleReference.h39 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSExternalModuleReference
H A DtsInterfaceHeritage.h39 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSInterfaceHeritage
H A DtsClassImplements.h41 const Expression *Expr() const in Expr() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSClassImplements
/arkcompiler/ets_frontend/es2panda/ir/base/
H A Ddecorator.h37 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 Dannotation.h54 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 DtsInterfaceHeritage.h29 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 DtsClassImplements.h36 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 DtsAsExpression.h46 [[nodiscard]] const Expression *Expr() const noexcept
51 [[nodiscard]] Expression *Expr() noexcept;
H A DtsNonNullExpression.h32 const Expression *Expr() const noexcept
37 Expression *Expr() noexcept
H A DtsExternalModuleReference.h29 const Expression *Expr() const in Expr() function in ark::es2panda::ir::TSExternalModuleReference
H A DtsAsExpression.cpp24 Expression *TSAsExpression::Expr() noexcept
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dlreference.cpp197 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 DprefixAssertionExpression.h29 const Expression *Expr() const in Expr() function in ark::es2panda::ir::PrefixAssertionExpression
/arkcompiler/ets_frontend/ets2panda/ir/base/
H A Ddecorator.h34 [[nodiscard]] const Expression *Expr() const noexcept
/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsClassLiteral.h43 [[nodiscard]] ir::TypeNode *Expr() const noexcept
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DcallExpression.cpp146 realCallee = realCallee->AsTSNonNullExpression()->Expr(); in Compile()
148 realCallee = realCallee->AsTSAsExpression()->Expr(); in Compile()

Completed in 13 milliseconds

12