GTPin
Public Member Functions

HLI argument that represents mask of effective SIMD channels at the instrumentation point. More...

#include <gt_iarg_defs.h>

Public Member Functions

 IargSimdMask (bool ignoreCeMask, uint32_t execMask, const GtPredicate &predicate=GtPredicate())
 Construct HLI argument that evaluates the mask of effective SIMD channels at the instrumentation point ceMask = ignoreCeMask ? 0xffffffff : ChannelEnableReg() simdMask = ceMask & DispatchMaskReg() & execMask & Mask(predicate)
template<typename PRMT >
const IGtIargMake (IGtIargFactory &factory) const
 Create IGtIarg object that assigns this argument value to the formal parameter of type PRMT.

Detailed Description

HLI argument that represents mask of effective SIMD channels at the instrumentation point.


Constructor & Destructor Documentation

gtpin::IargSimdMask::IargSimdMask ( bool  ignoreCeMask,
uint32_t  execMask,
const GtPredicate predicate = GtPredicate() 
) [inline]

Construct HLI argument that evaluates the mask of effective SIMD channels at the instrumentation point ceMask = ignoreCeMask ? 0xffffffff : ChannelEnableReg() simdMask = ceMask & DispatchMaskReg() & execMask & Mask(predicate)

Parameters:
[in]ignoreCeMaskFlag that indicates whether the mask in ChannelEnableReg should be applied (false) or ignored (true) in the computation of effective SIMD channels
[in]execMaskExecution mask to be used in the computation of effective SIMD channels. Normally, this mask is produced by the GtExecMask::Bits() function.
[in]predicatePredicate to be used in the computation. Invalid predicate is ignored

Member Function Documentation

template<typename PRMT >
const IGtIarg& gtpin::IargSimdMask::Make ( IGtIargFactory factory) const [inline]

Create IGtIarg object that assigns this argument value to the formal parameter of type PRMT.

Note:
The array of GRF registers is passed by pointer
Parameters:
PRMTType of the formal parameter of the function
Returns:
New IGtIarg object of type GtIargType::SIMD_MASK
Precondition:
PRMT is a pointer type
 All Data Structures Functions Variables Typedefs Enumerations Enumerator


  Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT