/arkcompiler/runtime_core/static_core/irtoc/lang/ |
H A D | instruction.rb | 80 def has_modifier?(mod) 81 @modifiers.any? { |x| x[0] == mod} 175 @modifiers.each do |mod| 176 ss += ".#{modifier_to_s(mod)}" 258 index = @modifiers.detect {|mod| mod[0] == :TypeId}[1][0] 286 def modifier_to_s(mod) 287 "#{mod[0]}(#{mod[1].join(', ')})" 319 @modifiers.each do |mod| [all...] |
H A D | ir_generator.rb | 104 index = inst.modifiers.detect {|mod| mod[0] == :TypeId}[1][0]
|
/arkcompiler/runtime_core/static_core/verification/util/tests/ |
H A D | function_traits_test.cpp | 41 int mod; member 42 explicit MultByMod(int module) : mod {module} {} in MultByMod() 45 return (x * y) % mod; in operator ()()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | target_registry.h | 30 using CGCtorFnTy = CG *(*)(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, 52 CG *createCG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in createCG() argument 58 return CGCtorFn(mod, opts, nameVec, patternMap); in createCG() 150 static CG *Allocator(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in Allocator() 153 return new CGImpl(mod, opts, nameVec, patternMap); in Allocator()
|
H A D | cg.h | 193 CG(MIRModule &mod, const CGOptions &cgOptions) in CG() argument 196 mirModule(&mod), in CG() 209 virtual CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &, BECommon &, MemPool &, StackMemPool &, MapleAllocator &,
|
H A D | optimize_common.h | 125 static void GenerateDot(const std::string &preFix, const CGFunc &cgFunc, const MIRModule &mod,
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_nodes.h | 227 void DumpOpnd(const MIRModule &mod, int32 indent) const; 729 NaryNode(const MIRModule &mod, Opcode o) : NaryNode(mod.GetCurFuncCodeMPAllocator(), o) {} 733 NaryNode(const MIRModule &mod, Opcode o, PrimType typ) : NaryNode(mod.GetCurFuncCodeMPAllocator(), o, typ) {} 740 NaryNode(const MIRModule &mod, const NaryNode &node) : NaryNode(mod.GetCurFuncCodeMPAllocator(), node) {} 794 IntrinsicopNode(const MIRModule &mod, Opcode o, TyIdx typeIdx = TyIdx()) 795 : IntrinsicopNode(mod.GetCurFuncCodeMPAllocator(), o, typeIdx) 804 IntrinsicopNode(const MIRModule &mod, Opcod 1328 SwitchNode(const MIRModule &mod) SwitchNode() argument 1337 SwitchNode(const MIRModule &mod, LabelIdx label) SwitchNode() argument 1346 SwitchNode(const MIRModule &mod, const SwitchNode &node) SwitchNode() argument [all...] |
H A D | mir_const.h | 542 MIRAggConst(MIRModule &mod, MIRType &type) in MIRAggConst() argument 544 constVec(mod.GetMPAllocator().Adapter()), in MIRAggConst() 545 fieldIdVec(mod.GetMPAllocator().Adapter()) in MIRAggConst() 636 MIRStConst(MIRModule &mod, MIRType &type) 638 stVec(mod.GetMPAllocator().Adapter()), 639 stOffsetVec(mod.GetMPAllocator().Adapter())
|
H A D | mir_lower.h | 51 MIRLower(MIRModule &mod, MIRFunction *f) : mirModule(mod), mirFunc(f) {} in MIRLower() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/ |
H A D | phase_impl.cpp | 23 FuncOptimizeImpl::FuncOptimizeImpl(MIRModule &mod, bool currTrace) in FuncOptimizeImpl() argument 24 : trace(currTrace), module(&mod) in FuncOptimizeImpl()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
H A D | lower.h | 46 CGLowerer(MIRModule &mod, BECommon &common, MIRFunction *func = nullptr) : mirModule(mod), beCommon(common) in CGLowerer() argument 49 mirBuilder = mod.GetMIRBuilder(); in CGLowerer() 53 CGLowerer(MIRModule &mod, BECommon &common, bool genEh, bool verboseCG) : mirModule(mod), beCommon(common) in CGLowerer() argument 63 mirBuilder = mod.GetMIRBuilder(); in CGLowerer()
|
H A D | switch_lowerer.h | 26 SwitchLowerer(maple::MIRModule &mod, maple::SwitchNode &stmt, maple::MapleAllocator &allocator) in SwitchLowerer() argument 27 : mirModule(mod), stmt(&stmt), switchItems(allocator.Adapter()), ownAllocator(&allocator) in SwitchLowerer()
|
H A D | becommon.h | 40 explicit BECommon(MIRModule &mod);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_cg.h | 38 AArch64CG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in AArch64CG() argument 40 : CG(mod, opts), in AArch64CG() 50 CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, StackMemPool &stackMp, 53 return memPool.New<AArch64CGFunc>(mod, *this, mirFunc, bec, memPool, stackMp, mallocator, funcId);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/ |
H A D | constantfold.h | 26 ConstantFold(MIRModule &mod, bool trace) : FuncOptimizeImpl(mod, trace), mirModule(&mod) {} in ConstantFold() argument 28 explicit ConstantFold(MIRModule &mod) : FuncOptimizeImpl(mod, false), mirModule(&mod) {} in ConstantFold() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_cg.cpp | 34 CGFunc *X64CG::CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, in CreateCGFunc() argument 37 return memPool.New<X64CGFunc>(mod, *this, mirFunc, bec, memPool, stackMp, mallocator, funcId); in CreateCGFunc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_cg.h | 33 X64CG(MIRModule &mod, const CGOptions &opts, const std::vector<std::string> &nameVec, in X64CG() argument 35 : CG(mod, opts), in X64CG() 78 CGFunc *CreateCGFunc(MIRModule &mod, MIRFunction &mirFunc, BECommon &bec, MemPool &memPool, StackMemPool &stackMp,
|
H A D | x64_cgfunc.h | 28 X64CGFunc(MIRModule &mod, CG &c, MIRFunction &f, BECommon &b, MemPool &memPool, StackMemPool &stackMp, in X64CGFunc() argument 30 : CGFunc(mod, c, f, b, memPool, stackMp, mallocator, funcId), calleeSavedRegs(mallocator.Adapter()) in X64CGFunc()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | intrinsics.cpp | 31 void IntrinDesc::InitMIRModule(MIRModule *mod) in InitMIRModule() argument 33 mirModule = mod; in InitMIRModule()
|
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | shell_linters.sh | 87 bashate-mod-ds -i "${BASHATE_RULES}" "${file_to_check}"
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
H A D | becommon.cpp | 27 BECommon::BECommon(MIRModule &mod) in BECommon() argument 28 : mirModule(mod), in BECommon()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_obj_emitter.cpp | 807 uint32 mod = insn.GetDesc()->GetOpndDes(kInsnFirstOpnd)->GetSize(); /* 64 & 32 from ARMv8 manual C5.6.114 */ 808 CHECK_FATAL(mod == 64 || mod == 32, "mod must be 64/32"); 810 uint32 immr = -shift % mod; 824 uint32 mod = insn.GetDesc()->GetOpndDes(kInsnFirstOpnd)->GetSize(); /* 64 & 32 from ARMv8 manual C5.6.114 */ 825 CHECK_FATAL(mod == 64 || mod == 32, "mod must be 64/32"); 827 uint32 immr = -shift % mod; [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/ |
H A D | phase_impl.h | 25 FuncOptimizeImpl(MIRModule &mod, bool trace = false);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | optimize_common.cpp | 224 void DotGenerator::GenerateDot(const std::string &preFix, const CGFunc &cgFunc, const MIRModule &mod, in GenerateDot() argument 231 std::string fileName = GetFileName(mod, (preFix + "-" + fname)); in GenerateDot()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/ |
H A D | elf_assembler.h | 508 } /* mod=b11, register direct addressing. */ in GetMod() 516 return 0b01; /* mod=b01, ModRM=b01 Reg r/m */ in GetMod() 519 return 0b00; /* mod=b00, ModRM=b00 Reg r/m */ in GetMod() 521 return 0b10; /* mod=b10, ModRM=b01 Reg r/m */ in GetMod() 524 return 0b00; /* mod=b00, ModRM=b00 Reg r/m */ in GetMod() 530 uint8 mod = GetMod(reg1); in GetModRM() local 532 return ((mod << kLeftShift6Bits) | (modReg << kLeftShift3Bits) | (modrm & kGetLow3Bits)); in GetModRM() 538 uint8 mod = GetMod(mem); in GetModRM() local 540 return ((mod << kLeftShift6Bits) | (modReg << kLeftShift3Bits) | (modrm & kGetLow3Bits)); in GetModRM() 543 void SetModRM(uint8 mod, uint argument [all...] |