HomeSort by relevance Sort by last modified time
    Searched refs:BitsRecTy (Results 1 - 3 of 3) sorted by null

  /external/llvm/lib/TableGen/
Record.cpp 105 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS))
110 BitsRecTy *BitsRecTy::get(unsigned Sz) {
111 static std::vector<std::unique_ptr<BitsRecTy>> Shared;
114 std::unique_ptr<BitsRecTy> &Ty = Shared[Sz];
116 Ty.reset(new BitsRecTy(Sz));
120 std::string BitsRecTy::getAsString() const {
124 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const {
126 return cast<BitsRecTy>(RHS)->Size == Size
    [all...]
TGParser.cpp 98 // assigning to a field of BitsRecTy, which must have a BitsInit
108 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size()));
690 return BitsRecTy::get(Val);
1031 MHSTy = BitsRecTy::get(MHSbits->getNumBits());
    [all...]
  /external/llvm/include/llvm/TableGen/
Record.h 98 /// BitsRecTy - 'bits<n>' - Represent a fixed number of bits
100 class BitsRecTy : public RecTy {
102 explicit BitsRecTy(unsigned Sz) : RecTy(BitsRecTyKind), Size(Sz) {}
109 static BitsRecTy *get(unsigned Sz);
452 /// BitsInit - { a, b, c } - Represents an initializer for a BitsRecTy value.
459 : TypedInit(IK_BitsInit, BitsRecTy::get(Range.size())),
886 (isa<BitsRecTy>(T->getType()) &&
887 cast<BitsRecTy>(T->getType())->getNumBits() > B)) &&
    [all...]

Completed in 41 milliseconds