LLVM 20.0.0git
|
#include "CSKYInstrInfo.h"
#include "CSKYConstantPoolValue.h"
#include "CSKYMachineFunctionInfo.h"
#include "CSKYTargetMachine.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/MC/MCContext.h"
#include "CSKYGenInstrInfo.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "csky-instr-info" |
#define | GET_INSTRINFO_CTOR_DTOR |
Functions | |
static void | parseCondBranch (MachineInstr &LastInst, MachineBasicBlock *&Target, SmallVectorImpl< MachineOperand > &Cond) |
static unsigned | getOppositeBranchOpc (unsigned Opcode) |
#define DEBUG_TYPE "csky-instr-info" |
Definition at line 20 of file CSKYInstrInfo.cpp.
#define GET_INSTRINFO_CTOR_DTOR |
Definition at line 24 of file CSKYInstrInfo.cpp.
Definition at line 190 of file CSKYInstrInfo.cpp.
References llvm_unreachable.
Referenced by llvm::CSKYInstrInfo::reverseBranchCondition(), and llvm::LoongArchInstrInfo::reverseBranchCondition().
|
static |
Definition at line 35 of file CSKYInstrInfo.cpp.
References assert(), Cond, llvm::MachineOperand::CreateImm(), llvm::MachineInstr::getDesc(), llvm::MachineOperand::getMBB(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), and llvm::MCInstrDesc::isConditionalBranch().