/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeEmitterGen.cpp | 58 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit); 64 bool addCodeToMergeInOperand(Record *R, BitsInit *BI, 81 int CodeEmitterGen::getVariableBit(const std::string &VarName, BitsInit *BI, in getVariableBit() 96 bool CodeEmitterGen::addCodeToMergeInOperand(Record *R, BitsInit *BI, in addCodeToMergeInOperand() 347 BitsInit *BI = EncodingDef->getValueAsBitsInit("Inst"); in addInstructionCasesForEncoding() 433 BitsInit *BI = EncodingDef->getValueAsBitsInit("Inst"); in emitInstructionBaseValues() 497 BitsInit *BI = KV.second->getValueAsBitsInit("Inst"); in run() 504 BitsInit *BI = R->getValueAsBitsInit("Inst"); in run()
|
H A D | DecoderEmitter.cpp | 211 static bit_value_t bitFromBits(const BitsInit &bits, unsigned index) { in bitFromBits() 220 static void dumpBits(raw_ostream &o, const BitsInit &bits) { in dumpBits() 238 static BitsInit &getBitsField(const Record &def, StringRef str) { in getBitsField() 240 if (BitsInit *Bits = dyn_cast<BitsInit>(RV->getValue())) in getBitsField() 248 if (const BitsInit *BI = dyn_cast<BitsInit>(SI.Value)) { in getBitsField() 260 return *BitsInit::get(def.getRecords(), Bits); in getBitsField() 463 BitsInit &Bits = getBitsField(*EncodingDef, "Inst"); in insnWithID() 471 const BitsInit *SFBits = RV ? dyn_cast<BitsInit>(RV->getValue()) : nullptr; in insnWithID() 1386 BitsInit *SFBits = RV ? dyn_cast<BitsInit>(RV->getValue()) : nullptr; in emitSoftFailTableEntry() 1390 BitsInit *InstBits = EncodingDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry() [all …]
|
H A D | X86FoldTablesEmitter.cpp | 248 static uint8_t byteFromBitsInit(const BitsInit *B) { in byteFromBitsInit() 490 BitsInit *VectSize = RegRec->getValueAsBitsInit("VectSize"); in addEntryWithFlags() 659 const BitsInit *FormBits = Rec->getValueAsBitsInit("FormBits"); in run()
|
H A D | X86EVEX2VEXTablesEmitter.cpp |
|
H A D | PseudoLoweringEmitter.cpp | 112 } else if (auto *BI = dyn_cast<BitsInit>(Dag->getArg(i))) { in addDagOperandMapping()
|
H A D | DFAEmitter.cpp | 309 BitsInit *NewStateInit = R->getValueAsBitsInit("NewState"); in Transition()
|
H A D | X86InstrMappingEmitter.cpp | 110 static uint8_t byteFromBitsInit(const BitsInit *B) { in byteFromBitsInit()
|
H A D | SearchableTableEmitter.cpp | 123 } else if (BitsInit *BI = dyn_cast<BitsInit>(I)) in primaryRepresentation()
|
H A D | X86RecognizableInstr.cpp | 80 static uint8_t byteFromBitsInit(BitsInit &init) { in byteFromBitsInit() 107 BitsInit *bits = rec->getValueAsBitsInit(name); in byteFromRec()
|
H A D | InstrInfoEmitter.cpp | 1292 BitsInit *TSF = Inst.TheDef->getValueAsBitsInit("TSFlags"); in emitRecord()
|
H A D | RegisterInfoEmitter.cpp | 1072 BitsInit *BI = Reg->getValueAsBitsInit("HWEncoding"); in runMCDesc()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangSACheckersEmitter.cpp | 62 static inline uint64_t getValueFromBitsInit(const BitsInit *B, const Record &R) { in getValueFromBitsInit() 78 const BitsInit *BI = R.getValueAsBitsInit("Documentation"); in getCheckerDocs() 97 if (BitsInit *BI = R.getValueAsBitsInit("Type")) { in getCheckerOptionType() 114 if (BitsInit *BI = R.getValueAsBitsInit("DevelopmentStage")) { in getDevelopmentStage()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Record.cpp | 74 FoldingSet<BitsInit> TheBitsInitPool; 422 return BitsInit::get(getRecordKeeper(), const_cast<BitInit *>(this)); in convertInitializerTo() 436 BitsInit *BitsInit::get(RecordKeeper &RK, ArrayRef<Init *> Range) { in get() 442 if (BitsInit *I = RKImpl.TheBitsInitPool.FindNodeOrInsertPos(ID, IP)) in get() 446 alignof(BitsInit)); in get() 447 BitsInit *I = new (Mem) BitsInit(RK, Range.size()); in get() 454 void BitsInit::Profile(FoldingSetNodeID &ID) const { in Profile() 458 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo() 468 return const_cast<BitsInit *>(this); in convertInitializerTo() 485 BitsInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange() [all …]
|
H A D | TGParser.cpp | 71 BitsInit *BV = cast<BitsInit>(RV.getValue()); in checkBitsConcrete() 99 bool Ok = isa<BitsInit>(V) ? checkBitsConcrete(R, RV) : V->isConcrete(); in checkConcrete() 253 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue() 278 V = BitsInit::get(Records, NewBits); in SetValue() 283 if (BitsInit *BI = dyn_cast<BitsInit>(V)) in SetValue() 1968 if (BitsInit *MHSbits = dyn_cast<BitsInit>(MHS)) in ParseOperation() 1975 if (BitsInit *RHSbits = dyn_cast<BitsInit>(RHS)) in ParseOperation() 2563 if (BitsInit *Vbits = dyn_cast<BitsInit>(V)) in ParseOperationCond() 2647 R = BitsInit::get(Records, Bits); in ParseSimpleValue() 2730 if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) { in ParseSimpleValue() [all …]
|
H A D | JSONBackend.cpp | 52 } else if (auto *Bits = dyn_cast<BitsInit>(&I)) { in translateInit()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenTarget.cpp | 367 BitsInit *BI = R->getValueAsBitsInit("Inst"); in reverseBitsForLittleEndianEncoding() 385 BitsInit *NewBI = BitsInit::get(Records, NewBits); in reverseBitsForLittleEndianEncoding()
|
H A D | CodeGenInstAlias.cpp | 120 if (BitsInit *BI = dyn_cast<BitsInit>(Arg)) { in tryAliasOpMatch()
|
H A D | VarLenCodeEmitterGen.cpp | 146 if (const auto *BI = dyn_cast<BitsInit>(Arg)) { in buildRec() 387 if (const auto *BI = dyn_cast<BitsInit>(SI->Value)) { in emitInstructionBaseValues()
|
H A D | CodeGenDAGPatterns.cpp | 2886 if (BitsInit *BI = dyn_cast<BitsInit>(TheInit)) { in ParseTreePattern()
|
H A D | CodeGenRegisters.cpp | 832 BitsInit *TSF = R->getValueAsBitsInit("TSFlags"); in CodeGenRegisterClass()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 580 class BitsInit final : public TypedInit, public FoldingSetNode, 581 public TrailingObjects<BitsInit, Init *> { 584 BitsInit(RecordKeeper &RK, unsigned N) in BitsInit() function 588 BitsInit(const BitsInit &) = delete; 589 BitsInit &operator=(const BitsInit &) = delete; 598 static BitsInit *get(RecordKeeper &RK, ArrayRef<Init *> Range); 1908 BitsInit *getValueAsBitsInit(StringRef FieldName) const;
|