Home
last modified time | relevance | path

Searched refs:BitInit (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp235 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 …]
DTGParser.cpp1032 if (isa<BitInit>(MHS)) in ParseOperation()
1039 if (isa<BitInit>(RHS)) in ParseOperation()
1153 Bits[i] = BitInit::get(BinaryVal.first & (1LL << i)); in ParseSimpleValue()
/external/llvm/include/llvm/TableGen/
DRecord.h427 class BitInit : public Init {
430 explicit BitInit(bool V) : Init(IK_BitInit), Value(V) {} in BitInit() function
431 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()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp259 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DFixedLenDecoderEmitter.cpp144 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()
DInstrInfoEmitter.cpp519 if (BitInit *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
DRegisterInfoEmitter.cpp1028 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b))) in runMCDesc()
DX86RecognizableInstr.cpp171 if (static_cast<BitInit*>(init.getBit(index))->getValue()) in byteFromBitsInit()
DCodeGenRegisters.cpp619 RV.setValue(BitInit::get(true)); in expand()