LLVM 19.0.0git
Public Member Functions | Static Public Attributes | Friends | List of all members
llvm::HexagonDAGToDAGISel Class Reference

#include "Target/Hexagon/HexagonISelDAGToDAG.h"

Inheritance diagram for llvm::HexagonDAGToDAGISel:
Inheritance graph
[legend]

Public Member Functions

 HexagonDAGToDAGISel ()=delete
 
 HexagonDAGToDAGISel (HexagonTargetMachine &tm, CodeGenOptLevel OptLevel)
 
bool runOnMachineFunction (MachineFunction &MF) override
 runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
 
bool ComplexPatternFuncMutatesDAG () const override
 Return true if complex patterns for this target can mutate the DAG.
 
void PreprocessISelDAG () override
 PreprocessISelDAG - This hook allows targets to hack on the graph before instruction selection starts.
 
void emitFunctionEntryCode () override
 
void Select (SDNode *N) override
 Main hook for targets to transform nodes into machine nodes.
 
bool SelectAddrGA (SDValue &N, SDValue &R)
 
bool SelectAddrGP (SDValue &N, SDValue &R)
 
bool SelectAnyImm (SDValue &N, SDValue &R)
 
bool SelectAnyInt (SDValue &N, SDValue &R)
 
bool SelectAnyImmediate (SDValue &N, SDValue &R, Align Alignment)
 
bool SelectGlobalAddress (SDValue &N, SDValue &R, bool UseGP, Align Alignment)
 
bool SelectAddrFI (SDValue &N, SDValue &R)
 
bool DetectUseSxtw (SDValue &N, SDValue &R)
 
bool SelectAnyImm0 (SDValue &N, SDValue &R)
 
bool SelectAnyImm1 (SDValue &N, SDValue &R)
 
bool SelectAnyImm2 (SDValue &N, SDValue &R)
 
bool SelectAnyImm3 (SDValue &N, SDValue &R)
 
MachineSDNodeLoadInstrForLoadIntrinsic (SDNode *IntN)
 
SDNodeStoreInstrForLoadIntrinsic (MachineSDNode *LoadN, SDNode *IntN)
 
void SelectFrameIndex (SDNode *N)
 
bool SelectInlineAsmMemoryOperand (const SDValue &Op, InlineAsm::ConstraintCode ConstraintID, std::vector< SDValue > &OutOps) override
 SelectInlineAsmMemoryOperand - Implement addressing mode selection for inline asm expressions.
 
bool tryLoadOfLoadIntrinsic (LoadSDNode *N)
 
bool SelectBrevLdIntrinsic (SDNode *IntN)
 
bool SelectNewCircIntrinsic (SDNode *IntN)
 Generate a machine instruction node for the new circular buffer intrinsics.
 
void SelectLoad (SDNode *N)
 
void SelectIndexedLoad (LoadSDNode *LD, const SDLoc &dl)
 
void SelectIndexedStore (StoreSDNode *ST, const SDLoc &dl)
 
void SelectStore (SDNode *N)
 
void SelectSHL (SDNode *N)
 
void SelectIntrinsicWChain (SDNode *N)
 
void SelectIntrinsicWOChain (SDNode *N)
 
void SelectExtractSubvector (SDNode *N)
 
void SelectConstant (SDNode *N)
 
void SelectConstantFP (SDNode *N)
 
void SelectV65Gather (SDNode *N)
 
void SelectV65GatherPred (SDNode *N)
 
void SelectHVXDualOutput (SDNode *N)
 
void SelectAddSubCarry (SDNode *N)
 
void SelectVAlign (SDNode *N)
 
void SelectVAlignAddr (SDNode *N)
 
void SelectTypecast (SDNode *N)
 
void SelectP2D (SDNode *N)
 
void SelectD2P (SDNode *N)
 
void SelectQ2V (SDNode *N)
 
void SelectV2Q (SDNode *N)
 
void SelectFDiv (SDNode *N)
 
void FDiv (SDNode *N)
 
void FastFDiv (SDNode *N)
 
- Public Member Functions inherited from llvm::SelectionDAGISel
 SelectionDAGISel (char &ID, TargetMachine &tm, CodeGenOptLevel OL=CodeGenOptLevel::Default)
 
 ~SelectionDAGISel () override
 
const TargetLoweringgetTargetLowering () const
 
void getAnalysisUsage (AnalysisUsage &AU) const override
 getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
 
bool runOnMachineFunction (MachineFunction &MF) override
 runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
 
virtual void emitFunctionEntryCode ()
 
virtual void PreprocessISelDAG ()
 PreprocessISelDAG - This hook allows targets to hack on the graph before instruction selection starts.
 
virtual void PostprocessISelDAG ()
 PostprocessISelDAG() - This hook allows the target to hack on the graph right after selection.
 
virtual void Select (SDNode *N)=0
 Main hook for targets to transform nodes into machine nodes.
 
virtual bool SelectInlineAsmMemoryOperand (const SDValue &Op, InlineAsm::ConstraintCode ConstraintID, std::vector< SDValue > &OutOps)
 SelectInlineAsmMemoryOperand - Select the specified address as a target addressing mode, according to the specified constraint.
 
virtual bool IsProfitableToFold (SDValue N, SDNode *U, SDNode *Root) const
 IsProfitableToFold - Returns true if it's profitable to fold the specific operand node N of U during instruction selection that starts at Root.
 
bool CheckAndMask (SDValue LHS, ConstantSDNode *RHS, int64_t DesiredMaskS) const
 CheckAndMask - The isel is trying to match something like (and X, 255).
 
bool CheckOrMask (SDValue LHS, ConstantSDNode *RHS, int64_t DesiredMaskS) const
 CheckOrMask - The isel is trying to match something like (or X, 255).
 
virtual bool CheckPatternPredicate (unsigned PredNo) const
 CheckPatternPredicate - This function is generated by tblgen in the target.
 
virtual bool CheckNodePredicate (SDNode *N, unsigned PredNo) const
 CheckNodePredicate - This function is generated by tblgen in the target.
 
virtual bool CheckNodePredicateWithOperands (SDNode *N, unsigned PredNo, const SmallVectorImpl< SDValue > &Operands) const
 CheckNodePredicateWithOperands - This function is generated by tblgen in the target.
 
virtual bool CheckComplexPattern (SDNode *Root, SDNode *Parent, SDValue N, unsigned PatternNo, SmallVectorImpl< std::pair< SDValue, SDNode * > > &Result)
 
virtual SDValue RunSDNodeXForm (SDValue V, unsigned XFormNo)
 
void SelectCodeCommon (SDNode *NodeToMatch, const unsigned char *MatcherTable, unsigned TableSize)
 
virtual bool ComplexPatternFuncMutatesDAG () const
 Return true if complex patterns for this target can mutate the DAG.
 
bool mayRaiseFPException (SDNode *Node) const
 Return whether the node may raise an FP exception.
 
bool isOrEquivalentToAdd (const SDNode *N) const
 
- Public Member Functions inherited from llvm::MachineFunctionPass
bool doInitialization (Module &) override
 doInitialization - Virtual method overridden by subclasses to do any necessary initialization before any pass is run.
 
- Public Member Functions inherited from llvm::FunctionPass
 FunctionPass (char &pid)
 
PasscreatePrinterPass (raw_ostream &OS, const std::string &Banner) const override
 createPrinterPass - Get a function printer pass.
 
virtual bool runOnFunction (Function &F)=0
 runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
 
void assignPassManager (PMStack &PMS, PassManagerType T) override
 Find appropriate Function Pass Manager or Call Graph Pass Manager in the PM Stack and add self into that manager.
 
PassManagerType getPotentialPassManagerType () const override
 Return what kind of Pass Manager can manage this pass.
 
- Public Member Functions inherited from llvm::Pass
 Pass (PassKind K, char &pid)
 
 Pass (const Pass &)=delete
 
Passoperator= (const Pass &)=delete
 
virtual ~Pass ()
 
PassKind getPassKind () const
 
virtual StringRef getPassName () const
 getPassName - Return a nice clean name for a pass.
 
