Coverage for /Syzygy/optimize/transforms/block_alignment_transform.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
100.0%110.C++source

Line-by-line coverage:

   1    :  // Copyright 2013 Google Inc. All Rights Reserved.
   2    :  //
   3    :  // Licensed under the Apache License, Version 2.0 (the "License");
   4    :  // you may not use this file except in compliance with the License.
   5    :  // You may obtain a copy of the License at
   6    :  //
   7    :  //     http://www.apache.org/licenses/LICENSE-2.0
   8    :  //
   9    :  // Unless required by applicable law or agreed to in writing, software
  10    :  // distributed under the License is distributed on an "AS IS" BASIS,
  11    :  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12    :  // See the License for the specific language governing permissions and
  13    :  // limitations under the License.
  14    :  //
  15    :  // This class implements the functions alignment transformation.
  16    :  
  17    :  #ifndef SYZYGY_OPTIMIZE_TRANSFORMS_BLOCK_ALIGNMENT_TRANSFORM_H_
  18    :  #define SYZYGY_OPTIMIZE_TRANSFORMS_BLOCK_ALIGNMENT_TRANSFORM_H_
  19    :  
  20    :  #include "syzygy/block_graph/filterable.h"
  21    :  #include "syzygy/block_graph/transform_policy.h"
  22    :  #include "syzygy/optimize/application_profile.h"
  23    :  #include "syzygy/optimize/transforms/subgraph_transform.h"
  24    :  
  25    :  namespace optimize {
  26    :  namespace transforms {
  27    :  
  28    :  class BlockAlignmentTransform : public SubGraphTransformInterface {
  29    :   public:
  30    :    typedef block_graph::BasicBlockSubGraph BasicBlockSubGraph;
  31    :    typedef block_graph::BlockGraph BlockGraph;
  32    :    typedef block_graph::TransformPolicyInterface TransformPolicyInterface;
  33    :  
  34    :    // Constructor.
  35  E :    BlockAlignmentTransform() { }
  36    :  
  37    :    // @name SubGraphTransformInterface implementation.
  38    :    // @{
  39    :    virtual bool TransformBasicBlockSubGraph(
  40    :        const TransformPolicyInterface* policy,
  41    :        BlockGraph* block_graph,
  42    :        BasicBlockSubGraph* basic_block_subgraph,
  43    :        ApplicationProfile* profile,
  44    :        SubGraphProfile* subgraph_profile) override;
  45    :    // @}
  46    :  
  47    :   private:
  48    :    DISALLOW_COPY_AND_ASSIGN(BlockAlignmentTransform);
  49    :  };
  50    :  
  51    :  }  // namespace transforms
  52    :  }  // namespace optimize
  53    :  
  54    :  #endif  // SYZYGY_OPTIMIZE_TRANSFORMS_BLOCK_ALIGNMENT_TRANSFORM_H_

Coverage information generated Thu Jan 14 17:40:38 2016.