Searched refs:ModuleConstantAnalyzer (Results 1 – 3 of 3) sorted by relevance
23 ModuleConstantAnalyzer::ModuleConstantAnalyzer(compiler::Graph *graph, in ModuleConstantAnalyzer() function in panda::bytecodeopt::ModuleConstantAnalyzer34 bool ModuleConstantAnalyzer::RunImpl() in RunImpl()40 void ModuleConstantAnalyzer::VisitIntrinsic(compiler::GraphVisitor *visitor, compiler::Inst *inst) in VisitIntrinsic()44 auto module_constant_analyzer = static_cast<ModuleConstantAnalyzer *>(visitor); in VisitIntrinsic()66 ConstantValue *ModuleConstantAnalyzer::GetInstConstValue(Inst *inst) in GetInstConstValue()90 ConstantValue *ModuleConstantAnalyzer::GetConstantInstConstValue(compiler::ConstantInst *const_inst) in GetConstantInstConstValue()110 ConstantValue *ModuleConstantAnalyzer::GetIntrinsicInstConstValue(compiler::IntrinsicInst *intrinsi… in GetIntrinsicInstConstValue()123 ConstantValue *ModuleConstantAnalyzer::GetLoadStringInstConstValue(compiler::LoadFromPool *inst) in GetLoadStringInstConstValue()129 bool ModuleConstantAnalyzer::IsConstModuleVar(uint32_t slot) in IsConstModuleVar()134 void ModuleConstantAnalyzer::RecordModuleConstValue(uint32_t slot, ConstantValue *value) in RecordModuleConstValue()
43 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;
377 ModuleConstantAnalyzer analyzer(graph, result.GetConstantLocalExportSlots(), in AnalysisModuleConstantValue()379 graph->RunPass<ModuleConstantAnalyzer>(&analyzer); in AnalysisModuleConstantValue()