| 
    LLVM 22.0.0git
    
   | 
 
#include "SIFoldOperands.h"#include "AMDGPU.h"#include "GCNSubtarget.h"#include "MCTargetDesc/AMDGPUMCTargetDesc.h"#include "SIInstrInfo.h"#include "SIMachineFunctionInfo.h"#include "SIRegisterInfo.h"#include "llvm/ADT/DepthFirstIterator.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineOperand.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "si-fold-operands" | 
| #define DEBUG_TYPE "si-fold-operands" | 
Definition at line 23 of file SIFoldOperands.cpp.
      
  | 
  static | 
Definition at line 746 of file SIFoldOperands.cpp.
References llvm::dbgs(), LLVM_DEBUG, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by appendFoldCandidate().
      
  | 
  static | 
Definition at line 757 of file SIFoldOperands.cpp.
References appendFoldCandidate(), and MI.
Definition at line 1491 of file SIFoldOperands.cpp.
Definition at line 1557 of file SIFoldOperands.cpp.
      
  | 
  static | 
Definition at line 2212 of file SIFoldOperands.cpp.
References llvm::SIOutMods::DIV2, llvm_unreachable, llvm::SIOutMods::MUL2, llvm::SIOutMods::MUL4, llvm::SIOutMods::NONE, and Opc.
      
  | 
  static | 
Definition at line 305 of file SIFoldOperands.cpp.
References const, getRegOpRC(), if(), MRI, and TRI.
Referenced by getRegOpRC().
      
  | 
  static | 
Checks whether Copy is a AGPR -> VGPR copy. 
Returns true on success and stores the AGPR register in OutReg and the subreg in OutSubReg 
Definition at line 2461 of file SIFoldOperands.cpp.
References assert(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::MachineInstr::isCopy(), llvm::Register::isVirtual(), MRI, and TRI.
      
  | 
  static | 
Definition at line 928 of file SIFoldOperands.cpp.
References llvm::SrcOp::getReg(), llvm::Register::isPhysical(), MRI, llvm::Sub, and TII.
Definition at line 316 of file SIFoldOperands.cpp.
References Opc.
      
  | 
  static | 
Definition at line 1561 of file SIFoldOperands.cpp.
References AbstractManglingParser< Derived, Alloc >::NumOps, I, and MI.