LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::HardwareLoopOptions Struct Reference

#include "llvm/CodeGen/HardwareLoops.h"

Public Member Functions

HardwareLoopOptionssetDecrement (unsigned Count)
 
HardwareLoopOptionssetCounterBitwidth (unsigned Width)
 
HardwareLoopOptionssetForce (bool Force)
 
HardwareLoopOptionssetForcePhi (bool Force)
 
HardwareLoopOptionssetForceNested (bool Force)
 
HardwareLoopOptionssetForceGuard (bool Force)
 
bool getForcePhi () const
 
bool getForceNested () const
 
bool getForceGuard () const
 

Public Attributes

std::optional< unsignedDecrement
 
std::optional< unsignedBitwidth
 
std::optional< boolForce
 
std::optional< boolForcePhi
 
std::optional< boolForceNested
 
std::optional< boolForceGuard
 

Detailed Description

Definition at line 21 of file HardwareLoops.h.

Member Function Documentation

◆ getForceGuard()

bool llvm::HardwareLoopOptions::getForceGuard ( ) const
inline

Definition at line 59 of file HardwareLoops.h.

References ForceGuard.

◆ getForceNested()

bool llvm::HardwareLoopOptions::getForceNested ( ) const
inline

Definition at line 56 of file HardwareLoops.h.

References ForceNested.

◆ getForcePhi()

bool llvm::HardwareLoopOptions::getForcePhi ( ) const
inline

Definition at line 53 of file HardwareLoops.h.

References ForcePhi.

◆ setCounterBitwidth()

HardwareLoopOptions & llvm::HardwareLoopOptions::setCounterBitwidth ( unsigned  Width)
inline

Definition at line 33 of file HardwareLoops.h.

References Bitwidth.

◆ setDecrement()

HardwareLoopOptions & llvm::HardwareLoopOptions::setDecrement ( unsigned  Count)
inline

Definition at line 29 of file HardwareLoops.h.

References Decrement.

◆ setForce()

HardwareLoopOptions & llvm::HardwareLoopOptions::setForce ( bool  Force)
inline

Definition at line 37 of file HardwareLoops.h.

References Force.

◆ setForceGuard()

HardwareLoopOptions & llvm::HardwareLoopOptions::setForceGuard ( bool  Force)
inline

Definition at line 49 of file HardwareLoops.h.

References Force, and ForceGuard.

◆ setForceNested()

HardwareLoopOptions & llvm::HardwareLoopOptions::setForceNested ( bool  Force)
inline

Definition at line 45 of file HardwareLoops.h.

References Force, and ForceNested.

◆ setForcePhi()

HardwareLoopOptions & llvm::HardwareLoopOptions::setForcePhi ( bool  Force)
inline

Definition at line 41 of file HardwareLoops.h.

References Force, and ForcePhi.

Member Data Documentation

◆ Bitwidth

std::optional<unsigned> llvm::HardwareLoopOptions::Bitwidth

Definition at line 23 of file HardwareLoops.h.

Referenced by setCounterBitwidth().

◆ Decrement

std::optional<unsigned> llvm::HardwareLoopOptions::Decrement

Definition at line 22 of file HardwareLoops.h.

Referenced by setDecrement().

◆ Force

std::optional<bool> llvm::HardwareLoopOptions::Force

Definition at line 24 of file HardwareLoops.h.

Referenced by setForce(), setForceGuard(), setForceNested(), and setForcePhi().

◆ ForceGuard

std::optional<bool> llvm::HardwareLoopOptions::ForceGuard

Definition at line 27 of file HardwareLoops.h.

Referenced by getForceGuard(), and setForceGuard().

◆ ForceNested

std::optional<bool> llvm::HardwareLoopOptions::ForceNested

Definition at line 26 of file HardwareLoops.h.

Referenced by getForceNested(), and setForceNested().

◆ ForcePhi

std::optional<bool> llvm::HardwareLoopOptions::ForcePhi

Definition at line 25 of file HardwareLoops.h.

Referenced by getForcePhi(), and setForcePhi().


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