Searched refs:BitsRecTy (Results 1 – 10 of 10) sorted by relevance
72 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS)) in typeIsConvertibleTo()77 BitsRecTy *BitsRecTy::get(unsigned Sz) { in get()78 static std::vector<BitsRecTy*> Shared; in get()81 BitsRecTy *&Ty = Shared[Sz]; in get()83 Ty = new(Allocator) BitsRecTy(Sz); in get()87 std::string BitsRecTy::getAsString() const { in getAsString()91 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()93 return cast<BitsRecTy>(RHS)->Size == Size; in typeIsConvertibleTo()98 bool BitsRecTy::typeIsA(const RecTy *RHS) const { in typeIsA()99 if (const BitsRecTy *RHSb = dyn_cast<BitsRecTy>(RHS)) in typeIsA()[all …]
190 Init *BI = V->getCastTo(BitsRecTy::get(BitList.size())); in SetValue()807 return BitsRecTy::get(Val); in ParseType()1405 MHSTy = BitsRecTy::get(MHSbits->getNumBits()); in ParseOperation()1412 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()1763 if (BitsRecTy *BitsRec = dyn_cast<BitsRecTy>(VI->getType())) { in ParseSimpleValue()
106 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS)) in typeIsConvertibleTo()111 BitsRecTy *BitsRecTy::get(unsigned Sz) { in get()112 static std::vector<std::unique_ptr<BitsRecTy>> Shared; in get()115 std::unique_ptr<BitsRecTy> &Ty = Shared[Sz]; in get()117 Ty.reset(new BitsRecTy(Sz)); in get()121 std::string BitsRecTy::getAsString() const { in getAsString()125 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()127 return cast<BitsRecTy>(RHS)->Size == Size; in typeIsConvertibleTo()220 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()247 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) { in convertInitializerTo()[all …]
107 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size())); in SetValue()685 return BitsRecTy::get(Val); in ParseType()1026 MHSTy = BitsRecTy::get(MHSbits->getNumBits()); in ParseOperation()1033 RHSTy = BitsRecTy::get(RHSbits->getNumBits()); in ParseOperation()1283 if (BitsRecTy *BitsRec = dyn_cast<BitsRecTy>(VI->getType())) { in ParseSimpleValue()
31 class BitsRecTy; variable118 virtual bool baseClassOf(const BitsRecTy *RHS) const { return false; } in baseClassOf()164 virtual bool baseClassOf(const BitsRecTy *RHS) const;178 class BitsRecTy : public RecTy {180 explicit BitsRecTy(unsigned Sz) : Size(Sz) {} in BitsRecTy() function182 static BitsRecTy *get(unsigned Sz);209 virtual bool baseClassOf(const BitsRecTy *RHS) const { in baseClassOf()254 virtual bool baseClassOf(const BitsRecTy *RHS) const { return true; } in baseClassOf()297 virtual bool baseClassOf(const BitsRecTy *RHS) const { return false; } in baseClassOf()343 virtual bool baseClassOf(const BitsRecTy *RHS) const { return false; } in baseClassOf()[all …]
97 bool BitRecTy::baseClassOf(const BitsRecTy *RHS) const { in baseClassOf()114 BitsRecTy *BitsRecTy::get(unsigned Sz) { in get()115 static std::vector<BitsRecTy*> Shared; in get()118 BitsRecTy *&Ty = Shared[Sz]; in get()120 Ty = new BitsRecTy(Sz); in get()124 std::string BitsRecTy::getAsString() const { in getAsString()128 Init *BitsRecTy::convertValue(UnsetInit *UI) { in convertValue()137 Init *BitsRecTy::convertValue(BitInit *UI) { in convertValue()153 Init *BitsRecTy::convertValue(IntInit *II) { in convertValue()167 Init *BitsRecTy::convertValue(BitsInit *BI) { in convertValue()[all …]
109 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size())); in SetValue()111 V->convertInitializerTo(BitsRecTy::get(BitList.size())); in SetValue()607 return BitsRecTy::get(Val); in ParseType()
155 } else if (BitsRecTy *BI = dyn_cast<BitsRecTy>(Field.RecType)) { in searchableFieldType()217 if (isa<BitsRecTy>(Field.RecType) || isa<IntRecTy>(Field.RecType)) { in compareBy()365 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction()
102 class BitsRecTy : public RecTy {104 explicit BitsRecTy(unsigned Sz) : RecTy(BitsRecTyKind), Size(Sz) {} in BitsRecTy() function111 static BitsRecTy *get(unsigned Sz);484 : TypedInit(IK_BitsInit, BitsRecTy::get(N)), NumBits(N) {} in BitsInit()963 (isa<BitsRecTy>(T->getType()) && in VarBitInit()964 cast<BitsRecTy>(T->getType())->getNumBits() > B)) && in VarBitInit()
119 class BitsRecTy : public RecTy {122 explicit BitsRecTy(unsigned Sz) : RecTy(BitsRecTyKind), Size(Sz) {} in BitsRecTy() function129 static BitsRecTy *get(unsigned Sz);518 : TypedInit(IK_BitsInit, BitsRecTy::get(N)), NumBits(N) {} in BitsInit()1031 (isa<BitsRecTy>(T->getType()) && in VarBitInit()1032 cast<BitsRecTy>(T->getType())->getNumBits() > B)) && in VarBitInit()