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

This pass does misc. More...

#include "AMDGPU.h"
#include "AMDGPUTargetMachine.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/UniformityAnalysis.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Transforms/Utils/Local.h"

Go to the source code of this file.

Classes

class  AMDGPULateCodeGenPrepareLegacy
 

Macros

#define DEBUG_TYPE   "amdgpu-late-codegenprepare"
 

Functions

 INITIALIZE_PASS_BEGIN (AMDGPULateCodeGenPrepareLegacy, DEBUG_TYPE, "AMDGPU IR late optimizations", false, false) INITIALIZE_PASS_END(AMDGPULateCodeGenPrepareLegacy
 

Variables

static cl::opt< boolWidenLoads ("amdgpu-late-codegenprepare-widen-constant-loads", cl::desc("Widen sub-dword constant address space loads in " "AMDGPULateCodeGenPrepare"), cl::ReallyHidden, cl::init(true))
 
 DEBUG_TYPE
 
AMDGPU IR late optimizations
 
AMDGPU IR late false
 

Detailed Description

This pass does misc.

AMDGPU optimizations on IR just before instruction selection.

Definition in file AMDGPULateCodeGenPrepare.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-late-codegenprepare"

Definition at line 28 of file AMDGPULateCodeGenPrepare.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPULateCodeGenPrepareLegacy  ,
DEBUG_TYPE  ,
"AMDGPU IR late optimizations"  ,
false  ,
false   
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 539 of file AMDGPULateCodeGenPrepare.cpp.

◆ false

AMDGPU IR late false

Definition at line 540 of file AMDGPULateCodeGenPrepare.cpp.

◆ optimizations

AMDGPU IR late optimizations

Definition at line 540 of file AMDGPULateCodeGenPrepare.cpp.

◆ WidenLoads

cl::opt< bool > WidenLoads("amdgpu-late-codegenprepare-widen-constant-loads", cl::desc("Widen sub-dword constant address space loads in " "AMDGPULateCodeGenPrepare"), cl::ReallyHidden, cl::init(true)) ( "amdgpu-late-codegenprepare-widen-constant-loads"  ,
cl::desc("Widen sub-dword constant address space loads in " "AMDGPULateCodeGenPrepare")  ,
cl::ReallyHidden  ,
cl::init(true  
)
static