LLVM 20.0.0git
Macros | Functions | Variables
MLxExpansionPass.cpp File Reference
#include "ARM.h"
#include "ARMBaseInstrInfo.h"
#include "ARMSubtarget.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mlx-expansion"
 

Functions

 STATISTIC (NumExpand, "Number of fp MLA / MLS instructions expanded")
 
static bool isFpMulInstruction (unsigned Opcode)
 

Variables

static cl::opt< boolForceExapnd ("expand-all-fp-mlx", cl::init(false), cl::Hidden)
 
static cl::opt< unsignedExpandLimit ("expand-limit", cl::init(~0U), cl::Hidden)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mlx-expansion"

Definition at line 29 of file MLxExpansionPass.cpp.

Function Documentation

◆ isFpMulInstruction()

static bool isFpMulInstruction ( unsigned  Opcode)
static

Definition at line 196 of file MLxExpansionPass.cpp.

◆ STATISTIC()

STATISTIC ( NumExpand  ,
"Number of fp MLA / MLS instructions expanded"   
)

Variable Documentation

◆ ExpandLimit

cl::opt< unsigned > ExpandLimit("expand-limit", cl::init(~0U), cl::Hidden) ( "expand-limit"  ,
cl::init(~0U)  ,
cl::Hidden   
)
static

◆ ForceExapnd

cl::opt< bool > ForceExapnd("expand-all-fp-mlx", cl::init(false), cl::Hidden) ( "expand-all-fp-mlx"  ,
cl::init(false)  ,
cl::Hidden   
)
static