LLVM  16.0.0git
Macros | Functions | Variables
X86LowerAMXIntrinsics.cpp File Reference
#include "X86.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetPassConfig.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 "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/LoopUtils.h"
Include dependency graph for X86LowerAMXIntrinsics.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lower-amx-intrinsics"
 

Functions

static bool isV256I32Ty (Type *Ty)
 
 INITIALIZE_PASS_BEGIN (X86LowerAMXIntrinsicsLegacyPass, DEBUG_TYPE, PassName, false, false) INITIALIZE_PASS_END(X86LowerAMXIntrinsicsLegacyPass
 

Variables

static cl::opt< bool > X86ScalarizeAMX ("enable-x86-scalar-amx", cl::init(false), cl::Hidden, cl::desc("X86: enable AMX scalarizition."))
 
static const char PassName [] = "Lower AMX intrinsics"
 
 DEBUG_TYPE
 
 false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lower-amx-intrinsics"

Definition at line 46 of file X86LowerAMXIntrinsics.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( X86LowerAMXIntrinsicsLegacyPass  ,
DEBUG_TYPE  ,
PassName  ,
false  ,
false   
)

◆ isV256I32Ty()

static bool isV256I32Ty ( Type Ty)
static

Definition at line 49 of file X86LowerAMXIntrinsics.cpp.

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 676 of file X86LowerAMXIntrinsics.cpp.

◆ false

false

Definition at line 677 of file X86LowerAMXIntrinsics.cpp.

◆ PassName

PassName = "Lower AMX intrinsics"
static

Definition at line 671 of file X86LowerAMXIntrinsics.cpp.

Referenced by llvm::PassInstrumentationCallbacks::addClassToPassName(), llvm::OptimizationRemarkEmitter::allowExtraAnalysis(), llvm::MachineOptimizationRemarkEmitter::allowExtraAnalysis(), llvm::callDefaultCtor(), checkParametrizedPassName(), createLVAnalysis(), llvm::emitInlinedInto(), llvm::emitInlinedIntoBasedOnCost(), llvm::PMDataManager::emitInstrCountChangedRemark(), getPassIDFromName(), getPassInfo(), getPassNameAndInstanceNum(), llvm::ChangeReporter< IRDataT< EmptyData > >::handleIRAfterPass(), llvm::DiagnosticHandler::isAnalysisRemarkEnabled(), llvm::DiagnosticHandler::isAnyRemarkEnabled(), llvm::DiagnosticHandler::isMissedOptRemarkEnabled(), llvm::DiagnosticHandler::isPassedOptRemarkEnabled(), llvm::isPassInPrintList(), LLVMRemarkEntryGetPassName(), mapRemarkHeader(), printPassName(), llvm::RequireAnalysisPass< AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &, CGSCCUpdateResult & >::printPipeline(), llvm::RequireAnalysisPass< AnalysisT, Loop, LoopAnalysisManager, LoopStandardAnalysisResults &, LPMUpdater & >::printPipeline(), llvm::PassInfoMixin< InvalidateAnalysisPass< AnalysisT > >::printPipeline(), llvm::RequireAnalysisPass< AnalysisT, IRUnitT, AnalysisManagerT, ExtraArgTs >::printPipeline(), llvm::InvalidateAnalysisPass< AnalysisT >::printPipeline(), llvm::OptPassGateInstrumentation::registerCallbacks(), llvm::DirectXTargetMachine::registerPassBuilderCallbacks(), llvm::AMDGPUTargetMachine::registerPassBuilderCallbacks(), llvm::NVPTXTargetMachine::registerPassBuilderCallbacks(), llvm::reportGISelFailure(), llvm::ChangeReporter< IRDataT< EmptyData > >::saveIRBeforePass(), llvm::OptPassGateInstrumentation::shouldRun(), llvm::OptBisect::shouldRunPass(), and writeJSON().

◆ X86ScalarizeAMX

cl::opt<bool> X86ScalarizeAMX("enable-x86-scalar-amx", cl::init(false), cl::Hidden, cl::desc("X86: enable AMX scalarizition."))
static