LLVM  8.0.1
Namespaces | Functions
X86ShuffleDecodeConstantPool.cpp File Reference
#include "Utils/X86ShuffleDecode.h"
#include "llvm/ADT/APInt.h"
#include "llvm/IR/Constants.h"
Include dependency graph for X86ShuffleDecodeConstantPool.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

static bool llvm::extractConstantMask (const Constant *C, unsigned MaskEltSizeInBits, APInt &UndefElts, SmallVectorImpl< uint64_t > &RawMask)
 
void llvm::DecodePSHUFBMask (const Constant *C, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a PSHUFB mask from an IR-level vector constant. More...
 
void llvm::DecodeVPERMILPMask (const Constant *C, unsigned ElSize, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPERMILP variable mask from an IR-level vector constant. More...
 
void llvm::DecodeVPERMIL2PMask (const Constant *C, unsigned MatchImm, unsigned ElSize, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPERMILP2 variable mask from an IR-level vector constant. More...
 
void llvm::DecodeVPPERMMask (const Constant *C, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPPERM variable mask from an IR-level vector constant. More...
 
void llvm::DecodeVPERMVMask (const Constant *C, unsigned ElSize, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPERM W/D/Q/PS/PD mask from an IR-level vector constant. More...
 
void llvm::DecodeVPERMV3Mask (const Constant *C, unsigned ElSize, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPERMT2 W/D/Q/PS/PD mask from an IR-level vector constant. More...