Searched refs:BitInit (Results 1 – 9 of 9) sorted by relevance
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()[all …]
1032 if (isa<BitInit>(MHS)) in ParseOperation()1039 if (isa<BitInit>(RHS)) in ParseOperation()1153 Bits[i] = BitInit::get(BinaryVal.first & (1LL << i)); in ParseSimpleValue()
427 class BitInit : public Init {430 explicit BitInit(bool V) : Init(IK_BitInit), Value(V) {} in BitInit() function431 BitInit(const BitInit &Other) = delete;432 BitInit &operator=(BitInit &Other) = delete;438 static BitInit *get(bool V);446 return const_cast<BitInit*>(this); in getBit()541 return BitInit::get((Value & (1ULL << Bit)) != 0); in getBit()
259 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
144 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()1893 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ? in populateInstruction()1894 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr; in populateInstruction()1972 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ? in populateInstruction()1973 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr; in populateInstruction()
519 if (BitInit *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
1028 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b))) in runMCDesc()
171 if (static_cast<BitInit*>(init.getBit(index))->getValue()) in byteFromBitsInit()
619 RV.setValue(BitInit::get(true)); in expand()