LLVM 20.0.0git
Namespaces | Functions
X86ShuffleDecodeConstantPool.cpp File Reference
#include "X86ShuffleDecodeConstantPool.h"
#include "MCTargetDesc/X86ShuffleDecode.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/Constants.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

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.
 
void llvm::DecodeVPERMILPMask (const Constant *C, unsigned ElSize, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPERMILP variable mask from an IR-level vector constant.
 
void llvm::DecodeVPERMIL2PMask (const Constant *C, unsigned M2Z, unsigned ElSize, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPERMILP2 variable mask from an IR-level vector constant.
 
void llvm::DecodeVPPERMMask (const Constant *C, unsigned Width, SmallVectorImpl< int > &ShuffleMask)
 Decode a VPPERM variable mask from an IR-level vector constant.