Home
last modified time | relevance | path

Searched refs:ModuleConstantAnalyzer (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/runtime_core/bytecode_optimizer/
Dmodule_constant_analyzer.cpp21 ModuleConstantAnalyzer::ModuleConstantAnalyzer(compiler::Graph *graph, in ModuleConstantAnalyzer() function in panda::bytecodeopt::ModuleConstantAnalyzer
32 bool ModuleConstantAnalyzer::RunImpl() in RunImpl()
38 void ModuleConstantAnalyzer::VisitIntrinsic(compiler::GraphVisitor *visitor, compiler::Inst *inst) in VisitIntrinsic()
42 auto module_constant_analyzer = static_cast<ModuleConstantAnalyzer *>(visitor); in VisitIntrinsic()
64 ConstantValue *ModuleConstantAnalyzer::GetInstConstValue(Inst *inst) in GetInstConstValue()
88 ConstantValue *ModuleConstantAnalyzer::GetConstantInstConstValue(compiler::ConstantInst *const_inst) in GetConstantInstConstValue()
108 ConstantValue *ModuleConstantAnalyzer::GetIntrinsicInstConstValue(compiler::IntrinsicInst *intrinsi… in GetIntrinsicInstConstValue()
121 ConstantValue *ModuleConstantAnalyzer::GetLoadStringInstConstValue(compiler::LoadFromPool *inst) in GetLoadStringInstConstValue()
127 bool ModuleConstantAnalyzer::IsConstModuleVar(uint32_t slot) in IsConstModuleVar()
132 void ModuleConstantAnalyzer::RecordModuleConstValue(uint32_t slot, ConstantValue *value) in RecordModuleConstValue()
Dmodule_constant_analyzer.h43 class ModuleConstantAnalyzer : public compiler::Analysis, public compiler::GraphVisitor {
45 explicit ModuleConstantAnalyzer(compiler::Graph *graph,
50 NO_MOVE_SEMANTIC(ModuleConstantAnalyzer);
51 NO_COPY_SEMANTIC(ModuleConstantAnalyzer);
52 ~ModuleConstantAnalyzer() override = default;
Doptimize_bytecode.cpp365 ModuleConstantAnalyzer analyzer(graph, result.GetConstantLocalExportSlots(), in AnalysisModuleConstantValue()
367 graph->RunPass<ModuleConstantAnalyzer>(&analyzer); in AnalysisModuleConstantValue()