LLVM  6.0.0svn
Functions
LegalizeVectorOps.cpp File Reference
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/ISDOpcodes.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Target/TargetLowering.h"
#include <cassert>
#include <cstdint>
#include <iterator>
#include <utility>
Include dependency graph for LegalizeVectorOps.cpp:

Go to the source code of this file.

Functions

static void createBSWAPShuffleMask (EVT VT, SmallVectorImpl< int > &ShuffleMask)
 

Function Documentation

◆ createBSWAPShuffleMask()

static void createBSWAPShuffleMask ( EVT  VT,
SmallVectorImpl< int > &  ShuffleMask 
)
static

Definition at line 883 of file LegalizeVectorOps.cpp.

References llvm::ISD::AND, assert(), llvm::ISD::BITCAST, llvm::ISD::BITREVERSE, llvm::ISD::CTLZ, llvm::ISD::CTLZ_ZERO_UNDEF, llvm::ISD::CTPOP, llvm::ISD::CTTZ, E, llvm::TargetLoweringBase::Expand, llvm::ISD::EXTRACT_VECTOR_ELT, llvm::ISD::FADD, llvm::ISD::FMUL, llvm::ISD::FNEG, llvm::ISD::FSUB, llvm::APInt::getAllOnesValue(), llvm::TargetLoweringBase::getBooleanContents(), llvm::SelectionDAG::getBuildVector(), llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getConstantFP(), llvm::SelectionDAG::getContext(), llvm::SelectionDAG::getDataLayout(), llvm::SDValue::getNode(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getNOT(), llvm::SDValue::getOpcode(), llvm::SDValue::getOperand(), llvm::TargetLoweringBase::getOperationAction(), llvm::EVT::getScalarSizeInBits(), llvm::EVT::getScalarType(), llvm::SelectionDAG::getSelect(), llvm::TargetLoweringBase::getSetCCResultType(), llvm::TargetLoweringBase::getShiftAmountTy(), llvm::EVT::getSizeInBits(), llvm::SelectionDAG::getUNDEF(), llvm::SDValue::getValueSizeInBits(), llvm::SDValue::getValueType(), llvm::EVT::getVectorElementType(), llvm::TargetLoweringBase::getVectorIdxTy(), llvm::EVT::getVectorNumElements(), llvm::SelectionDAG::getVectorShuffle(), llvm::EVT::getVectorVT(), llvm::AArch64CC::HI, I, llvm::MVT::i8, llvm::TargetLoweringBase::isOperationLegalOrCustom(), llvm::TargetLoweringBase::isOperationLegalOrCustomOrPromote(), llvm::isPowerOf2_32(), llvm::TargetLoweringBase::isShuffleMaskLegal(), llvm::AArch64CC::LO, llvm::ISD::OR, llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), llvm::ISD::SETCC, llvm::ISD::SHL, llvm::ISD::SINT_TO_FP, llvm::SmallVectorTemplateCommon< T >::size(), llvm::ISD::SRL, llvm::SelectionDAG::UnrollVectorOp(), llvm::ISD::XOR, and llvm::TargetLoweringBase::ZeroOrNegativeOneBooleanContent.