LLVM 24.0.0git
llvm::HardwareLoopOptions Struct Reference

#include "llvm/CodeGen/HardwareLoops.h"

Public Member Functions

HardwareLoopOptions & setDecrement (unsigned Count)
HardwareLoopOptions & setCounterBitwidth (unsigned Width)
HardwareLoopOptions & setForce (bool Force)
HardwareLoopOptions & setForcePhi (bool Force)
HardwareLoopOptions & setForceNested (bool Force)
HardwareLoopOptions & setForceGuard (bool Force)
bool getForcePhi () const
bool getForceNested () const
bool getForceGuard () const

Public Attributes

std::optional< unsigned > Decrement
std::optional< unsigned > Bitwidth
std::optional< bool > Force
std::optional< bool > ForcePhi
std::optional< bool > ForceNested
std::optional< bool > ForceGuard

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 llvm::Count, and 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: