LLVM: lib/Target/X86/X86LowerAMXType.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "x86-lower-amx-type"
Functions
static bool isAMXCast (Instruction *II)
static bool isAMXIntrinsic (Value *I)
static bool containsAMXCode (Function &F)
static AllocaInst * createAllocaInstAtEntry (IRBuilder<> &Builder, BasicBlock *BB, Type *Ty)
static Instruction * getFirstNonAllocaInTheEntryBlock (Function &F)
static Value * getRowFromCol (Instruction *II, Value *V, unsigned Granularity)
std::pair< Value *, Value * > getShape (IntrinsicInst *II, unsigned OpNo)
static std::pair< Value *, Value * > getShape (PHINode *Phi)
static Value * getAllocaPos (BasicBlock *BB)
static Instruction * createTileStore (Instruction *TileDef, Value *Ptr)
static void replaceWithTileLoad (Use &U, Value *Ptr, bool IsPHI=false)
static bool isIncomingOfPHI (Instruction *I)
INITIALIZE_PASS_BEGIN (X86LowerAMXTypeLegacyPass, DEBUG_TYPE, PassName, false, false) INITIALIZE_PASS_END(X86LowerAMXTypeLegacyPass

DEBUG_TYPE

#define DEBUG_TYPE "x86-lower-amx-type"

containsAMXCode()

createAllocaInstAtEntry()

createTileStore()

getAllocaPos()

getFirstNonAllocaInTheEntryBlock()

getRowFromCol()

getShape() [1/2]

getShape() [2/2]

INITIALIZE_PASS_BEGIN()

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

isAMXCast()

isAMXIntrinsic()

isIncomingOfPHI()

replaceWithTileLoad()

void replaceWithTileLoad ( Use & U, Value * Ptr, bool IsPHI = false ) static

DEBUG_TYPE

false

PassName

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