Lines Matching refs:BitInit
235 BitInit *BitInit::get(bool V) { in get()
236 static BitInit True(true); in get()
237 static BitInit False(false); in get()
242 Init *BitInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
244 return const_cast<BitInit *>(this); in convertInitializerTo()
252 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
303 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo()
421 return BitInit::get(Val != 0); in convertInitializerTo()
432 NewBits[i] = BitInit::get(Value & (1LL << i)); in convertInitializerTo()
448 NewBits[i] = BitInit::get(Value & (INT64_C(1) << Bits[i])); in convertInitializerBitRange()
1833 if (BitInit *BI = dyn_cast<BitInit>(R->getValue())) in getValueAsBit()
1850 if (BitInit *BI = dyn_cast<BitInit>(R->getValue())) in getValueAsBitOrUnset()