HomeSort by: relevance | last modified time | path
    Searched refs:Radix (Results 1 - 21 of 21) sorted by relevancy

  /src/external/gpl3/gcc/dist/contrib/
paranoia.cc 68 B Radix [Failure] T0 Underflow
952 FLOAT Radix, BInvrse, RadixD2, BMinusU2;
1065 Radix = 1;
1108 printf ("Searching for Radix and Precision.\n");
1123 Radix = W + Y;
1125 Radix = Radix - W;
1127 while (Radix == Zero);
1128 if (Radix < Two)
1129 Radix = One
    [all...]
  /src/external/gpl3/gcc.old/dist/contrib/
paranoia.cc 68 B Radix [Failure] T0 Underflow
952 FLOAT Radix, BInvrse, RadixD2, BMinusU2;
1065 Radix = 1;
1108 printf ("Searching for Radix and Precision.\n");
1123 Radix = W + Y;
1125 Radix = Radix - W;
1127 while (Radix == Zero);
1128 if (Radix < Two)
1129 Radix = One
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
StringRef.cpp 410 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix,
412 // Autosense radix if not specified.
413 if (Radix == 0)
414 Radix = GetAutoSenseRadix(Str);
416 // Empty strings (after the radix autosense) are invalid.
419 // Parse all the bytes of the string given this radix. Watch for overflow.
433 // If the parsed value is larger than the integer radix, we cannot
435 if (CharVal >= Radix)
440 Result = Result * Radix + CharVal;
443 if (Result / Radix < PrevResult
    [all...]
APInt.cpp 50 inline static unsigned getDigit(char cdigit, uint8_t radix) {
53 if (radix == 16 || radix == 36) {
59 if (r <= radix - 11U)
63 if (r <= radix - 11U)
66 radix = 10;
70 if (r < radix)
118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix)
121 fromString(numbits, Str, radix);
488 unsigned APInt::getBitsNeeded(StringRef str, uint8_t radix) {
    [all...]
APFloat.cpp 1056 // radix point: two for the multiplication, and an overflow bit for the
1057 // addition (that will always be zero at this point). Move the radix point
1117 // having "precision" significant-bits. First, move the radix point from
1122 // In case MSB resides at the left-hand side of radix point, shift the
1124 // the radix point (i.e. "MSB . rest-significant-bits").
2862 // Determine the payload number's radix.
2863 unsigned Radix = 10;
2867 Radix = 16;
2869 Radix = 8;
2874 if (!str.getAsInteger(Radix, Payload))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
AsmLexer.cpp 302 static std::string radixName(unsigned Radix) {
303 switch (Radix) {
313 return "base-" + std::to_string(Radix);
372 unsigned Radix = 0;
376 Radix = 16;
380 Radix = 10;
385 Radix = 8;
389 Radix = 2;
393 Radix = 10;
397 Radix = 2
    [all...]
MasmParser.cpp 998 // ".radix"
6492 DirectiveKindMap[".radix"] = DK_RADIX;
6873 unsigned Radix;
6874 if (RadixString.getAsInteger(10, Radix)) {
6876 "radix must be a decimal number in the range 2 to 16; was " +
6879 if (Radix < 2 || Radix > 16)
6880 return Error(Loc, "radix must be in the range 2 to 16; was " +
6881 std::to_string(Radix));
6882 getLexer().setMasmDefaultRadix(Radix);
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-strings/
llvm-strings.cpp 48 enum radix { none, octal, hexadecimal, decimal }; enum
49 static cl::opt<radix>
50 Radix("radix", cl::desc("print the offset within the file"),
55 static cl::alias RadixShort("t", cl::desc(""), cl::aliasopt(Radix));
66 switch (Radix) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
StringRef.h 41 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
44 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
46 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix,
48 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result);
498 /// Parse the current string as an integer of the specified radix. If
499 /// \p Radix is specified as zero, this does radix autosensing using
507 getAsInteger(unsigned Radix, T &Result) const {
509 if (getAsSignedInteger(*this, Radix, LLVal) ||
518 getAsInteger(unsigned Radix, T &Result) const
    [all...]
APSInt.h 38 /// This constructor interprets the string \p Str using the radix of 10.
82 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
83 APInt::toString(Str, Radix, isSigned());
87 std::string toString(unsigned Radix) const {
88 return APInt::toString(Radix, isSigned());
APInt.h 174 /// \param radix 2, 8, 10, 16, or 36
184 void fromString(unsigned numBits, StringRef str, uint8_t radix);
188 /// This is used by the toString method to divide by the radix. It simply
309 /// This constructor interprets the string \p str in the given radix. The
311 /// radix is encountered, or the end of the string. Acceptable radix values
317 /// \param radix the radix to use for the conversion
318 APInt(unsigned numBits, StringRef str, uint8_t radix);
1654 static unsigned getBitsNeeded(StringRef str, uint8_t radix);
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h 160 /// Set whether to lex masm-style binary (e.g., 0b1101) and radix-specified
164 /// Set whether to use masm-style default-radix integer literals. If disabled,
169 void setMasmDefaultRadix(unsigned Radix) { DefaultRadix = Radix; }
  /src/external/apache2/llvm/dist/llvm/tools/llvm-size/
llvm-size.cpp 78 static cl::opt<RadixTy> Radix(
79 "radix", cl::desc("Print size in radix"), cl::init(decimal),
86 cl::desc("Print size in radix:"),
161 /// Get the length of the string that represents @p num in Radix including the
166 conv.toString(result, Radix, false, true);
170 /// Return the printing format for the Radix.
172 switch (Radix) {
221 if (Radix == hexadecimal)
365 /// The format used is determined by @c OutputFormat and @c Radix
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-nm/
llvm-nm.cpp 179 enum Radix { d, o, x };
180 cl::opt<Radix>
181 AddressRadix("radix", cl::desc("Radix (o/d/x) for printing symbol Values"),
185 cl::alias RadixAlias("t", cl::desc("Alias for --radix"),
794 case Radix::o:
797 case Radix::x:
807 case Radix::o:
810 case Radix::x:
  /src/external/apache2/llvm/dist/clang/lib/Lex/
LiteralSupport.cpp 560 if (*s == '0') { // parse radix
565 radix = 10;
782 /// parsing. If it detects a floating point number, the radix is set to 10.
784 assert((radix == 8 || radix == 10) && "Unexpected radix");
793 << StringRef(s, 1) << (radix == 8 ? 1 : 0);
801 radix = 10;
810 radix = 10;
879 /// radix etc
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Constants.h 121 /// radix.
122 static ConstantInt *get(IntegerType *Ty, StringRef Str, uint8_t Radix);
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 888 LLVMValueRef llvm_const_int_of_string(LLVMTypeRef IntTy, value S, value Radix) {
890 caml_string_length(S), Int_val(Radix));
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
Core.h 1954 uint8_t Radix);
1963 unsigned SLen, uint8_t Radix);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Core.cpp 1366 uint8_t Radix) {
1368 Radix));
1372 unsigned SLen, uint8_t Radix) {
1374 Radix));
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Expr.h 1563 std::string getValueAsString(unsigned Radix) const;
  /src/external/apache2/llvm/dist/clang/lib/AST/
Expr.cpp 861 std::string FixedPointLiteral::getValueAsString(unsigned Radix) const {

Completed in 57 milliseconds