Home
last modified time | relevance | path

Searched refs:BitsRecTy (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp117 if (isa<BitRecTy>(Ty) || isa<BitsRecTy>(Ty) || isa<IntRecTy>(Ty)) in convertValue()
125 if(const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS)) in baseClassOf()
130 BitsRecTy *BitsRecTy::get(unsigned Sz) { in get()
131 static std::vector<BitsRecTy*> Shared; in get()
134 BitsRecTy *&Ty = Shared[Sz]; in get()
136 Ty = new BitsRecTy(Sz); in get()
140 std::string BitsRecTy::getAsString() const { in getAsString()
144 Init *BitsRecTy::convertValue(UnsetInit *UI) { in convertValue()
153 Init *BitsRecTy::convertValue(BitInit *UI) { in convertValue()
169 Init *BitsRecTy::convertValue(IntInit *II) { in convertValue()
[all …]
DTGParser.cpp111 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size())); in SetValue()
709 return BitsRecTy::get(Val); in ParseType()
1058 MHSTy = BitsRecTy::get(MHSbits->getNumBits()); in ParseOperation()
1065 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()
/external/llvm/include/llvm/TableGen/
DRecord.h33 class BitsRecTy; variable
179 class BitsRecTy : public RecTy {
181 explicit BitsRecTy(unsigned Sz) : RecTy(BitsRecTyKind), Size(Sz) {} in BitsRecTy() function
188 static BitsRecTy *get(unsigned Sz);
1100 (isa<BitsRecTy>(T->getType()) && in VarBitInit()
1101 cast<BitsRecTy>(T->getType())->getNumBits() > B)) && in VarBitInit()