LLVM  13.0.0git
Macros | Functions | Variables
X86LowerAMXType.cpp File Reference
#include "X86.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/IntrinsicsX86.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
Include dependency graph for X86LowerAMXType.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lower-amx-type"
 

Functions

static AllocaInstCreateAllocaInst (IRBuilder<> &Builder, BasicBlock *BB)
 
static std::pair< Value *, Value * > getShape (IntrinsicInst *II, unsigned OpNo)
 
static void combineLoadBitcast (LoadInst *LD, BitCastInst *Bitcast)
 
static void combineBitcastStore (BitCastInst *Bitcast, StoreInst *ST)
 
static bool transformBitcast (BitCastInst *Bitcast)
 
 INITIALIZE_PASS_BEGIN (X86LowerAMXTypeLegacyPass, DEBUG_TYPE, PassName, false, false) INITIALIZE_PASS_END(X86LowerAMXTypeLegacyPass
 

Variables

static const char PassName [] = "Lower AMX type for load/store"
 
 DEBUG_TYPE
 
 false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lower-amx-type"

Definition at line 40 of file X86LowerAMXType.cpp.

Function Documentation

◆ combineBitcastStore()

static void combineBitcastStore ( BitCastInst Bitcast,
StoreInst ST 
)
static

◆ combineLoadBitcast()

static void combineLoadBitcast ( LoadInst LD,
BitCastInst Bitcast 
)
static

◆ CreateAllocaInst()

static AllocaInst* CreateAllocaInst ( IRBuilder<> &  Builder,
BasicBlock BB 
)
static

◆ getShape()

static std::pair<Value *, Value *> getShape ( IntrinsicInst II,
unsigned  OpNo 
)
static

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( X86LowerAMXTypeLegacyPass  ,
DEBUG_TYPE  ,
PassName  ,
false  ,
false   
)

◆ transformBitcast()

static bool transformBitcast ( BitCastInst Bitcast)
static

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 350 of file X86LowerAMXType.cpp.

◆ false

false

Definition at line 350 of file X86LowerAMXType.cpp.

◆ PassName

PassName = "Lower AMX type for load/store"
static