LLVM 24.0.0git
HexagonISelLoweringHVX.cpp File Reference
#include "HexagonISelLowering.h"
#include "HexagonRegisterInfo.h"
#include "HexagonSubtarget.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/MemoryLocation.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/IR/IntrinsicsHexagon.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <string>
#include <utility>

Go to the source code of this file.

Functions

static std::tuple< unsigned, unsigned, unsigned > getIEEEProperties (MVT Ty)
static bool DetectExtendingMultiply (const SDValue &N, EVT ScalarType, unsigned &Opcode, SDValue &A, SDValue &B)

Variables

static const MVT LegalV64 [] = { MVT::v64i8, MVT::v32i16, MVT::v16i32 }
static const MVT LegalW64 [] = { MVT::v128i8, MVT::v64i16, MVT::v32i32 }
static const MVT LegalV128 [] = { MVT::v128i8, MVT::v64i16, MVT::v32i32 }
static const MVT LegalW128 [] = { MVT::v256i8, MVT::v128i16, MVT::v64i32 }
static const unsigned MaxExpandMLA = 8

Function Documentation

◆ DetectExtendingMultiply()

◆ getIEEEProperties()

std::tuple< unsigned, unsigned, unsigned > getIEEEProperties ( MVT Ty)
static

Definition at line 37 of file HexagonISelLoweringHVX.cpp.

References llvm::c_str(), and llvm_unreachable.

Variable Documentation

◆ LegalV128

const MVT LegalV128[] = { MVT::v128i8, MVT::v64i16, MVT::v32i32 }
static

Definition at line 32 of file HexagonISelLoweringHVX.cpp.

◆ LegalV64

const MVT LegalV64[] = { MVT::v64i8, MVT::v32i16, MVT::v16i32 }
static

Definition at line 30 of file HexagonISelLoweringHVX.cpp.

◆ LegalW128

const MVT LegalW128[] = { MVT::v256i8, MVT::v128i16, MVT::v64i32 }
static

Definition at line 33 of file HexagonISelLoweringHVX.cpp.

◆ LegalW64

const MVT LegalW64[] = { MVT::v128i8, MVT::v64i16, MVT::v32i32 }
static

Definition at line 31 of file HexagonISelLoweringHVX.cpp.

◆ MaxExpandMLA

const unsigned MaxExpandMLA = 8
static

Definition at line 35 of file HexagonISelLoweringHVX.cpp.