AnalysisID getPassID () const
 getPassID - Return the PassID number that corresponds to this pass.
 
virtual bool doInitialization (Module &)
 doInitialization - Virtual method overridden by subclasses to do any necessary initialization before any pass is run.
 
virtual bool doFinalization (Module &)
 doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes have run.
 
virtual void print (raw_ostream &OS, const Module *M) const
 print - Print out the internal state of the pass.
 
void dump () const
 
virtual PasscreatePrinterPass (raw_ostream &OS, const std::string &Banner) const =0
 createPrinterPass - Get a Pass appropriate to print the IR this pass operates on (Module, Function or MachineFunction).
 
virtual void assignPassManager (PMStack &, PassManagerType)
 Each pass is responsible for assigning a pass manager to itself.
 
virtual void preparePassManager (PMStack &)
 Check if available pass managers are suitable for this pass or not.
 
virtual PassManagerType getPotentialPassManagerType () const
 Return what kind of Pass Manager can manage this pass.
 
void setResolver (AnalysisResolver *AR)
 
AnalysisResolvergetResolver () const
 
virtual void getAnalysisUsage (AnalysisUsage &) const
 getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job.
 
virtual void releaseMemory ()
 releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed.
 
virtual void * getAdjustedAnalysisPointer (AnalysisID ID)
 getAdjustedAnalysisPointer - This method is used when a pass implements an analysis interface through multiple inheritance.
 
virtual ImmutablePassgetAsImmutablePass ()
 
virtual PMDataManagergetAsPMDataManager ()
 
virtual void verifyAnalysis () const
 verifyAnalysis() - This member can be implemented by a analysis pass to check state of analysis information.
 
virtual void dumpPassStructure (unsigned Offset=0)
 
template<typename AnalysisType >
AnalysisType * getAnalysisIfAvailable () const
 getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to get analysis information that might be around, for example to update it.
 
bool mustPreserveAnalysisID (char &AID) const
 mustPreserveAnalysisID - This method serves the same function as getAnalysisIfAvailable, but works if you just have an AnalysisID.
 
template<typename AnalysisType >
AnalysisType & getAnalysis () const
 getAnalysis<AnalysisType>() - This function is used by subclasses to get to the analysis information that they claim to use by overriding the getAnalysisUsage function.
 
template<typename AnalysisType >
AnalysisType & getAnalysis (Function &F, bool *Changed=nullptr)
 getAnalysis<AnalysisType>() - This function is used by subclasses to get to the analysis information that they claim to use by overriding the getAnalysisUsage function.
 
template<typename AnalysisType >
AnalysisType & getAnalysisID (AnalysisID PI) const
 
template<typename AnalysisType >
AnalysisType & getAnalysisID (AnalysisID PI, Function &F, bool *Changed=nullptr)
 

Static Public Attributes

static char ID = 0
 

Friends

struct HvxSelector
 

Additional Inherited Members

