Go to the documentation of this file.
35 Out <<
'.' << *Subminor;
48 if (next < '0' || next >
'9')
50 value = (unsigned)(next -
'0');
52 while (!
input.empty()) {
54 if (next < '0' || next >
'9')
57 value = value * 10 + (unsigned)(next -
'0');
64 unsigned major = 0, minor = 0, micro = 0,
build = 0;
This is an optimization pass for GlobalISel generic memory operations.
bool tryParse(StringRef string)
Try to parse the given string as a version number.
A raw_ostream that writes to an std::string.
unsigned getMajor() const
Retrieve the major version number.
This class implements an extremely fast bulk output stream that can only output to a stream.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)
Represents a version number in the form major[.minor[.subminor[.build]]].
The initial backend is deliberately restricted to z10 We should add support for later architectures at some point If an asm ties an i32 r result to an i64 input
Optional< unsigned > getSubminor() const
Retrieve the subminor version number, if provided.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Optional< unsigned > getMinor() const
Retrieve the minor version number, if provided.
Optional< unsigned > getBuild() const
Retrieve the build version number, if provided.
StringRef - Represent a constant reference to a string, i.e.
static bool parseInt(StringRef &input, unsigned &value)
std::string getAsString() const
Retrieve a string representation of the version number.
Error build(ArrayRef< Module * > Mods, SmallVector< char, 0 > &Symtab, StringTableBuilder &StrtabBuilder, BumpPtrAllocator &Alloc)
Fills in Symtab and StrtabBuilder with a valid symbol and string table for Mods.