/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_cgfunc.h | 86 Operand *SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) override; 87 Operand *SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) override;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_nodes.h | 347 class ExtractbitsNode : public UnaryNode { class 349 explicit ExtractbitsNode(Opcode o) : UnaryNode(o) {} in ExtractbitsNode() function in maple::ExtractbitsNode 351 ExtractbitsNode(Opcode o, PrimType typ) : UnaryNode(o, typ) {} in ExtractbitsNode() function in maple::ExtractbitsNode 353 ExtractbitsNode(Opcode o, PrimType typ, uint8 offset, uint8 size) in ExtractbitsNode() function in maple::ExtractbitsNode 358 ExtractbitsNode(Opcode o, PrimType typ, uint8 offset, uint8 size, BaseNode *expr) in ExtractbitsNode() function in maple::ExtractbitsNode 363 virtual ~ExtractbitsNode() = default; 369 ExtractbitsNode *CloneTree(MapleAllocator &allocator) const override 371 auto *node = allocator.GetMemPool()->New<ExtractbitsNode>(*this);
|
H A D | mir_builder.h | 183 ExtractbitsNode *CreateExprExtractbits(Opcode o, PrimType type, uint32 bOffset, uint32 bSize, BaseNode *opnd);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
H A D | constantfold.cpp | 192 return FoldExtractbits(static_cast<ExtractbitsNode*>(node)); in DispatchFold() 1337 static bool ExtractbitsRedundant(const ExtractbitsNode &x, MIRFunction &f) in ExtractbitsRedundant() 1358 x.GetBitsSize() > static_cast<ExtractbitsNode*>(opnd)->GetBitsSize()) { in ExtractbitsRedundant() 1372 std::pair<BaseNode*, std::optional<IntVal>> ConstantFold::FoldExtractbits(ExtractbitsNode *node) in FoldExtractbits() 1387 result = mirModule->CurFuncCodeMemPool()->New<ExtractbitsNode>(opcode, PrimType(node->GetPrimType()), offset, in FoldExtractbits() 1397 uint8 opndOffset = static_cast<ExtractbitsNode*>(opnd)->GetBitsOffset(); in FoldExtractbits() 1398 uint8 opndSize = static_cast<ExtractbitsNode*>(opnd)->GetBitsSize(); in FoldExtractbits() 1404 if (ExtractbitsRedundant(*static_cast<ExtractbitsNode*>(result), *mirModule->CurFunction())) { in FoldExtractbits()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_cgfunc.cpp | 217 Operand *X64CGFunc::SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) in SelectExtractbits() 222 Operand *X64CGFunc::SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) in SelectRegularBitFieldLoad()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_builder.cpp | 245 ExtractbitsNode *MIRBuilder::CreateExprExtractbits(Opcode o, PrimType type, uint32 bOffset, uint32 bSize, 248 return NewNode<ExtractbitsNode>(o, type, bOffset, bSize, opnd);
|
H A D | mir_nodes.cpp | 150 void ExtractbitsNode::Dump(int32 indent) const in Dump()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/ |
H A D | constantfold.h | 61 std::pair<BaseNode*, std::optional<IntVal>> FoldExtractbits(ExtractbitsNode *node);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | cgfunc.cpp | 138 ExtractbitsNode &node = static_cast<ExtractbitsNode &>(expr); in HandleExtractBits() 147 return cgFunc.SelectExtractbits(static_cast<ExtractbitsNode &>(expr), *cgFunc.HandleExpr(expr, *expr.Opnd(0)), in HandleExtractBits()
|
H A D | isel.cpp | 283 return iSel.SelectExtractbits(parent, static_cast<ExtractbitsNode &>(expr), *iSel.HandleExpr(expr, *expr.Opnd(0))); in HandleExtractBits() 855 Operand *MPISel::SelectExtractbits(const BaseNode &parent, const ExtractbitsNode &node, Operand &opnd0) in SelectExtractbits()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | isel.h | 57 Operand *SelectExtractbits(const BaseNode &parent, const ExtractbitsNode &node, Operand &opnd0);
|
H A D | cgfunc.h | 221 virtual Operand *SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) = 0; 222 virtual Operand *SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) = 0;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_cgfunc.h | 162 Operand *SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) override; 163 Operand *SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) override;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_cgfunc.cpp | 2515 Operand *AArch64CGFunc::SelectRegularBitFieldLoad(ExtractbitsNode &node, const BaseNode &parent) 2529 Operand *AArch64CGFunc::SelectExtractbits(ExtractbitsNode &node, Operand &srcOpnd, const BaseNode &parent)
|