|
LLVM 24.0.0git
|
#include "HexagonSubtarget.h"#include "HexagonInstrInfo.h"#include "HexagonRegisterInfo.h"#include "HexagonTargetMachine.h"#include "MCTargetDesc/HexagonMCTargetDesc.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/CodeGen/LibcallLoweringInfo.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/MachineScheduler.h"#include "llvm/CodeGen/ScheduleDAG.h"#include "llvm/CodeGen/ScheduleDAGInstrs.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/GlobalValue.h"#include "llvm/IR/IntrinsicsHexagon.h"#include "llvm/Option/LibraryOptions.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Target/TargetMachine.h"#include <algorithm>#include <cassert>#include <optional>#include "HexagonGenSubtargetInfo.inc"#include "HexagonOptions.inc"#include "HexagonDepInstrIntrinsics.inc"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "hexagon-subtarget" |
| #define | GET_SUBTARGETINFO_CTOR |
| #define | GET_SUBTARGETINFO_TARGET_DESC |
| #define | OPTIONS_STRUCT_DEFS |
| #define | GET_SCALAR_INTRINSICS |
| #define | GET_HVX_INTRINSICS |
Functions | |
| static std::optional< BankAddr > | getBankAddr (const MachineInstr &MI, const HexagonInstrInfo &HII) |
| static bool | haveComparableSyms (const BankAddr &A0, const BankAddr &A1, const DataLayout &DL) |
| static SUnit * | getZeroLatency (SUnit *N, SmallVector< SDep, 4 > &Deps) |
| If the SUnit has a zero latency edge, return the other SUnit. | |
| #define DEBUG_TYPE "hexagon-subtarget" |
Definition at line 39 of file HexagonSubtarget.cpp.
| #define GET_HVX_INTRINSICS |
| #define GET_SCALAR_INTRINSICS |
| #define GET_SUBTARGETINFO_CTOR |
Definition at line 41 of file HexagonSubtarget.cpp.
| #define GET_SUBTARGETINFO_TARGET_DESC |
Definition at line 42 of file HexagonSubtarget.cpp.
| #define OPTIONS_STRUCT_DEFS |
Definition at line 45 of file HexagonSubtarget.cpp.
|
static |
Definition at line 567 of file HexagonSubtarget.cpp.
References A(), llvm::HexagonII::BaseImmOffset, llvm::HexagonII::BaseLongOffset, llvm::HexagonInstrInfo::getAddrMode(), llvm::MachineOperand::getImm(), llvm::HexagonInstrInfo::getMemAccessSize(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::HexagonII::HMOTF_ConstExtended, llvm::HexagonInstrInfo::isHLXVec(), llvm::MachineOperand::isImm(), llvm::HexagonInstrInfo::isMemOp(), llvm::HexagonInstrInfo::isPostIncrement(), llvm::HexagonInstrInfo::isPredicated(), llvm::MachineOperand::isReg(), MI, and llvm::HexagonII::MO_NO_FLAG.
Referenced by llvm::HexagonSubtarget::BankConflictMutation::apply(), and llvm::HexagonSubtarget::mayHaveBankConflict().
|
static |
|
static |
Definition at line 620 of file HexagonSubtarget.cpp.
References DL.
Referenced by llvm::HexagonSubtarget::mayHaveBankConflict().