|
LLVM 24.0.0git
|
#include "X86.h"#include "llvm/ADT/PostOrderIterator.h"#include "llvm/ADT/SetVector.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/TargetPassConfig.h"#include "llvm/CodeGen/ValueTypes.h"#include "llvm/IR/Analysis.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/PassManager.h"#include "llvm/IR/PatternMatch.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Transforms/Utils/AssumeBundleBuilder.h"#include "llvm/Transforms/Utils/Local.h"#include <map>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "x86-lower-amx-type" |
Variables | |
| static constexpr unsigned | ACENumTileRows = 16 |
| static constexpr unsigned | ACERowNumElts = 16 |
| static const char | PassName [] = "Lower AMX type for load/store" |
| DEBUG_TYPE | |
| false | |
| #define DEBUG_TYPE "x86-lower-amx-type" |
Definition at line 69 of file X86LowerAMXType.cpp.
Definition at line 95 of file X86LowerAMXType.cpp.
|
static |
Definition at line 352 of file X86LowerAMXType.cpp.
References ACENumTileRows, ACERowNumElts, E(), and llvm::FixedVectorType::get().
|
static |
Definition at line 152 of file X86LowerAMXType.cpp.
References DL, F, llvm::BasicBlock::getParent(), llvm::Type::getX86_AMXTy(), and llvm::AllocaInst::setAlignment().
|
static |
Definition at line 639 of file X86LowerAMXType.cpp.
References assert(), llvm::cast(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::Value::getType(), II, and llvm::Type::isX86_AMXTy().
|
static |
Definition at line 373 of file X86LowerAMXType.cpp.
References ACENumTileRows, llvm::cast(), E(), getType(), I, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
static |
Definition at line 624 of file X86LowerAMXType.cpp.
References DL, F, llvm::VectorType::get(), llvm::ilist_node_impl< OptionsT >::getIterator(), and llvm::BasicBlock::getParent().
|
static |
Definition at line 166 of file X86LowerAMXType.cpp.
References F, I, llvm::isa(), and llvm_unreachable.
Referenced by getRowFromCol().
|
static |
Definition at line 173 of file X86LowerAMXType.cpp.
References llvm::cast(), llvm::IRBuilderBase::CreateUDiv(), getFirstNonAllocaInTheEntryBlock(), llvm::IRBuilderBase::getInt16(), II, llvm::isa(), and V.
Referenced by getShape().
| std::pair< Value *, Value * > getShape | ( | IntrinsicInst * | II, |
| unsigned | OpNo ) |
Definition at line 206 of file X86LowerAMXType.cpp.
References assert(), getRowFromCol(), II, and llvm_unreachable.
|
static |
Definition at line 308 of file X86LowerAMXType.cpp.
References llvm::cast(), llvm::dyn_cast(), llvm::isa(), isAMXCast(), isAMXIntrinsic(), and V.
|
static |
Definition at line 341 of file X86LowerAMXType.cpp.
References isACEOnlyIntrinsic().
Definition at line 141 of file X86LowerAMXType.cpp.
References llvm::dyn_cast(), E(), I, isACEOnlyIntrinsic(), and PHI.
| INITIALIZE_PASS_BEGIN | ( | X86LowerAMXTypeLegacyPass | , |
| DEBUG_TYPE | , | ||
| PassName | , | ||
| false | , | ||
| false | ) |
References DEBUG_TYPE, INITIALIZE_PASS_DEPENDENCY, and PassName.
|
static |
Definition at line 106 of file X86LowerAMXType.cpp.
References llvm::dyn_cast(), I, and II.
Referenced by getTilezeroIntrinsic(), and hasACEIncomingValue().
|
static |
Definition at line 71 of file X86LowerAMXType.cpp.
References II, llvm::PatternMatch::m_Intrinsic(), llvm::PatternMatch::m_Value(), and llvm::PatternMatch::match().
Referenced by getTileConsumer(), and isAMXIntrinsic().
Definition at line 77 of file X86LowerAMXType.cpp.
References llvm::dyn_cast(), I, II, isAMXCast(), and V.
Referenced by getTileConsumer().
|
static |
Definition at line 682 of file X86LowerAMXType.cpp.
References I, llvm::isa(), and V.
Definition at line 657 of file X86LowerAMXType.cpp.
References assert(), llvm::cast(), II, llvm::User::replaceUsesOfWith(), and V.
|
staticconstexpr |
Definition at line 348 of file X86LowerAMXType.cpp.
Referenced by createACETileFromVector(), createVectorFromACETile(), emitACETileReload(), and emitACETileSpill().
|
staticconstexpr |
Definition at line 349 of file X86LowerAMXType.cpp.
Referenced by createACETileFromVector().
| DEBUG_TYPE |
Definition at line 1543 of file X86LowerAMXType.cpp.
| false |
Definition at line 1543 of file X86LowerAMXType.cpp.
Definition at line 1537 of file X86LowerAMXType.cpp.