llvm/llvm/lib/Target/PowerPC/PPCPerfectShuffle.h

//===-- PPCPerfectShuffle.h - Altivec Perfect Shuffle Table -----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file, which was autogenerated by llvm-PerfectShuffle, contains data
// for the optimal way to build a perfect shuffle without using vperm.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIB_TARGET_POWERPC_PPCPERFECTSHUFFLE_H
#define LLVM_LIB_TARGET_POWERPC_PPCPERFECTSHUFFLE_H

// 31 entries have cost 0
// 292 entries have cost 1
// 1384 entries have cost 2
// 3061 entries have cost 3
// 1733 entries have cost 4
// 60 entries have cost 5

// This table is 6561*4 = 26244 bytes in size.
static const unsigned PerfectShuffleTable[6561+1] =;

#endif