LLVM  3.7.0
Functions
X86InstComments.cpp File Reference
#include "X86InstComments.h"
#include "MCTargetDesc/X86MCTargetDesc.h"
#include "Utils/X86ShuffleDecode.h"
#include "llvm/MC/MCInst.h"
#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for X86InstComments.cpp:

Go to the source code of this file.

Functions

static void getZeroExtensionTypes (const MCInst *MI, MVT &SrcVT, MVT &DstVT)
 Extracts the src/dst types for a given zero extension instruction. More...
 

Function Documentation

static void getZeroExtensionTypes ( const MCInst MI,
MVT SrcVT,
MVT DstVT 
)
static

Extracts the src/dst types for a given zero extension instruction.

Note
While the number of elements in DstVT type correct, the number in the SrcVT type is expanded to fill the src xmm register and the upper elements may not be included in the dst xmm/ymm register.

Definition at line 28 of file X86InstComments.cpp.

References llvm::MCInst::getOpcode(), llvm_unreachable, llvm::MVT::v16i16, llvm::MVT::v16i8, llvm::MVT::v2i64, llvm::MVT::v4i32, llvm::MVT::v4i64, llvm::MVT::v8i16, and llvm::MVT::v8i32.

Referenced by llvm::EmitAnyX86InstComments().