Home
last modified time | relevance | path

Searched refs:CompareNode (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
H A Dconstantfold.h60 std::pair<BaseNode*, std::optional<IntVal>> FoldCompare(CompareNode *node);
106 BaseNode *SimplifyDoubleConstvalCompare(CompareNode &node, bool isRConstval, bool isGtOrLt = false) const;
107 BaseNode *SimplifyDoubleCompare(CompareNode &compareNode) const;
108 CompareNode *FoldConstComparisonReverse(Opcode opcode, PrimType resultType, PrimType opndType, BaseNode &l,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp216 return FoldCompare(static_cast<CompareNode*>(node)); in DispatchFold()
660 CompareNode *ConstantFold::FoldConstComparisonReverse(Opcode opcode, PrimType resultType, PrimType opndType, in FoldConstComparisonReverse()
663 CompareNode *result = nullptr; in FoldConstComparisonReverse()
694 mirModule->CurFuncCodeMemPool()->New<CompareNode>(Opcode(op), PrimType(resultType), PrimType(opndType), &r, &l); in FoldConstComparisonReverse()
1727 BaseNode *ConstantFold::SimplifyDoubleConstvalCompare(CompareNode &node, bool isRConstval, bool isGtOrLt) const in SimplifyDoubleConstvalCompare()
1732 const CompareNode *compNode = static_cast<CompareNode*>(node.Opnd(0)); in SimplifyDoubleConstvalCompare()
1733 return mirModule->CurFuncCodeMemPool()->New<CompareNode>(node.GetOpCode(), in SimplifyDoubleConstvalCompare()
1739 const CompareNode *compNode = static_cast<CompareNode*>(nod in SimplifyDoubleConstvalCompare()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dswitch_lowerer.cpp135 CompareNode *SwitchLowerer::BuildCmpNode(Opcode opCode, uint32 idx) in BuildCmpNode()
137 CompareNode *binaryExpr = mirModule.CurFuncCodeMemPool()->New<CompareNode>(opCode); in BuildCmpNode()
194 CompareNode *cmpNode = nullptr; in BuildCodeForSwitchItems()
H A Dlower.cpp532 auto &cmp = static_cast<CompareNode &>(node); in LowerTypePtr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
H A Dswitch_lowerer.h59 maple::CompareNode *BuildCmpNode(maple::Opcode opCode, maple::uint32 idx);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_MPISel.h41 Operand *SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override;
H A Dx64_cgfunc.h79 Operand *SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_lower.cpp299 CompareNode *eqNode = builder->CreateExprCompare( in LowerSwitchStmt()
310 CompareNode *ltNode = builder->CreateExprCompare( in LowerSwitchStmt()
315 CompareNode *gtNode = builder->CreateExprCompare( in LowerSwitchStmt()
H A Dmir_builder.cpp266 CompareNode *MIRBuilder::CreateExprCompare(Opcode opcode, const MIRType &type, const MIRType &opndType, BaseNode *opnd0,
269 return NewNode<CompareNode>(opcode, type.GetPrimType(), opndType.GetPrimType(), opnd0, opnd1);
H A Dmir_nodes.cpp194 void CompareNode::Dump(int32 indent) const in Dump()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/mpl2mpl/
H A Dconstantfold_test.cpp112 CompareNode root(opcode_ls[opc_idx], primtyp, opndType, &constvalnode0, &constvalnode1); in TEST()
148 CompareNode root(opcode_ls[opc_idx], primtype, opndType_ls[i], &constvalnode0, &constvalnode1); in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_nodes.h561 class CompareNode : public BinaryNode { class
563 explicit CompareNode(Opcode o) : BinaryNode(o) {} in CompareNode() function in maple::CompareNode
565 CompareNode(Opcode o, PrimType typ) : BinaryNode(o, typ) {} in CompareNode() function in maple::CompareNode
567 CompareNode(Opcode o, PrimType typ, PrimType otype, BaseNode *l, BaseNode *r) in CompareNode() function in maple::CompareNode
572 virtual ~CompareNode() = default;
579 CompareNode *CloneTree(MapleAllocator &allocator) const override
581 auto *node = allocator.GetMemPool()->New<CompareNode>(*this);
H A Dmir_builder.h178 CompareNode *CreateExprCompare(Opcode opcode, const MIRType &type, const MIRType &opndType, BaseNode *opnd0,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcgfunc.cpp209 targetPtyp = static_cast<const CompareNode &>(parent).GetOpndType(); in HandleCmp()
216 return cgFunc.SelectCmpOp(static_cast<CompareNode &>(expr), *cgFunc.HandleExpr(expr, *expr.Opnd(0)), in HandleCmp()
348 auto *cmpNode = static_cast<CompareNode *>(op0); in HandleCondbr()
H A Disel.cpp400 targetPtyp = static_cast<const CompareNode &>(parent).GetOpndType(); in HandleCmp()
407 return iSel.SelectCmpOp(static_cast<CompareNode &>(expr), *iSel.HandleExpr(expr, *expr.Opnd(0)), in HandleCmp()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Disel.h83 virtual Operand *SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) = 0;
H A Dcgfunc.h214 virtual Operand *SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) = 0;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_cgfunc.cpp184 Operand *X64CGFunc::SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectCmpOp()
H A Dx64_MPIsel.cpp505 primType = static_cast<CompareNode &>(condNode).GetOpndType(); in SelectCondGoto()
683 Operand *X64MPIsel::SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectCmpOp()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/
H A Dlmir_builder.cpp735 static_cast<CompareNode *>(cmpExpr.GetNode())->SetOpndType(newType); in ICmp()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp1021 primType = static_cast<const CompareNode &>(parent).GetOpndType(); in SelectIntConst()
1275 CompareNode *node = static_cast<CompareNode *>(&expr); in SelectCondSpecialCase1()
1293 PrimType pType = static_cast<CompareNode *>(condNode)->GetOpndType(); in SelectCondSpecialCase1()
1310 auto &cmpNode = static_cast<CompareNode &>(expr); in SelectCondSpecialCase2()
1347 pType = static_cast<CompareNode *>(condNode)->GetOpndType(); in SelectCondGoto()
2006 Operand *AArch64CGFunc::SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent)
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cgfunc.h140 Operand *SelectCmpOp(CompareNode &node, Operand &o0, Operand &o1, const BaseNode &parent) override;

Completed in 35 milliseconds