LLVM 24.0.0git
llvm::HexagonInstrInfo::Dependency Struct Reference

Kinds of dependence reported by srcDependence() and the global scheduler's dstDependence(). More...

#include "Target/Hexagon/HexagonInstrInfo.h"

Public Types

enum  Kind {
  Independent = 0x0 , RAW = 1 << 0 , WAR = 1 << 1 , WAW = 1 << 2 ,
  Dependent = RAW | WAR | WAW , SamePacketRAW = (1 << 3) | RAW , SamePacketWAR = (1 << 4) | WAR , SamePacket = SamePacketRAW | SamePacketWAR ,
  Unknown = 1 << 5 , Duplex = 1 << 6 , WAR_SameBundle = 1 << 7
}

Static Public Member Functions

static bool has (int Dep, Kind K)
static bool hasOnly (int Dep, Kind K)

Detailed Description

Kinds of dependence reported by srcDependence() and the global scheduler's dstDependence().

Definition at line 113 of file HexagonInstrInfo.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Independent 
RAW 
WAR 
WAW 
Dependent 
SamePacketRAW 
SamePacketWAR 
SamePacket 
Unknown 
Duplex 
WAR_SameBundle 

Definition at line 114 of file HexagonInstrInfo.h.

Member Function Documentation

◆ has()

bool llvm::HexagonInstrInfo::Dependency::has ( int Dep,
Kind K )
inlinestatic

Definition at line 134 of file HexagonInstrInfo.h.

References Independent.

◆ hasOnly()

bool llvm::HexagonInstrInfo::Dependency::hasOnly ( int Dep,
Kind K )
inlinestatic

Definition at line 139 of file HexagonInstrInfo.h.


The documentation for this struct was generated from the following file: