LLVM 20.0.0git
Classes | Macros | Functions | Variables
InstructionSelect.cpp File Reference

This file implements the InstructionSelect class. More...

#include "llvm/CodeGen/GlobalISel/InstructionSelect.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/LazyBlockFrequencyInfo.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h"
#include "llvm/CodeGen/GlobalISel/GISelKnownBits.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
#include "llvm/CodeGen/GlobalISel/Utils.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Config/config.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/CodeGenCoverage.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DebugCounter.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Classes

class  llvm::InstructionSelect::MIIteratorMaintainer
 This class observes instruction insertions/removals. More...
 

Macros

#define DEBUG_TYPE   "instruction-select"
 

Functions

 DEBUG_COUNTER (GlobalISelCounter, "globalisel", "Controls whether to select function with GlobalISel")
 
 INITIALIZE_PASS_BEGIN (InstructionSelect, DEBUG_TYPE, "Select target instructions out of generic instructions", false, false) INITIALIZE_PASS_END(InstructionSelect
 

Variables

static const std::string CoveragePrefix
 
 DEBUG_TYPE
 
Select target instructions out of generic instructions
 
Select target instructions out of generic false
 

Detailed Description

This file implements the InstructionSelect class.

Definition in file InstructionSelect.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "instruction-select"

Definition at line 39 of file InstructionSelect.cpp.

Function Documentation

◆ DEBUG_COUNTER()

DEBUG_COUNTER ( GlobalISelCounter  ,
"globalisel"  ,
"Controls whether to select function with GlobalISel"   
)

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( InstructionSelect  ,
DEBUG_TYPE  ,
"Select target instructions out of generic instructions"  ,
false  ,
false   
)

Variable Documentation

◆ CoveragePrefix

const std::string CoveragePrefix
static

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 63 of file InstructionSelect.cpp.

◆ false

Select target instructions out of generic false

Definition at line 65 of file InstructionSelect.cpp.

◆ instructions

Select target instructions out of generic instructions

Definition at line 64 of file InstructionSelect.cpp.