Home
last modified time | relevance | path

Searched refs:ExtractbitsNode (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
Dcast_opt.h87 return static_cast<const ExtractbitsNode *>(expr)->GetBitsSize(); in GetBitsSize()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dopcodes.def161 OPCODE(sext, ExtractbitsNode, 0, 8)
162 OPCODE(zext, ExtractbitsNode, 0, 8)
216 OPCODE(extractbits, ExtractbitsNode, 0, 8)
Dir_safe_cast_traits.def70 instance_of<ExtractbitsNode>(from) ||
81 REGISTER_SAFE_CAST(ExtractbitsNode, from.GetOpCode() == OP_extractbits ||
Dmir_builder.h238ExtractbitsNode *CreateExprExtractbits(Opcode o, const MIRType &type, uint32 bOffset, uint32 bSize…
239ExtractbitsNode *CreateExprExtractbits(Opcode o, PrimType type, uint32 bOffset, uint32 bSize, Base…
Dmir_nodes.h386 class ExtractbitsNode : public UnaryNode {
388 explicit ExtractbitsNode(Opcode o) : UnaryNode(o) {} in ExtractbitsNode() function
390 ExtractbitsNode(Opcode o, PrimType typ) : UnaryNode(o, typ) {} in ExtractbitsNode() function
392 ExtractbitsNode(Opcode o, PrimType typ, uint8 offset, uint8 size) in ExtractbitsNode() function
397 ExtractbitsNode(Opcode o, PrimType typ, uint8 offset, uint8 size, BaseNode *expr) in ExtractbitsNode() function
402 virtual ~ExtractbitsNode() = default;
407 ExtractbitsNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
409 auto *node = allocator.GetMemPool()->New<ExtractbitsNode>(*this); in CloneTree()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
Dconstantfold.h81 std::pair<BaseNode *, std::optional<IntVal>> FoldExtractbits(ExtractbitsNode *node);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dbin_func_export.cpp260 ExtractbitsNode *extNode = static_cast<ExtractbitsNode *>(e); in OutputExpression()
Dbin_func_import.cpp312 ExtractbitsNode *extNode = mod.CurFuncCodeMemPool()->New<ExtractbitsNode>(op, typ); in ImportExpression()
Dmir_builder.cpp779 ExtractbitsNode *MIRBuilder::CreateExprExtractbits(Opcode o, const MIRType &type, uint32 bOffset, u… in CreateExprExtractbits()
785 ExtractbitsNode *MIRBuilder::CreateExprExtractbits(Opcode o, PrimType type, uint32 bOffset, uint32 … in CreateExprExtractbits()
788 return GetCurrentFuncCodeMp()->New<ExtractbitsNode>(o, type, bOffset, bSize, opnd); in CreateExprExtractbits()
Dmir_nodes.cpp406 void ExtractbitsNode::Dump(int32 indent) const in Dump()
2299 bool ExtractbitsNode::Verify() const in Verify()
Dmir_parser.cpp3064 auto *extrctNode = mod.CurFuncCodeMemPool()->New<ExtractbitsNode>(op); in ParseExprExtractbits()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_cgfunc.h142 …Operand *SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) override;
144 Operand *SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) override;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dconstantfold.cpp267 return FoldExtractbits(static_cast<ExtractbitsNode *>(node)); in DispatchFold()
1416 auto *node = static_cast<ExtractbitsNode *>(expr); in GetExprValueRangePtyp()
1553 static bool ExtractbitsRedundant(ExtractbitsNode *x, MIRFunction *f) in ExtractbitsRedundant()
1594 std::pair<BaseNode *, std::optional<IntVal>> ConstantFold::FoldExtractbits(ExtractbitsNode *node) in FoldExtractbits()
1609 …result = mirModule->CurFuncCodeMemPool()->New<ExtractbitsNode>(opcode, PrimType(node->GetPrimType(… in FoldExtractbits()
1618 uint8 opndOffset = static_cast<ExtractbitsNode *>(opnd)->GetBitsOffset(); in FoldExtractbits()
1619 uint8 opndSize = static_cast<ExtractbitsNode *>(opnd)->GetBitsSize(); in FoldExtractbits()
1625 … if (ExtractbitsRedundant(static_cast<ExtractbitsNode *>(result), mirModule->CurFunction())) { in FoldExtractbits()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/src/
Dcast_opt.cpp423 … bool excluded = (op == OP_sext && static_cast<ExtractbitsNode *>(castExpr)->GetBitsSize() == 1); in SimplifyCastSingle()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Disel.h59 Operand *SelectExtractbits(const BaseNode &parent, const ExtractbitsNode &node, Operand &opnd0);
Dcgfunc.h302 …virtual Operand *SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) …
305 virtual Operand *SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) = 0;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_cgfunc.cpp475 Operand *X64CGFunc::SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) in SelectExtractbits()
485 Operand *X64CGFunc::SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) in SelectRegularBitFieldLoad()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_cgfunc.h256 …Operand *SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) override;
257 Operand *SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) override;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcgfunc.cpp279 ExtractbitsNode &node = static_cast<ExtractbitsNode &>(expr); in HandleExtractBits()
288 …return cgFunc.SelectExtractbits(static_cast<ExtractbitsNode &>(expr), *cgFunc.HandleExpr(expr, *ex… in HandleExtractBits()
Disel.cpp335 …return iSel.SelectExtractbits(parent, static_cast<ExtractbitsNode &>(expr), *iSel.HandleExpr(expr,… in HandleExtractBits()
1047 Operand *MPISel::SelectExtractbits(const BaseNode &parent, const ExtractbitsNode &node, Operand &op… in SelectExtractbits()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_cgfunc.cpp5399 Operand *AArch64CGFunc::SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) in SelectRegularBitFieldLoad()
5413 Operand *AArch64CGFunc::SelectExtractbits(ExtractbitsNode &node, Operand &srcOpnd, const BaseNode &… in SelectExtractbits()