LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Functions | Variables
SpillPlacement.cpp File Reference
#include "SpillPlacement.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/CodeGen/EdgeBundles.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
Include dependency graph for SpillPlacement.cpp:

Go to the source code of this file.

Classes

struct  llvm::SpillPlacement::Node
 

Macros

#define DEBUG_TYPE   "spillplacement"
 

Functions

 INITIALIZE_PASS_BEGIN (SpillPlacement,"spill-code-placement","Spill Code Placement Analysis", true, true) INITIALIZE_PASS_END(SpillPlacement
 

Variables

spill code placement
 
spill code Spill Code Placement Analysis
 
spill code Spill Code Placement true
 
static const BlockFrequency Threshold = 2
 

Macro Definition Documentation

#define DEBUG_TYPE   "spillplacement"

Definition at line 30 of file SpillPlacement.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( SpillPlacement  ,
"spill-code-placement ,
"Spill Code Placement Analysis ,
true  ,
true   
)

Variable Documentation

spill code Spill Code Placement Analysis

Definition at line 49 of file SpillPlacement.cpp.

spill code placement

Definition at line 49 of file SpillPlacement.cpp.

const BlockFrequency Threshold = 2
static

Decision threshold. A node gets the output value 0 if the weighted sum of its inputs falls in the open interval (-Threshold;Threshold).

Definition at line 64 of file SpillPlacement.cpp.

Referenced by llvm::SpillPlacement::Node::clear(), and llvm::SpillPlacement::Node::update().

spill code Spill Code Placement true

Definition at line 49 of file SpillPlacement.cpp.