Home
last modified time | relevance | path

Searched refs:BitsInit (Results 1 – 11 of 11) sorted by relevance

/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp36 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
38 void AddCodeToMergeInOperand(Record *R, BitsInit *BI,
49 BitsInit *BI, int bit) { in getVariableBit()
63 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand()
182 BitsInit *BI = R->getValueAsBitsInit("Inst"); in getInstructionCase()
254 BitsInit *BI = R->getValueAsBitsInit("Inst"); in run()
DFixedLenDecoderEmitter.cpp143 static bit_value_t bitFromBits(const BitsInit &bits, unsigned index) { in bitFromBits()
151 static void dumpBits(raw_ostream &o, const BitsInit &bits) { in dumpBits()
169 static BitsInit &getBitsField(const Record &def, const char *str) { in getBitsField()
170 BitsInit *bits = def.getValueAsBitsInit(str); in getBitsField()
368 BitsInit &Bits = getBitsField(*AllInstructions[Opcode]->TheDef, "Inst"); in insnWithID()
375 BitsInit *SFBits = in insnWithID()
1246 BitsInit *SFBits = in emitSoftFailTableEntry()
1249 BitsInit *InstBits = AllInstructions[Opc]->TheDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry()
1725 BitsInit &Bits = getBitsField(Def, "Inst"); in populateInstruction()
DCodeGenTarget.cpp357 BitsInit *BI = R->getValueAsBitsInit("Inst"); in reverseBitsForLittleEndianEncoding()
375 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
DCodeGenInstruction.cpp527 if (BitsInit *BI = dyn_cast<BitsInit>(Arg)) { in tryAliasOpMatch()
DX86RecognizableInstr.cpp160 static uint8_t byteFromBitsInit(BitsInit &init) { in byteFromBitsInit()
187 BitsInit* bits = rec->getValueAsBitsInit(name); in byteFromRec()
DInstrInfoEmitter.cpp514 BitsInit *TSF = Inst.TheDef->getValueAsBitsInit("TSFlags"); in emitRecord()
DRegisterInfoEmitter.cpp1025 BitsInit *BI = Reg->getValueAsBitsInit("HWEncoding"); in runMCDesc()
DCodeGenDAGPatterns.cpp2127 if (BitsInit *BI = dyn_cast<BitsInit>(TheInit)) { in ParseTreePattern()
/external/llvm/lib/TableGen/
DRecord.cpp228 return BitsInit::get(NewBits); in convertInitializerTo()
252 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
266 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
267 static FoldingSet<BitsInit> ThePool; in get()
268 static std::vector<std::unique_ptr<BitsInit>> TheActualPool; in get()
274 if (BitsInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
277 BitsInit *I = new BitsInit(Range); in get()
279 TheActualPool.push_back(std::unique_ptr<BitsInit>(I)); in get()
283 void BitsInit::Profile(FoldingSetNodeID &ID) const { in Profile()
287 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
[all …]
DTGParser.cpp102 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue()
113 BitsInit *BInit = cast<BitsInit>(BI); in SetValue()
130 V = BitsInit::get(NewBits); in SetValue()
135 if (BitsInit *BI = dyn_cast<BitsInit>(V)) in SetValue()
1030 if (BitsInit *MHSbits = dyn_cast<BitsInit>(MHS)) in ParseOperation()
1037 if (BitsInit *RHSbits = dyn_cast<BitsInit>(RHS)) in ParseOperation()
1154 R = BitsInit::get(Bits); in ParseSimpleValue()
1281 if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) { in ParseSimpleValue()
1305 return BitsInit::get(NewBits); in ParseSimpleValue()
/external/llvm/include/llvm/TableGen/
DRecord.h455 class BitsInit : public TypedInit, public FoldingSetNode {
458 BitsInit(ArrayRef<Init *> Range) in BitsInit() function
462 BitsInit(const BitsInit &Other) = delete;
463 BitsInit &operator=(const BitsInit &Other) = delete;
469 static BitsInit *get(ArrayRef<Init *> Range);
1361 BitsInit *getValueAsBitsInit(StringRef FieldName) const;