LLVM 20.0.0git
Classes | Namespaces | Typedefs | Functions
MCDCTypes.h File Reference
#include <array>
#include <cassert>
#include <type_traits>
#include <variant>

Go to the source code of this file.

Classes

struct  llvm::coverage::mcdc::DecisionParameters
 
struct  llvm::coverage::mcdc::BranchParameters
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::coverage
 
namespace  llvm::coverage::mcdc
 

Typedefs

using llvm::coverage::mcdc::ConditionID = int16_t
 The ID for MCDCBranch.
 
using llvm::coverage::mcdc::ConditionIDs = std::array< ConditionID, 2 >
 
using llvm::coverage::mcdc::Parameters = std::variant< std::monostate, DecisionParameters, BranchParameters >
 The type of MC/DC-specific parameters.
 

Functions

template<class MaybeConstInnerParameters , class MaybeConstMCDCParameters >
static auto & llvm::coverage::mcdc::getParams (MaybeConstMCDCParameters &MCDCParams)
 Check and get underlying params in MCDCParams.