GCC Middle and Back End API Reference
scalar_cond_masked_key Struct Reference

#include <tree-vectorizer.h>

Public Member Functions

 scalar_cond_masked_key (tree t, unsigned ncopies_)
 
void get_cond_ops_from_tree (tree)
 

Data Fields

unsigned ncopies
 
bool inverted_p
 
tree_code code
 
tree op0
 
tree op1
 

Detailed Description

Key for map that records association between
scalar conditions and corresponding loop mask, and
is populated by vect_record_loop_mask.   

Constructor & Destructor Documentation

◆ scalar_cond_masked_key()

scalar_cond_masked_key::scalar_cond_masked_key ( tree t,
unsigned ncopies_ )
inline

Member Function Documentation

◆ get_cond_ops_from_tree()

void scalar_cond_masked_key::get_cond_ops_from_tree ( tree t)
If the condition represented by T is a comparison or the SSA name
result of a comparison, extract the comparison's operands.  Represent
T as NE_EXPR <T, 0> otherwise.   

References build_zero_cst(), ggc_alloc(), gimple_assign_rhs1(), gimple_assign_rhs2(), gimple_assign_rhs_code(), SSA_NAME_DEF_STMT, tcc_comparison, TREE_CODE, TREE_CODE_CLASS, TREE_OPERAND, and TREE_TYPE.

Referenced by scalar_cond_masked_key().

Field Documentation

◆ code

◆ inverted_p

◆ ncopies

◆ op0

◆ op1

tree scalar_cond_masked_key::op1

The documentation for this struct was generated from the following files: