LLVM 20.0.0git
Macros | Functions | Variables
X86FastPreTileConfig.cpp File Reference
#include "X86.h"
#include "X86InstrBuilder.h"
#include "X86MachineFunctionInfo.h"
#include "X86RegisterInfo.h"
#include "X86Subtarget.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "fastpretileconfig"
 

Functions

 STATISTIC (NumStores, "Number of stores added")
 
 STATISTIC (NumLoads, "Number of loads added")
 
 INITIALIZE_PASS_BEGIN (X86FastPreTileConfig, DEBUG_TYPE, "Fast Tile Register Preconfigure", false, false) INITIALIZE_PASS_END(X86FastPreTileConfig
 
Fast Tile Register static false bool dominates (MachineBasicBlock &MBB, MachineBasicBlock::const_iterator A, MachineBasicBlock::const_iterator B)
 
static unsigned getTileDefNum (MachineRegisterInfo *MRI, Register Reg)
 
static bool isTileRegister (MachineRegisterInfo *MRI, Register VirtReg)
 
static bool isTileDef (MachineRegisterInfo *MRI, MachineInstr &MI)
 
static ShapeT getShape (MachineRegisterInfo *MRI, Register TileReg)
 
static bool isTileRegDef (MachineRegisterInfo *MRI, MachineInstr &MI)
 

Variables

 DEBUG_TYPE
 
Fast Tile Register Preconfigure
 
Fast Tile Register false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "fastpretileconfig"

Definition at line 36 of file X86FastPreTileConfig.cpp.

Function Documentation

◆ dominates()

Fast Tile Register static false bool dominates ( MachineBasicBlock MBB,
MachineBasicBlock::const_iterator  A,
MachineBasicBlock::const_iterator  B 
)
static

◆ getShape()

static ShapeT getShape ( MachineRegisterInfo MRI,
Register  TileReg 
)
static

Definition at line 302 of file X86FastPreTileConfig.cpp.

References assert(), getShape(), isTileDef(), llvm_unreachable, MI, and MRI.

Referenced by getShape().

◆ getTileDefNum()

static unsigned getTileDefNum ( MachineRegisterInfo MRI,
Register  Reg 
)
static

Definition at line 270 of file X86FastPreTileConfig.cpp.

References MRI.

Referenced by isTileDef(), and isTileRegister().

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( X86FastPreTileConfig  ,
DEBUG_TYPE  ,
"Fast Tile Register Preconfigure"  ,
false  ,
false   
)

◆ isTileDef()

static bool isTileDef ( MachineRegisterInfo MRI,
MachineInstr MI 
)
static

◆ isTileRegDef()

static bool isTileRegDef ( MachineRegisterInfo MRI,
MachineInstr MI 
)
static

◆ isTileRegister()

static bool isTileRegister ( MachineRegisterInfo MRI,
Register  VirtReg 
)
static

Definition at line 286 of file X86FastPreTileConfig.cpp.

References getTileDefNum(), and MRI.

Referenced by isTileRegDef().

◆ STATISTIC() [1/2]

STATISTIC ( NumLoads  ,
"Number of loads added"   
)

References MBB, MRI, TII, and TRI.

◆ STATISTIC() [2/2]

STATISTIC ( NumStores  ,
"Number of stores added"   
)

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 98 of file X86FastPreTileConfig.cpp.

◆ false

Fast Tile Register false

Definition at line 99 of file X86FastPreTileConfig.cpp.

◆ Preconfigure

Fast Tile Register Preconfigure

Definition at line 99 of file X86FastPreTileConfig.cpp.