Home
last modified time | relevance | path

Searched refs:mod (Results 1 - 25 of 40) sorted by relevance

12

/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Dinstruction.rb80 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 Dir_generator.rb104 index = inst.modifiers.detect {|mod| mod[0] == :TypeId}[1][0]
/arkcompiler/runtime_core/static_core/verification/util/tests/
H A Dfunction_traits_test.cpp41 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 Dtarget_registry.h30 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 Dcg.h193 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 Doptimize_common.h125 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 Dmir_nodes.h227 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 Dmir_const.h542 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 Dmir_lower.h51 MIRLower(MIRModule &mod, MIRFunction *f) : mirModule(mod), mirFunc(f) {} in MIRLower() argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
H A Dphase_impl.cpp23 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 Dlower.h46 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 Dswitch_lowerer.h26 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 Dbecommon.h40 explicit BECommon(MIRModule &mod);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cg.h38 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 Dconstantfold.h26 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 Dx64_cg.cpp34 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 Dx64_cg.h33 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 Dx64_cgfunc.h28 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 Dintrinsics.cpp31 void IntrinDesc::InitMIRModule(MIRModule *mod) in InitMIRModule() argument
33 mirModule = mod; in InitMIRModule()
/arkcompiler/runtime_core/static_core/scripts/
H A Dshell_linters.sh87 bashate-mod-ds -i "${BASHATE_RULES}" "${file_to_check}"
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dbecommon.cpp27 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 Daarch64_obj_emitter.cpp807 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 Dphase_impl.h25 FuncOptimizeImpl(MIRModule &mod, bool trace = false);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Doptimize_common.cpp224 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 Delf_assembler.h508 } /* 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...]

Completed in 14 milliseconds

12