LLVM: include/llvm/Support/NativeFormatting.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9#ifndef LLVM_SUPPORT_NATIVEFORMATTING_H
10#define LLVM_SUPPORT_NATIVEFORMATTING_H
11
13#include
14#include
15
16namespace llvm {
24
26
28
41
43 std::optional<size_t> Width = std::nullopt);
45 std::optional<size_t> Precision = std::nullopt);
46}
47
48#endif
49
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
FloatStyle
Definition NativeFormatting.h:18
@ Fixed
Definition NativeFormatting.h:18
@ ExponentUpper
Definition NativeFormatting.h:18
@ Percent
Definition NativeFormatting.h:18
@ Exponent
Definition NativeFormatting.h:18
LLVM_ABI void write_integer(raw_ostream &S, unsigned int N, size_t MinDigits, IntegerStyle Style)
HexPrintStyle
Definition NativeFormatting.h:23
@ Upper
Definition NativeFormatting.h:23
@ PrefixUpper
Definition NativeFormatting.h:23
@ Lower
Definition NativeFormatting.h:23
@ PrefixLower
Definition NativeFormatting.h:23
LLVM_ABI size_t getDefaultPrecision(FloatStyle Style)
LLVM_ABI void write_hex(raw_ostream &S, uint64_t N, HexPrintStyle Style, std::optional< size_t > Width=std::nullopt)
LLVM_ABI void write_double(raw_ostream &S, double D, FloatStyle Style, std::optional< size_t > Precision=std::nullopt)
LLVM_ABI bool isPrefixedHexStyle(HexPrintStyle S)
IntegerStyle
Definition NativeFormatting.h:19
@ Integer
Definition NativeFormatting.h:20
@ Number
Definition NativeFormatting.h:21