- Public Types inherited from llvm::SelectionDAGISel
enum  BuiltinOpcodes {
  OPC_Scope , OPC_RecordNode , OPC_RecordChild0 , OPC_RecordChild1 ,
  OPC_RecordChild2 , OPC_RecordChild3 , OPC_RecordChild4 , OPC_RecordChild5 ,
  OPC_RecordChild6 , OPC_RecordChild7 , OPC_RecordMemRef , OPC_CaptureGlueInput ,
  OPC_MoveChild , OPC_MoveChild0 , OPC_MoveChild1 , OPC_MoveChild2 ,
  OPC_MoveChild3 , OPC_MoveChild4 , OPC_MoveChild5 , OPC_MoveChild6 ,
  OPC_MoveChild7 , OPC_MoveSibling , OPC_MoveSibling0 , OPC_MoveSibling1 ,
  OPC_MoveSibling2 , OPC_MoveSibling3 , OPC_MoveSibling4 , OPC_MoveSibling5 ,
  OPC_MoveSibling6 , OPC_MoveSibling7 , OPC_MoveParent , OPC_CheckSame ,
  OPC_CheckChild0Same , OPC_CheckChild1Same , OPC_CheckChild2Same , OPC_CheckChild3Same ,
  OPC_CheckPatternPredicate , OPC_CheckPatternPredicate0 , OPC_CheckPatternPredicate1 , OPC_CheckPatternPredicate2 ,
  OPC_CheckPatternPredicate3 , OPC_CheckPatternPredicate4 , OPC_CheckPatternPredicate5 , OPC_CheckPatternPredicate6 ,
  OPC_CheckPatternPredicate7 , OPC_CheckPatternPredicateTwoByte , OPC_CheckPredicate , OPC_CheckPredicate0 ,
  OPC_CheckPredicate1 , OPC_CheckPredicate2 , OPC_CheckPredicate3 , OPC_CheckPredicate4 ,
  OPC_CheckPredicate5 , OPC_CheckPredicate6 , OPC_CheckPredicate7 , OPC_CheckPredicateWithOperands ,
  OPC_CheckOpcode , OPC_SwitchOpcode , OPC_CheckType , OPC_CheckTypeI32 ,
  OPC_CheckTypeI64 , OPC_CheckTypeRes , OPC_SwitchType , OPC_CheckChild0Type ,
  OPC_CheckChild1Type , OPC_CheckChild2Type , OPC_CheckChild3Type , OPC_CheckChild4Type ,
  OPC_CheckChild5Type , OPC_CheckChild6Type , OPC_CheckChild7Type , OPC_CheckChild0TypeI32 ,
  OPC_CheckChild1TypeI32 , OPC_CheckChild2TypeI32 , OPC_CheckChild3TypeI32 , OPC_CheckChild4TypeI32 ,
  OPC_CheckChild5TypeI32 , OPC_CheckChild6TypeI32 , OPC_CheckChild7TypeI32 , OPC_CheckChild0TypeI64 ,
  OPC_CheckChild1TypeI64 , OPC_CheckChild2TypeI64 , OPC_CheckChild3TypeI64 , OPC_CheckChild4TypeI64 ,
  OPC_CheckChild5TypeI64 , OPC_CheckChild6TypeI64 , OPC_CheckChild7TypeI64 , OPC_CheckInteger ,
  OPC_CheckChild0Integer , OPC_CheckChild1Integer , OPC_CheckChild2Integer , OPC_CheckChild3Integer ,
  OPC_CheckChild4Integer , OPC_CheckCondCode , OPC_CheckChild2CondCode , OPC_CheckValueType ,
  OPC_CheckComplexPat , OPC_CheckComplexPat0 , OPC_CheckComplexPat1 , OPC_CheckComplexPat2 ,
  OPC_CheckComplexPat3 , OPC_CheckComplexPat4 , OPC_CheckComplexPat5 , OPC_CheckComplexPat6 ,
  OPC_CheckComplexPat7 , OPC_CheckAndImm , OPC_CheckOrImm , OPC_CheckImmAllOnesV ,
  OPC_CheckImmAllZerosV , OPC_CheckFoldableChainNode , OPC_EmitInteger , OPC_EmitInteger8 ,
  OPC_EmitInteger16 , OPC_EmitInteger32 , OPC_EmitInteger64 , OPC_EmitStringInteger ,
  OPC_EmitStringInteger32 , OPC_EmitRegister , OPC_EmitRegisterI32 , OPC_EmitRegisterI64 ,
  OPC_EmitRegister2 , OPC_EmitConvertToTarget , OPC_EmitConvertToTarget0 , OPC_EmitConvertToTarget1 ,
  OPC_EmitConvertToTarget2 , OPC_EmitConvertToTarget3 , OPC_EmitConvertToTarget4 , OPC_EmitConvertToTarget5 ,
  OPC_EmitConvertToTarget6 , OPC_EmitConvertToTarget7 , OPC_EmitMergeInputChains , OPC_EmitMergeInputChains1_0 ,
  OPC_EmitMergeInputChains1_1 , OPC_EmitMergeInputChains1_2 , OPC_EmitCopyToReg , OPC_EmitCopyToReg0 ,
  OPC_EmitCopyToReg1 , OPC_EmitCopyToReg2 , OPC_EmitCopyToReg3 , OPC_EmitCopyToReg4 ,
  OPC_EmitCopyToReg5 , OPC_EmitCopyToReg6 , OPC_EmitCopyToReg7 , OPC_EmitCopyToRegTwoByte ,
  OPC_EmitNodeXForm , OPC_EmitNode , OPC_EmitNode0 , OPC_EmitNode1 ,
  OPC_EmitNode2 , OPC_EmitNode0None , OPC_EmitNode1None , OPC_EmitNode2None ,
  OPC_EmitNode0Chain , OPC_EmitNode1Chain , OPC_EmitNode2Chain , OPC_MorphNodeTo ,
  OPC_MorphNodeTo0 , OPC_MorphNodeTo1 , OPC_MorphNodeTo2 , OPC_MorphNodeTo0None ,
  OPC_MorphNodeTo1None , OPC_MorphNodeTo2None , OPC_MorphNodeTo0Chain , OPC_MorphNodeTo1Chain ,
  OPC_MorphNodeTo2Chain , OPC_MorphNodeTo0GlueInput , OPC_MorphNodeTo1GlueInput , OPC_MorphNodeTo2GlueInput ,
  OPC_MorphNodeTo0GlueOutput , OPC_MorphNodeTo1GlueOutput , OPC_MorphNodeTo2GlueOutput , OPC_CompleteMatch ,
  OPC_Coverage
}
 
