ocelot/ocelot/analysis/implementation/DivergenceGraph.cpp
bool DivergenceGraph::isDivSource( const ir::PTXOperand* srt ) const{
	return ((srt->addressMode == ir::PTXOperand::Special) &&
		( (srt->special == ir::PTXOperand::laneId) ||
		(srt->special == ir::PTXOperand::tid &&
		(srt->vIndex == ir::PTXOperand::ix))));
}
/*!\brief Tests if a special register is source of divergence */
\brief Tests if a special register is source of divergence
\ brief Tests if a special register is source of divergence
bool DivergenceGraph::isDivSource( const ir::PTXOperand* srt ) const{
	return ((srt->addressMode == ir::PTXOperand::Special) &&
		( (srt->special == ir::PTXOperand::laneId) ||
		(srt->special == ir::PTXOperand::tid &&
		(srt->vIndex == ir::PTXOperand::ix))));
}
bool DivergenceGraph :: isDivSource ( const ir :: PTXOperand * srt ) const { return ( ( srt -> addressMode == ir :: PTXOperand :: Special ) && ( ( srt -> special == ir :: PTXOperand :: laneId ) || ( srt -> special == ir :: PTXOperand :: tid && ( srt -> vIndex == ir :: PTXOperand :: ix ) ) ) ) ; }
\brief Tests if a special register is source of divergence
\ brief Tests if a special register is source of divergence