LLVM  14.0.0git
Macros | Functions | Variables
RegAllocBasic.cpp File Reference
#include "AllocationOrder.h"
#include "LiveDebugVariables.h"
#include "RegAllocBase.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/CodeGen/CalcSpillWeights.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/LiveRangeEdit.h"
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "llvm/CodeGen/LiveStacks.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/RegAllocRegistry.h"
#include "llvm/CodeGen/Spiller.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdlib>
#include <queue>
Include dependency graph for RegAllocBasic.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "regalloc"
 

Functions

 INITIALIZE_PASS_BEGIN (RABasic, "regallocbasic", "Basic Register Allocator", false, false) INITIALIZE_PASS_END(RABasic
 

Variables

static RegisterRegAlloc basicRegAlloc ("basic", "basic register allocator", createBasicRegisterAllocator)
 
 regallocbasic
 
Basic Register Allocator
 
Basic Register false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "regalloc"

Definition at line 41 of file RegAllocBasic.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( RABasic  ,
"regallocbasic"  ,
"Basic Register Allocator ,
false  ,
false   
)

Variable Documentation

◆ Allocator

Basic Register Allocator

Definition at line 146 of file RegAllocBasic.cpp.

Referenced by llvm::RecyclingAllocator< llvm::BumpPtrAllocatorImpl, FinalizedAllocInfo >::Allocate(), llvm::Recycler< FinalizedAllocInfo, sizeof(FinalizedAllocInfo), alignof(FinalizedAllocInfo) >::Allocate(), llvm::ArrayRecycler< MachineOperand >::allocate(), llvm::SpecificBumpPtrAllocator< llvm::LazyCallGraph::SCC >::Allocate(), llvm::MCContext::allocate(), llvm::GVNExpression::AggregateValueExpression::allocateIntOperands(), llvm::MachineFunction::allocateOperandArray(), llvm::GVNExpression::BasicExpression::allocateOperands(), llvm::StringMapEntryBase::allocateWithKey(), llvm::LiveRange::assign(), llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), llvm::Recycler< FinalizedAllocInfo, sizeof(FinalizedAllocInfo), alignof(FinalizedAllocInfo) >::clear(), llvm::ArrayRecycler< MachineOperand >::clear(), llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::clear(), commitFpm(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::copyString(), llvm::msf::MSFBuilder::create(), llvm::ScopedHashTableVal< K, V >::Create(), llvm::MachineFunctionInfo::create(), llvm::msf::MappedBlockStream::createDirectoryStream(), llvm::msf::WritableMappedBlockStream::createDirectoryStream(), llvm::msf::MappedBlockStream::createFpmStream(), llvm::msf::WritableMappedBlockStream::createFpmStream(), llvm::msf::MappedBlockStream::createIndexedStream(), llvm::msf::WritableMappedBlockStream::createIndexedStream(), llvm::jitlink::MachOLinkGraphBuilder::createNormalizedSymbol(), llvm::OpenMPIRBuilder::createOMPAlloc(), llvm::OpenMPIRBuilder::createOMPFree(), llvm::msf::MappedBlockStream::createStream(), llvm::msf::WritableMappedBlockStream::createStream(), llvm::LiveInterval::createSubRange(), llvm::LiveInterval::createSubRangeFrom(), llvm::RecyclingAllocator< llvm::BumpPtrAllocatorImpl, FinalizedAllocInfo >::Deallocate(), llvm::ScopedHashTableVal< K, V >::Destroy(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::erase(), llvm::msf::MappedBlockStream::getAllocator(), llvm::pdb::PDBFile::getAllocator(), llvm::msf::MSFBuilder::getAllocator(), llvm::ScopedHashTable< K, V, DenseMapInfo< K >, MallocAllocator >::getAllocator(), llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::getAllocator(), llvm::MachineFunction::getInfo(), llvm::ImmutableListFactory< T >::ImmutableListFactory(), llvm::InformationCache::InformationCache(), llvm::CodeViewYAML::initializeStringsAndChecksums(), llvm::ScopedHashTable< K, V, DenseMapInfo< K >, MallocAllocator >::insertIntoScope(), llvm::FoldingSetNodeID::Intern(), llvm::LiveRange::LiveRange(), loadPdbFile(), operator new(), llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::operator=(), llvm::SpecificBumpPtrAllocator< llvm::LazyCallGraph::SCC >::operator=(), llvm::RecyclingAllocator< llvm::BumpPtrAllocatorImpl, FinalizedAllocInfo >::PrintStats(), printSymbolizedStackTrace(), llvm::LiveInterval::refineSubRanges(), llvm::internal::NfaTranscriber::reset(), llvm::OpenMPOptPass::run(), llvm::OpenMPOptCGSCCPass::run(), llvm::AttributorPass::run(), llvm::AttributorCGSCCPass::run(), AMDGPUAttributor::runOnModule(), llvm::SpecificBumpPtrAllocator< llvm::LazyCallGraph::SCC >::SpecificBumpPtrAllocator(), llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::StringMap(), llvm::CodeViewYAML::toCodeViewSubsectionList(), llvm::CodeViewYAML::SymbolRecord::toCodeViewSymbol(), llvm::CodeViewYAML::detail::SymbolRecordImpl< T >::toCodeViewSymbol(), llvm::CodeViewYAML::detail::UnknownSymbolRecord::toCodeViewSymbol(), llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::try_emplace(), llvm::RecyclingAllocator< llvm::BumpPtrAllocatorImpl, FinalizedAllocInfo >::~RecyclingAllocator(), and llvm::StringMap< std::unique_ptr< llvm::vfs::detail::InMemoryNode > >::~StringMap().

◆ basicRegAlloc

RegisterRegAlloc basicRegAlloc("basic", "basic register allocator", createBasicRegisterAllocator)
static

◆ false

Basic Register false

Definition at line 146 of file RegAllocBasic.cpp.

◆ regallocbasic

regallocbasic

Definition at line 146 of file RegAllocBasic.cpp.