LLVM
10.0.0svn
|
#include "ARM.h"
#include "ARMMachineFunctionInfo.h"
#include "ARMSubtarget.h"
#include "MCTargetDesc/ARMBaseInfo.h"
#include "Thumb2InstrInfo.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineInstrBundle.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/Debug.h"
#include <cassert>
#include <new>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "arm-mve-vpt" |
Enumerations | |
enum | VPTMaskValue { T = 8, TT = 4, TE = 12, TTT = 2, TTE = 6, TEE = 10, TET = 14, TTTT = 1, TTTE = 3, TTEE = 5, TTET = 7, TEEE = 9, TEET = 11, TETT = 13, TETE = 15 } |
Functions | |
static unsigned | VCMPOpcodeToVPT (unsigned Opcode) |
static MachineInstr * | findVCMPToFoldIntoVPST (MachineBasicBlock::iterator MI, const TargetRegisterInfo *TRI, unsigned &NewOpcode) |
#define DEBUG_TYPE "arm-mve-vpt" |
Definition at line 34 of file MVEVPTBlockPass.cpp.
enum VPTMaskValue |
Enumerator | |
---|---|
T | |
TT | |
TE | |
TTT | |
TTE | |
TEE | |
TET | |
TTTT | |
TTTE | |
TTEE | |
TTET | |
TEEE | |
TEET | |
TETT | |
TETE |
Definition at line 66 of file MVEVPTBlockPass.cpp.
|
static |
Definition at line 137 of file MVEVPTBlockPass.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addImm(), assert(), llvm::BuildMI(), llvm::dbgs(), llvm::MachineInstr::dump(), llvm::ARMVCC::Else, llvm::MachineInstr::eraseFromParent(), llvm::finalizeBundle(), llvm::MachineInstr::getDebugLoc(), llvm::MachineInstrBuilder::getInstr(), llvm::ARMSubtarget::getInstrInfo(), llvm::MachineFunction::getName(), llvm::MachineInstr::getOperand(), llvm::ARMSubtarget::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::getVPTInstrPredicate(), llvm::ARMSubtarget::hasMVEIntegerOps(), llvm::MachineBasicBlock::instr_begin(), llvm::MachineBasicBlock::instr_end(), llvm::ARMSubtarget::isThumb2(), LLVM_DEBUG, llvm_unreachable, MI, Modified, llvm::ARMVCC::None, llvm::registerDefinedBetween(), T, TII, TRI, TT, TTT, TTTT, llvm::ARMISD::VCMP, and VCMPOpcodeToVPT().
Definition at line 84 of file MVEVPTBlockPass.cpp.
Referenced by findVCMPToFoldIntoVPST().