GCC Middle and Back End API Reference
vec-perm-indices.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "vec-perm-indices.h"
#include "tree.h"
#include "fold-const.h"
#include "tree-vector-builder.h"
#include "backend.h"
#include "rtl.h"
#include "memmodel.h"
#include "emit-rtl.h"
#include "selftest.h"
#include "rtx-vector-builder.h"
Include dependency graph for vec-perm-indices.cc:

Functions

bool tree_to_vec_perm_builder (vec_perm_builder *builder, tree cst)
bool tree_to_vec_perm_indices (vec_perm_indices *indices, tree op0, tree op1, tree perm_cst)
tree vec_perm_indices_to_tree (tree type, const vec_perm_indices &indices)
rtx vec_perm_indices_to_rtx (machine_mode mode, const vec_perm_indices &indices)

Function Documentation

◆ tree_to_vec_perm_builder()

bool tree_to_vec_perm_builder ( vec_perm_builder * builder,
tree cst )

◆ tree_to_vec_perm_indices()

bool tree_to_vec_perm_indices ( vec_perm_indices * indices,
tree op0,
tree op1,
tree perm_cst )
Try to read the contents of VECTOR_CST PERM_CST as a constant permutation
vector permuting OP0 and OP1.  Return true and populate INDICES on success,
otherwise return false without modifying INDICES.   

References initializer_zerop(), tree_to_vec_perm_builder(), tree_to_vec_perm_indices(), TREE_TYPE, and TYPE_VECTOR_SUBPARTS().

Referenced by lower_vec_perm(), and tree_to_vec_perm_indices().

◆ vec_perm_indices_to_rtx()

rtx vec_perm_indices_to_rtx ( machine_mode mode,
const vec_perm_indices & indices )

◆ vec_perm_indices_to_tree()