LLVM 19.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/InitializePasses.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 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 37 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 291 of file X86FastPreTileConfig.cpp.

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

Referenced by getShape().

◆ INITIALIZE_PASS_BEGIN()

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

◆ isTileDef()

static bool isTileDef ( MachineRegisterInfo MRI,
MachineInstr MI 
)
static

Definition at line 271 of file X86FastPreTileConfig.cpp.

References llvm::MachineOperand::getReg(), llvm::MachineOperand::isReg(), MI, and MRI.

Referenced by getShape().

◆ isTileRegDef()

static bool isTileRegDef ( MachineRegisterInfo MRI,
MachineInstr MI 
)
static

◆ 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 99 of file X86FastPreTileConfig.cpp.

◆ false

Fast Tile Register false

Definition at line 100 of file X86FastPreTileConfig.cpp.

◆ Preconfigure

Fast Tile Register Preconfigure

Definition at line 100 of file X86FastPreTileConfig.cpp.