LLVM 19.0.0git
Classes | Macros | Functions
SIModeRegister.cpp File Reference

This pass inserts changes to the Mode register settings as required. More...

#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include <queue>

Go to the source code of this file.

Classes

struct  Status
 
class  BlockData
 

Macros

#define DEBUG_TYPE   "si-mode-register"
 

Functions

 STATISTIC (NumSetregInserted, "Number of setreg of mode register inserted.")
 

Detailed Description

This pass inserts changes to the Mode register settings as required.

Note that currently it only deals with the Double Precision Floating Point rounding mode setting, but is intended to be generic enough to be easily expanded.

Definition in file SIModeRegister.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-mode-register"

Definition at line 23 of file SIModeRegister.cpp.

Function Documentation

◆ STATISTIC()

STATISTIC ( NumSetregInserted  ,
"Number of setreg of mode register inserted."   
)