Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp62 std::vector<BitsRecTy *> SharedBitsRecTys;
127 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS)) in typeIsConvertibleTo()
132 BitsRecTy *BitsRecTy::get(RecordKeeper &RK, unsigned Sz) { in get()
142 std::string BitsRecTy::getAsString() const { in getAsString()
148 return cast<BitsRecTy>(RHS)->Size == Size; in typeIsConvertibleTo()
419 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
464 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
580 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()
2124 BitsRecTy *T = dyn_cast<BitsRecTy>(getType()); in convertInitializerBitRange()
2705 if (BitsRecTy *BTy = dyn_cast<BitsRecTy>(getType())) { in setValue()
[all …]
H A DTGParser.cpp259 Init *BI = V->getCastTo(BitsRecTy::get(Records, BitList.size())); in SetValue()
1126 return BitsRecTy::get(Records, Val); in ParseType()
1963 MHSTy = BitsRecTy::get(Records, MHSbits->getNumBits()); in ParseOperation()
1970 RHSTy = BitsRecTy::get(Records, RHSbits->getNumBits()); in ParseOperation()
2558 VTy = BitsRecTy::get(Records, Vbits->getNumBits()); in ParseOperationCond()
2731 if (BitsRecTy *BitsRec = dyn_cast<BitsRecTy>(VI->getType())) { in ParseSimpleValue()
3471 if (!BitList.empty() && isa<BitsRecTy>(Type)) { in ParseBodyItem()
3474 Type = BitsRecTy::get(Records, BitList.size()); in ParseBodyItem()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp163 } else if (BitsRecTy *BI = dyn_cast<BitsRecTy>(Field.RecType)) { in searchableFieldType()
229 if (isa<BitsRecTy>(Field.RecType) || isa<IntRecTy>(Field.RecType)) { in compareBy()
373 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h128 class BitsRecTy : public RecTy {
131 explicit BitsRecTy(RecordKeeper &RK, unsigned Sz) in BitsRecTy() function
139 static BitsRecTy *get(RecordKeeper &RK, unsigned Sz);
585 : TypedInit(IK_BitsInit, BitsRecTy::get(RK, N)), NumBits(N) {} in BitsInit()
1283 (isa<BitsRecTy>(T->getType()) && in VarBitInit()
1284 cast<BitsRecTy>(T->getType())->getNumBits() > B)) && in VarBitInit()