LLVM: lib/CodeGen/CalcSpillWeights.cpp File Reference (original) (raw)
CalcSpillWeights.cpp File Reference
#include "[llvm/CodeGen/CalcSpillWeights.h](CalcSpillWeights%5F8h%5Fsource.html)"#include "[llvm/ADT/SmallPtrSet.h](SmallPtrSet%5F8h%5Fsource.html)"#include "[llvm/CodeGen/LiveInterval.h](LiveInterval%5F8h%5Fsource.html)"#include "[llvm/CodeGen/LiveIntervals.h](LiveIntervals%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineFunction.h](MachineFunction%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineInstr.h](MachineInstr%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineLoopInfo.h](MachineLoopInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineOperand.h](MachineOperand%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineRegisterInfo.h](MachineRegisterInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/StackMaps.h](StackMaps%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetInstrInfo.h](TargetInstrInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetRegisterInfo.h](TargetRegisterInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetSubtargetInfo.h](TargetSubtargetInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/VirtRegMap.h](VirtRegMap%5F8h%5Fsource.html)"#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"#include "[llvm/Support/MathExtras.h](MathExtras%5F8h%5Fsource.html)"#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"#include <cassert>#include <tuple>
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "calcspillweights" |
| Functions | |
|---|---|
| static bool | canMemFoldInlineAsm (LiveInterval &LI, const MachineRegisterInfo &MRI) |
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "calcspillweights"
Definition at line 31 of file CalcSpillWeights.cpp.
Function Documentation
◆ canMemFoldInlineAsm()
| bool canMemFoldInlineAsm ( LiveInterval & LI, const MachineRegisterInfo & MRI ) | static |
|---|
Definition at line 221 of file CalcSpillWeights.cpp.
References MI, MRI, and llvm::LiveInterval::reg().
Referenced by llvm::VirtRegAuxInfo::weightCalcHelper().