Lines Matching defs:Bit
110 return Error(Loc, "Initializer is not compatible with bit range");
119 unsigned Bit = BitList[i];
120 if (NewBits[Bit])
121 return Error(Loc, "Cannot set bit #" + Twine(Bit) + " of value '" +
123 NewBits[Bit] = BInit->getBit(i);
136 InitType = (Twine("' of type bit initializer with length ") +
544 /// ParseRangePiece - Parse a bit/value range.
630 /// ParseOptionalBitList - Parse either a bit list in {}'s or nothing.
645 TokError("expected '}' at end of bit list");
657 /// Type ::= BIT // bit type
669 case tgtok::Bit: Lex.Lex(); return BitRecTy::get();
1266 TokError("expected '}' at end of bit list value");
1273 // As we parse { a, b, ... }, 'a' is the highest bit, but we parse it
1293 // Fallthrough to try convert this to a bit.
1295 // All other values must be convertible to just a single bit.
1296 Init *Bit = Vals[i]->convertInitializerTo(BitRecTy::get());
1297 if (!Bit) {
1299 ") is not convertable to a bit");
1302 NewBits.push_back(Bit);
1490 Error(CurlyLoc, "Invalid bit range for value");
1496 TokError("expected '}' at end of bit range list");
1797 TokError("expected '}' at end of bit range list");