LCOV - code coverage report
Current view: top level - base_comm/resources/ccu/ccu_representation/reps/control - ccu_rep_jumplabel.cc (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 7 7
Test Date: 2026-08-04 10:52:23 Functions: 100.0 % 2 2

            Line data    Source code
       1              : /*
       2              :  * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024. All rights reserved.
       3              :  * Description: ccu representation implementation file
       4              :  * Author: sunzhepeng
       5              :  * Create: 2024-06-17
       6              :  */
       7              : 
       8              : #include "ccu_rep_v1.h"
       9              : 
      10              : #include "string_util.h"
      11              : #include "ccu_ins_generator_base.h"
      12              : 
      13              : namespace hcomm {
      14              : namespace CcuRep {
      15              : 
      16           88 : CcuRepJumpLabel::CcuRepJumpLabel(CcuInsGeneratorBase* insGeneratorPtr, const std::string &label) :
      17           88 :     CcuRepBlock(insGeneratorPtr, label)
      18              : {
      19           88 :     type = CcuRepType::JUMP_LABEL;
      20           88 :     Append(std::make_shared<CcuRepNop>(insGeneratorPtr));
      21           88 : }
      22              : 
      23           47 : std::string CcuRepJumpLabel::Describe()
      24              : {
      25           47 :     return Hccl::StringFormat("JumpLabel[%s]", GetLabel().c_str());
      26              : }
      27              : 
      28              : }; // namespace CcuRep
      29              : }; // namespace hcomm
        

Generated by: LCOV version 2.0-1