LLVM  9.0.0svn
Classes | Macros | Functions
SIModeRegister.cpp File Reference

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

#include "AMDGPU.h"
#include "AMDGPUInstrInfo.h"
#include "AMDGPUSubtarget.h"
#include "SIInstrInfo.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include <queue>
Include dependency graph for SIModeRegister.cpp:

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 33 of file SIModeRegister.cpp.

Referenced by BlockData::BlockData().

Function Documentation

◆ STATISTIC()

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