LLVM 22.0.0git
NativeFormatting.h File Reference
#include "llvm/Support/Compiler.h"
#include <cstdint>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Enumerations

enum class  llvm::FloatStyle { llvm::Exponent , llvm::ExponentUpper , llvm::Fixed , llvm::Percent }
enum class  llvm::IntegerStyle { llvm::Integer , llvm::Number }
enum class  llvm::HexPrintStyle { llvm::Upper , llvm::Lower , llvm::PrefixUpper , llvm::PrefixLower }

Functions

LLVM_ABI size_t llvm::getDefaultPrecision (FloatStyle Style)
LLVM_ABI bool llvm::isPrefixedHexStyle (HexPrintStyle S)
LLVM_ABI void llvm::write_integer (raw_ostream &S, unsigned int N, size_t MinDigits, IntegerStyle Style)
LLVM_ABI void llvm::write_integer (raw_ostream &S, int N, size_t MinDigits, IntegerStyle Style)
LLVM_ABI void llvm::write_integer (raw_ostream &S, unsigned long N, size_t MinDigits, IntegerStyle Style)
LLVM_ABI void llvm::write_integer (raw_ostream &S, long N, size_t MinDigits, IntegerStyle Style)
LLVM_ABI void llvm::write_integer (raw_ostream &S, unsigned long long N, size_t MinDigits, IntegerStyle Style)
LLVM_ABI void llvm::write_integer (raw_ostream &S, long long N, size_t MinDigits, IntegerStyle Style)
LLVM_ABI void llvm::write_hex (raw_ostream &S, uint64_t N, HexPrintStyle Style, std::optional< size_t > Width=std::nullopt)
LLVM_ABI void llvm::write_double (raw_ostream &S, double D, FloatStyle Style, std::optional< size_t > Precision=std::nullopt)