LLVM API Documentation

Public Types | Public Member Functions | Public Attributes
llvm::HexagonSubtarget Class Reference

#include <HexagonSubtarget.h>

Inheritance diagram for llvm::HexagonSubtarget:
Inheritance graph
[legend]
Collaboration diagram for llvm::HexagonSubtarget:
Collaboration graph
[legend]

List of all members.

Public Types

enum  HexagonArchEnum {
  V1, V2, V3, V4,
  V5
}

Public Member Functions

 HexagonSubtarget (StringRef TT, StringRef CPU, StringRef FS)
const InstrItineraryDatagetInstrItineraryData () const
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
bool hasV2TOps () const
bool hasV2TOpsOnly () const
bool hasV3TOps () const
bool hasV3TOpsOnly () const
bool hasV4TOps () const
bool hasV4TOpsOnly () const
bool useMemOps () const
bool hasV5TOps () const
bool hasV5TOpsOnly () const
bool modeIEEERndNear () const
bool isSubtargetV2 () const
const std::string & getCPUString () const
unsigned getSmallDataThreshold () const
const HexagonArchEnumgetHexagonArchVersion () const

Public Attributes

HexagonArchEnum HexagonArchVersion
std::string CPUString
InstrItineraryData InstrItins

Detailed Description

Definition at line 29 of file HexagonSubtarget.h.


Member Enumeration Documentation

Enumerator:
V1 
V2 
V3 
V4 
V5 

Definition at line 35 of file HexagonSubtarget.h.


Constructor & Destructor Documentation

HexagonSubtarget::HexagonSubtarget ( StringRef  TT,
StringRef  CPU,
StringRef  FS 
)

Member Function Documentation

const std::string& llvm::HexagonSubtarget::getCPUString ( ) const [inline]

Definition at line 67 of file HexagonSubtarget.h.

References CPUString.

const HexagonArchEnum& llvm::HexagonSubtarget::getHexagonArchVersion ( ) const [inline]
const InstrItineraryData& llvm::HexagonSubtarget::getInstrItineraryData ( ) const [inline]

getInstrItins - Return the instruction itineraies based on subtarget selection.

Definition at line 48 of file HexagonSubtarget.h.

References InstrItins.

unsigned llvm::HexagonSubtarget::getSmallDataThreshold ( ) const [inline]

Definition at line 70 of file HexagonSubtarget.h.

References Hexagon_SMALL_DATA_THRESHOLD.

bool llvm::HexagonSubtarget::hasV2TOps ( ) const [inline]

Definition at line 55 of file HexagonSubtarget.h.

References HexagonArchVersion, and V2.

bool llvm::HexagonSubtarget::hasV2TOpsOnly ( ) const [inline]

Definition at line 56 of file HexagonSubtarget.h.

References HexagonArchVersion, and V2.

bool llvm::HexagonSubtarget::hasV3TOps ( ) const [inline]

Definition at line 57 of file HexagonSubtarget.h.

References HexagonArchVersion, and V3.

bool llvm::HexagonSubtarget::hasV3TOpsOnly ( ) const [inline]

Definition at line 58 of file HexagonSubtarget.h.

References HexagonArchVersion, and V3.

bool llvm::HexagonSubtarget::hasV4TOps ( ) const [inline]
bool llvm::HexagonSubtarget::hasV4TOpsOnly ( ) const [inline]

Definition at line 60 of file HexagonSubtarget.h.

References HexagonArchVersion, and V4.

bool llvm::HexagonSubtarget::hasV5TOps ( ) const [inline]
bool llvm::HexagonSubtarget::hasV5TOpsOnly ( ) const [inline]

Definition at line 63 of file HexagonSubtarget.h.

References HexagonArchVersion, and V5.

bool llvm::HexagonSubtarget::isSubtargetV2 ( ) const [inline]

Definition at line 66 of file HexagonSubtarget.h.

References HexagonArchVersion, and V2.

Referenced by llvm::HexagonTargetLowering::HexagonTargetLowering().

bool llvm::HexagonSubtarget::modeIEEERndNear ( ) const [inline]

Definition at line 64 of file HexagonSubtarget.h.

void llvm::HexagonSubtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  FS 
)

ParseSubtargetFeatures - Parses features string setting specified subtarget options. Definition of function is auto generated by tblgen.

Referenced by HexagonSubtarget().

bool llvm::HexagonSubtarget::useMemOps ( ) const [inline]

Definition at line 61 of file HexagonSubtarget.h.

References HexagonArchVersion, and V4.


Member Data Documentation

Definition at line 40 of file HexagonSubtarget.h.

Referenced by getCPUString(), and HexagonSubtarget().

Definition at line 41 of file HexagonSubtarget.h.

Referenced by getInstrItineraryData(), and HexagonSubtarget().


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