enum  {
  OPFL_None = 0 , OPFL_Chain = 1 , OPFL_GlueInput = 2 , OPFL_GlueOutput = 4 ,
  OPFL_MemRefs = 8 , OPFL_Variadic0 = 1<<4 , OPFL_Variadic1 = 2<<4 , OPFL_Variadic2 = 3<<4 ,
  OPFL_Variadic3 = 4<<4 , OPFL_Variadic4 = 5<<4 , OPFL_Variadic5 = 6<<4 , OPFL_Variadic6 = 7<<4 ,
  OPFL_VariadicInfo = OPFL_Variadic6
}
 
- Static Public Member Functions inherited from llvm::SelectionDAGISel
static bool IsLegalToFold (SDValue N, SDNode *U, SDNode *Root, CodeGenOptLevel OptLevel, bool IgnoreChains=false)
 IsLegalToFold - Returns true if the specific operand node N of U can be folded during instruction selection that starts at Root.
 
static void InvalidateNodeId (SDNode *N)
 
static int getUninvalidatedNodeId (SDNode *N)
 
static void EnforceNodeIdInvariant (SDNode *N)
 
static int getNumFixedFromVariadicInfo (unsigned Flags)
 getNumFixedFromVariadicInfo - Transform an EmitNode flags word into the number of fixed arity values that should be skipped when copying from the root.
 
- Static Public Member Functions inherited from llvm::Pass
static const PassInfolookupPassInfo (const void *TI)
 
static const PassInfolookupPassInfo (StringRef Arg)
 
static PasscreatePass (AnalysisID ID)
 
- Public Attributes inherited from llvm::SelectionDAGISel
TargetMachineTM
 
const TargetLibraryInfoLibInfo
 
std::unique_ptr< FunctionLoweringInfoFuncInfo
 
SwiftErrorValueTrackingSwiftError
 
MachineFunctionMF
 
MachineRegisterInfoRegInfo
 
SelectionDAGCurDAG
 
std::unique_ptr< SelectionDAGBuilderSDB
 
AAResultsAA = nullptr
 
AssumptionCacheAC = nullptr
 
GCFunctionInfoGFI = nullptr
 
CodeGenOptLevel OptLevel
 
const TargetInstrInfoTII
 
const TargetLoweringTLI
 
bool FastISelFailed
 
SmallPtrSet< const Instruction *, 4 > ElidedArgCopyInstrs
 
std::unique_ptr< OptimizationRemarkEmitterORE
 Current optimization remark emitter.
 
