LLVM 20.0.0git
Macros | Functions | Variables
X86LowerAMXIntrinsics.cpp File Reference
#include "X86.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"

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< boolX86ScalarizeAMX ("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 45 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 48 of file X86LowerAMXIntrinsics.cpp.

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 673 of file X86LowerAMXIntrinsics.cpp.

◆ false

false

Definition at line 674 of file X86LowerAMXIntrinsics.cpp.

◆ PassName

PassName = "Lower AMX intrinsics"
static

Definition at line 668 of file X86LowerAMXIntrinsics.cpp.

Referenced by llvm::PassInstrumentationCallbacks::addClassToPassName(), llvm::OptimizationRemarkEmitter::allowExtraAnalysis(), llvm::MachineOptimizationRemarkEmitter::allowExtraAnalysis(), llvm::callDefaultCtor(), llvm::PassBuilder::checkParametrizedPassName(), llvm::emitInlinedInto(), llvm::emitInlinedIntoBasedOnCost(), llvm::PMDataManager::emitInstrCountChangedRemark(), getPassIDFromName(), getPassInfo(), getPassNameAndInstanceNum(), llvm::ChangeReporter< IRUnitT >::handleIRAfterPass(), llvm::DiagnosticHandler::isAnalysisRemarkEnabled(), llvm::DiagnosticHandler::isAnyRemarkEnabled(), llvm::DiagnosticHandler::isMissedOptRemarkEnabled(), llvm::DiagnosticHandler::isPassedOptRemarkEnabled(), llvm::isPassInPrintList(), LLVMRemarkEntryGetPassName(), mapRemarkHeader(), llvm::PassBuilder::parseSinglePassOption(), printPassName(), llvm::RequireAnalysisPass< AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &, CGSCCUpdateResult & >::printPipeline(), llvm::PassInfoMixin< DerivedT >::printPipeline(), llvm::RequireAnalysisPass< AnalysisT, IRUnitT, AnalysisManagerT, ExtraArgTs >::printPipeline(), llvm::InvalidateAnalysisPass< AnalysisT >::printPipeline(), llvm::RequireAnalysisPass< AnalysisT, Loop, LoopAnalysisManager, LoopStandardAnalysisResults &, LPMUpdater & >::printPipeline(), llvm::OptPassGateInstrumentation::registerCallbacks(), llvm::reportGISelFailure(), llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::run(), runNewPMPasses(), llvm::ChangeReporter< IRUnitT >::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.")) ( "enable-x86-scalar-amx"  ,
cl::init(false)  ,
cl::Hidden  ,
cl::desc("X86: enable AMX scalarizition.")   
)
static