LLVM 24.0.0git
llvm::FloatABI Namespace Reference

Enumerations

enum  ABIType { Default , Soft , Hard }

Functions

std::optional< ABITypeparseABIType (StringRef S)
 Parse the string spelling used by the "float-abi" IR module flag into an ABIType.
StringRef getABITypeName (ABIType ABI)
 Returns the string spelling used by the "float-abi" IR module flag for a Soft or Hard ABIType.

Enumeration Type Documentation

◆ ABIType

Enumerator
Default 
Soft 
Hard 

Definition at line 109 of file CodeGen.h.

Function Documentation

◆ getABITypeName()

StringRef llvm::FloatABI::getABITypeName ( ABIType ABI)
inline

Returns the string spelling used by the "float-abi" IR module flag for a Soft or Hard ABIType.

Default has no spelling.

Definition at line 127 of file CodeGen.h.

References Default, Hard, and Soft.

◆ parseABIType()

std::optional< ABIType > llvm::FloatABI::parseABIType ( StringRef S)
inline

Parse the string spelling used by the "float-abi" IR module flag into an ABIType.

Definition at line 117 of file CodeGen.h.

References Hard, and Soft.

Referenced by llvm::UpgradeModuleFlags().