bool MatchFilterFuncName = false
 True if the function currently processing is in the function printing list (i.e.
 
- Protected Member Functions inherited from llvm::SelectionDAGISel
void ReplaceUses (SDValue F, SDValue T)
 ReplaceUses - replace all uses of the old node F with the use of the new node T.
 
void ReplaceUses (const SDValue *F, const SDValue *T, unsigned Num)
 ReplaceUses - replace all uses of the old nodes F with the use of the new nodes T.
 
void ReplaceUses (SDNode *F, SDNode *T)
 ReplaceUses - replace all uses of the old node F with the use of the new node T.
 
void ReplaceNode (SDNode *F, SDNode *T)
 Replace all uses of F with T, then remove F from the DAG.
 
void SelectInlineAsmMemoryOperands (std::vector< SDValue > &Ops, const SDLoc &DL)
 SelectInlineAsmMemoryOperands - Calls to this are automatically generated by tblgen.
 
virtual StringRef getPatternForIndex (unsigned index)
 getPatternForIndex - Patterns selected by tablegen during ISEL
 
virtual StringRef getIncludePathForIndex (unsigned index)
 getIncludePathForIndex - get the td source location of pattern instantiation
 
bool shouldOptForSize (const MachineFunction *MF) const
 
- Protected Member Functions inherited from llvm::MachineFunctionPass
 MachineFunctionPass (char &ID)
 
virtual bool runOnMachineFunction (MachineFunction &MF)=0
 runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
 
void getAnalysisUsage (AnalysisUsage &AU) const override
 getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
 
virtual MachineFunctionProperties getRequiredProperties () const
 
virtual MachineFunctionProperties getSetProperties () const
 
virtual MachineFunctionProperties getClearedProperties () const
 
- Protected Member Functions inherited from llvm::FunctionPass
bool skipFunction (const Function &F) const
 Optional passes call this function to check whether the pass should be skipped.
 
- Protected Attributes inherited from llvm::SelectionDAGISel
unsigned DAGSize = 0
 DAGSize - Size of DAG being instruction selected.
 

Detailed Description

Definition at line 28 of file HexagonISelDAGToDAG.h.

Constructor & Destructor Documentation

◆ HexagonDAGToDAGISel() [1/2]

llvm::HexagonDAGToDAGISel::HexagonDAGToDAGISel ( )
delete

◆ HexagonDAGToDAGISel() [2/2]

llvm::HexagonDAGToDAGISel::HexagonDAGToDAGISel ( HexagonTargetMachine tm,
CodeGenOptLevel  OptLevel 
)
inlineexplicit

Definition at line 37 of file HexagonISelDAGToDAG.h.

Member Function Documentation

◆ ComplexPatternFuncMutatesDAG()

bool llvm::HexagonDAGToDAGISel::ComplexPatternFuncMutatesDAG ( ) const
inlineoverridevirtual

Return true if complex patterns for this target can mutate the DAG.

Reimplemented from llvm::SelectionDAGISel.

Definition at line 52 of file HexagonISelDAGToDAG.h.

◆ DetectUseSxtw()

bool HexagonDAGToDAGISel::DetectUseSxtw ( SDValue N,
SDValue R 
)

◆ emitFunctionEntryCode()

void HexagonDAGToDAGISel::emitFunctionEntryCode ( )
overridevirtual

◆ FastFDiv()

void HexagonDAGToDAGISel::FastFDiv ( SDNode N)

◆ FDiv()

void HexagonDAGToDAGISel::FDiv ( SDNode N)

◆ LoadInstrForLoadIntrinsic()

MachineSDNode * HexagonDAGToDAGISel::LoadInstrForLoadIntrinsic ( SDNode IntN)

◆ PreprocessISelDAG()

void HexagonDAGToDAGISel::PreprocessISelDAG ( )
overridevirtual

PreprocessISelDAG - This hook allows targets to hack on the graph before instruction selection starts.

Reimplemented from llvm::SelectionDAGISel.

Definition at line 1351 of file HexagonISelDAGToDAG.cpp.

References llvm::SelectionDAG::allnodes(), llvm::SelectionDAG::allnodes_size(), llvm::SelectionDAGISel::CurDAG, llvm::dbgs(), DEBUG_WITH_TYPE, llvm::SelectionDAG::dump(), EnableAddressRebalancing, N, and llvm::HexagonSubtarget::useHVXOps().

◆ runOnMachineFunction()

bool llvm::HexagonDAGToDAGISel::runOnMachineFunction ( MachineFunction MF)
inlineoverridevirtual

runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.

Reimplemented from llvm::SelectionDAGISel.

Definition at line 42 of file HexagonISelDAGToDAG.h.

References llvm::HexagonSubtarget::getInstrInfo(), llvm::HexagonSubtarget::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::SelectionDAGISel::MF, and llvm::SelectionDAGISel::runOnMachineFunction().

◆ Select()

void HexagonDAGToDAGISel::Select ( SDNode N)
overridevirtual

◆ SelectAddrFI()

bool HexagonDAGToDAGISel::SelectAddrFI ( SDValue N,
SDValue R 
)

◆ SelectAddrGA()

bool HexagonDAGToDAGISel::SelectAddrGA ( SDValue N,
SDValue R 
)
inline

Definition at line 1461 of file HexagonISelDAGToDAG.cpp.

References N, and SelectGlobalAddress().

◆ SelectAddrGP()

bool HexagonDAGToDAGISel::SelectAddrGP ( SDValue N,
SDValue R 
)
inline

Definition at line 1465 of file HexagonISelDAGToDAG.cpp.

References N, and SelectGlobalAddress().

◆ SelectAddSubCarry()

void HexagonDAGToDAGISel::SelectAddSubCarry ( SDNode N)

◆ SelectAnyImm()

bool HexagonDAGToDAGISel::SelectAnyImm ( SDValue N,
SDValue R 
)
inline

Definition at line 1469 of file HexagonISelDAGToDAG.cpp.

References N, and SelectAnyImmediate().

◆ SelectAnyImm0()

bool HexagonDAGToDAGISel::SelectAnyImm0 ( SDValue N,
SDValue R 
)
inline

Definition at line 1473 of file HexagonISelDAGToDAG.cpp.

References N, and SelectAnyImmediate().

◆ SelectAnyImm1()

bool HexagonDAGToDAGISel::SelectAnyImm1 ( SDValue N,
SDValue R 
)
inline

Definition at line 1476 of file HexagonISelDAGToDAG.cpp.

References N, and SelectAnyImmediate().

◆ SelectAnyImm2()

bool HexagonDAGToDAGISel::SelectAnyImm2 ( SDValue N,
SDValue R 
)
inline

Definition at line 1479 of file HexagonISelDAGToDAG.cpp.

References N, and SelectAnyImmediate().

◆ SelectAnyImm3()

bool HexagonDAGToDAGISel::SelectAnyImm3 ( SDValue N,
SDValue R 
)
inline

Definition at line 1482 of file HexagonISelDAGToDAG.cpp.

References N, and SelectAnyImmediate().

◆ SelectAnyImmediate()

bool HexagonDAGToDAGISel::SelectAnyImmediate ( SDValue N,
SDValue R,
Align  Alignment 
)

◆ SelectAnyInt()

bool HexagonDAGToDAGISel::SelectAnyInt ( SDValue N,
SDValue R 
)
inline

◆ SelectBrevLdIntrinsic()

bool HexagonDAGToDAGISel::SelectBrevLdIntrinsic ( SDNode IntN)

◆ SelectConstant()

void HexagonDAGToDAGISel::SelectConstant ( SDNode N)

◆ SelectConstantFP()

void HexagonDAGToDAGISel::SelectConstantFP ( SDNode N)

◆ SelectD2P()

void HexagonDAGToDAGISel::SelectD2P ( SDNode N)

◆ SelectExtractSubvector()

void HexagonDAGToDAGISel::SelectExtractSubvector ( SDNode N)

◆ SelectFDiv()

void HexagonDAGToDAGISel::SelectFDiv ( SDNode N)

Definition at line 991 of file HexagonISelDAGToDAG.cpp.

References FastFDiv(), FDiv(), and N.

Referenced by Select().

◆ SelectFrameIndex()

void HexagonDAGToDAGISel::SelectFrameIndex ( SDNode N)

◆ SelectGlobalAddress()

bool HexagonDAGToDAGISel::SelectGlobalAddress ( SDValue N,
SDValue R,
bool  UseGP,
Align  Alignment 
)

◆ SelectHVXDualOutput()

void HexagonDAGToDAGISel::SelectHVXDualOutput ( SDNode N)

◆ SelectIndexedLoad()

void HexagonDAGToDAGISel::SelectIndexedLoad ( LoadSDNode LD,
const SDLoc dl 
)

◆ SelectIndexedStore()

void HexagonDAGToDAGISel::SelectIndexedStore ( StoreSDNode ST,
const SDLoc dl 
)

◆ SelectInlineAsmMemoryOperand()

bool HexagonDAGToDAGISel::SelectInlineAsmMemoryOperand ( const SDValue Op,
InlineAsm::ConstraintCode  ConstraintID,
std::vector< SDValue > &  OutOps 
)
overridevirtual

SelectInlineAsmMemoryOperand - Implement addressing mode selection for inline asm expressions.

Reimplemented from llvm::SelectionDAGISel.

Definition at line 1051 of file HexagonISelDAGToDAG.cpp.

References llvm::SelectionDAGISel::CurDAG, llvm::SelectionDAG::getTargetConstant(), llvm::InlineAsm::m, llvm::InlineAsm::o, SelectAddrFI(), and llvm::InlineAsm::v.

◆ SelectIntrinsicWChain()

void HexagonDAGToDAGISel::SelectIntrinsicWChain ( SDNode N)

◆ SelectIntrinsicWOChain()

void HexagonDAGToDAGISel::SelectIntrinsicWOChain ( SDNode N)

◆ SelectLoad()

void HexagonDAGToDAGISel::SelectLoad ( SDNode N)

Definition at line 450 of file HexagonISelDAGToDAG.cpp.

References N, SelectIndexedLoad(), tryLoadOfLoadIntrinsic(), and llvm::ISD::UNINDEXED.

Referenced by Select().

◆ SelectNewCircIntrinsic()

bool HexagonDAGToDAGISel::SelectNewCircIntrinsic ( SDNode IntN)

◆ SelectP2D()

void HexagonDAGToDAGISel::SelectP2D ( SDNode N)

◆ SelectQ2V()

void HexagonDAGToDAGISel::SelectQ2V ( SDNode N)

◆ SelectSHL()

void HexagonDAGToDAGISel::SelectSHL ( SDNode N)

◆ SelectStore()

void HexagonDAGToDAGISel::SelectStore ( SDNode N)

Definition at line 559 of file HexagonISelDAGToDAG.cpp.

References N, SelectIndexedStore(), and llvm::ISD::UNINDEXED.

Referenced by Select(), and StoreInstrForLoadIntrinsic().

◆ SelectTypecast()

void HexagonDAGToDAGISel::SelectTypecast ( SDNode N)

◆ SelectV2Q()

void HexagonDAGToDAGISel::SelectV2Q ( SDNode N)

◆ SelectV65Gather()

void HexagonDAGToDAGISel::SelectV65Gather ( SDNode N)

◆ SelectV65GatherPred()

void HexagonDAGToDAGISel::SelectV65GatherPred ( SDNode N)

◆ SelectVAlign()

void HexagonDAGToDAGISel::SelectVAlign ( SDNode N)

◆ SelectVAlignAddr()

void HexagonDAGToDAGISel::SelectVAlignAddr ( SDNode N)

◆ StoreInstrForLoadIntrinsic()

SDNode * HexagonDAGToDAGISel::StoreInstrForLoadIntrinsic ( MachineSDNode LoadN,
SDNode IntN 
)

◆ tryLoadOfLoadIntrinsic()

bool HexagonDAGToDAGISel::tryLoadOfLoadIntrinsic ( LoadSDNode N)

Friends And Related Function Documentation

◆ HvxSelector

friend struct HvxSelector
friend

Definition at line 125 of file HexagonISelDAGToDAG.h.

Member Data Documentation

◆ ID

char HexagonDAGToDAGISel::ID = 0
static

Definition at line 33 of file HexagonISelDAGToDAG.h.


The documentation for this class was generated from the following files: