LLVM  14.0.0git
Macros | Functions | Variables
AMDGPULateCodeGenPrepare.cpp File Reference
#include "AMDGPU.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
#include "llvm/Analysis/ValueTracking.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"
Include dependency graph for AMDGPULateCodeGenPrepare.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-late-codegenprepare"
 

Functions

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

Variables

static 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))
 
 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 26 of file AMDGPULateCodeGenPrepare.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

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

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 188 of file AMDGPULateCodeGenPrepare.cpp.

◆ false

AMDGPU IR late false

Definition at line 189 of file AMDGPULateCodeGenPrepare.cpp.

◆ optimizations

AMDGPU IR late optimizations

Definition at line 189 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))
static