LLVM 19.0.0git
Macros | Functions
CalcSpillWeights.cpp File Reference
#include "llvm/CodeGen/CalcSpillWeights.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/StackMaps.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#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()

static bool canMemFoldInlineAsm ( LiveInterval LI,
const MachineRegisterInfo MRI 
)
static

Definition at line 149 of file CalcSpillWeights.cpp.

References MI, MRI, and llvm::LiveInterval::reg().

Referenced by llvm::VirtRegAuxInfo::weightCalcHelper().