Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DX86EVEX2VEXTablesEmitter.cpp77 if (BitInit *Bit1 = dyn_cast<BitInit>(B1->getBit(i))) { in equalBitsInits()
78 if (BitInit *Bit2 = dyn_cast<BitInit>(B2->getBit(i))) { in equalBitsInits()
93 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i))) in getValueFromBitsInit()
DX86FoldTablesEmitter.cpp194 BitInit *Bit = cast<BitInit>(B->getBit(i)); in getValueFromBitsInit()
206 BitInit *Bit1 = cast<BitInit>(B1->getBit(i)); in equalBitsInits()
207 BitInit *Bit2 = cast<BitInit>(B2->getBit(i)); in equalBitsInits()
DCodeEmitterGen.cpp264 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DFixedLenDecoderEmitter.cpp158 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()
1922 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ? in populateInstruction()
1923 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr; in populateInstruction()
1981 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ? in populateInstruction()
1982 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr; in populateInstruction()
DSearchableTableEmitter.cpp115 else if (BitInit *BI = dyn_cast<BitInit>(I)) in primaryRepresentation()
DInstrInfoEmitter.cpp614 if (const auto *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
DRegisterInfoEmitter.cpp1064 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b))) in runMCDesc()
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h42 class BitInit; variable
88 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
142 virtual Init *convertValue( BitInit *BI) { return (Init*)BI; } in convertValue()
187 virtual Init *convertValue( BitInit *UI);
231 virtual Init *convertValue( BitInit *BI);
273 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
320 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
363 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
403 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
449 virtual Init *convertValue( BitInit *BI) { return 0; } in convertValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DRecord.cpp305 BitInit *BitInit::get(bool V) { in get()
306 static BitInit True(true); in get()
307 static BitInit False(false); in get()
312 Init *BitInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
314 return const_cast<BitInit *>(this); in convertInitializerTo()
322 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
375 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo()
479 return BitInit::get(Val != 0); in convertInitializerTo()
490 NewBits[i] = BitInit::get(Value & (1LL << i)); in convertInitializerTo()
506 NewBits[i] = BitInit::get(Value & (INT64_C(1) << Bits[i])); in convertInitializerBitRange()
[all …]
DJSONBackend.cpp52 } else if (auto *Bit = dyn_cast<BitInit>(&I)) { in translateInit()
/external/llvm/lib/TableGen/
DRecord.cpp233 BitInit *BitInit::get(bool V) { in get()
234 static BitInit True(true); in get()
235 static BitInit False(false); in get()
240 Init *BitInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
242 return const_cast<BitInit *>(this); in convertInitializerTo()
250 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
304 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo()
420 return BitInit::get(Val != 0); in convertInitializerTo()
431 NewBits[i] = BitInit::get(Value & (1LL << i)); in convertInitializerTo()
447 NewBits[i] = BitInit::get(Value & (INT64_C(1) << Bits[i])); in convertInitializerBitRange()
[all …]
DTGParser.cpp1027 if (isa<BitInit>(MHS)) in ParseOperation()
1034 if (isa<BitInit>(RHS)) in ParseOperation()
1148 Bits[i] = BitInit::get(BinaryVal.first & (1LL << i)); in ParseSimpleValue()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp105 return BitInit::get(Val != 0); in convertValue()
137 Init *BitsRecTy::convertValue(BitInit *UI) { in convertValue()
162 NewBits[i] = BitInit::get(Value & (1LL << i)); in convertValue()
234 Init *IntRecTy::convertValue(BitInit *BI) { in convertValue()
241 if (BitInit *Bit = dynamic_cast<BitInit*>(BI->getBit(i))) { in convertValue()
454 BitInit *BitInit::get(bool V) { in get()
455 static BitInit True(true); in get()
456 static BitInit False(false); in get()
563 NewBits[i] = BitInit::get(Value & (INT64_C(1) << Bits[i])); in convertInitializerBitRange()
1508 if (dynamic_cast<BitInit*>(B)) // If the bit is set. in resolveBitReference()
[all …]
DTGParser.cpp941 BitInit *MHSbit = dynamic_cast<BitInit*>(MHS); in ParseOperation()
942 BitInit *RHSbit = dynamic_cast<BitInit*>(RHS); in ParseOperation()
/external/llvm/include/llvm/TableGen/
DRecord.h451 class BitInit : public Init {
454 explicit BitInit(bool V) : Init(IK_BitInit), Value(V) {} in BitInit() function
455 BitInit(const BitInit &Other) = delete;
456 BitInit &operator=(BitInit &Other) = delete;
462 static BitInit *get(bool V);
470 return const_cast<BitInit*>(this); in getBit()
568 return BitInit::get((Value & (1ULL << Bit)) != 0); in getBit()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h483 class BitInit final : public TypedInit {
486 explicit BitInit(bool V) : TypedInit(IK_BitInit, BitRecTy::get()), Value(V) {} in BitInit() function
489 BitInit(const BitInit &) = delete;
490 BitInit &operator=(BitInit &) = delete;
496 static BitInit *get(bool V);
504 return const_cast<BitInit*>(this); in getBit()
589 return BitInit::get((Value & (1ULL << Bit)) != 0); in getBit()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeEmitterGen.cpp250 if (BitInit *B = dynamic_cast<BitInit*>(BI->getBit(e-i-1))) in run()
DInstrInfoEmitter.cpp304 if (BitInit *Bit = dynamic_cast<BitInit*>(TSF->getBit(i))) in emitRecord()
DARMDecoderEmitter.cpp129 if (static_cast<BitInit*>(init.getBit(index))->getValue()) in byteFromBitsInit()
188 if (BitInit *bit = dynamic_cast<BitInit*>(bits.getBit(index))) in bitFromBits()
DFixedLenDecoderEmitter.cpp52 if (BitInit *bit = dynamic_cast<BitInit*>(bits.getBit(index))) in bitFromBits()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp254 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DSearchableTableEmitter.cpp55 else if (BitInit *BI = dyn_cast<BitInit>(I)) in primaryRepresentation()
DFixedLenDecoderEmitter.cpp144 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()
1871 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ? in populateInstruction()
1872 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr; in populateInstruction()
1950 BitInit *HasCompleteDecoderBit = HasCompleteDecoderVal ? in populateInstruction()
1951 dyn_cast<BitInit>(HasCompleteDecoderVal->getValue()) : nullptr; in populateInstruction()
DInstrInfoEmitter.cpp517 if (BitInit *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
DRegisterInfoEmitter.cpp1060 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b))) in runMCDesc()

12