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()
1210 BitsInit *SFBits = in emitSoftFailTableEntry()
1213 BitsInit *InstBits = AllInstructions[Opc]->TheDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry()
1673 BitsInit &Bits = getBitsField(Def, "Inst"); in populateInstruction()
DCodeGenTarget.cpp346 BitsInit *BI = R->getValueAsBitsInit("Inst"); in reverseBitsForLittleEndianEncoding()
364 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
DCodeGenInstruction.cpp526 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.cpp515 BitsInit *TSF = Inst.TheDef->getValueAsBitsInit("TSFlags"); in emitRecord()
DRegisterInfoEmitter.cpp1025 BitsInit *BI = Reg->getValueAsBitsInit("HWEncoding"); in runMCDesc()
DCodeGenDAGPatterns.cpp2082 if (BitsInit *BI = dyn_cast<BitsInit>(TheInit)) { in ParseTreePattern()
/external/llvm/lib/TableGen/
DRecord.cpp103 Init *BitRecTy::convertValue(BitsInit *BI) { in convertValue()
163 return BitsInit::get(NewBits); in convertValue()
168 return BitsInit::get(UI); in convertValue()
193 return BitsInit::get(NewBits); in convertValue()
196 Init *BitsRecTy::convertValue(BitsInit *BI) { in convertValue()
205 return BitsInit::get(VI); in convertValue()
212 return BitsInit::get(NewBits); in convertValue()
229 Init *IntRecTy::convertValue(BitsInit *BI) { in convertValue()
471 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
472 typedef FoldingSet<BitsInit> Pool; in get()
[all …]
DTGParser.cpp106 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue()
118 BitsInit *BInit = dyn_cast<BitsInit>(BI); in SetValue()
136 V = BitsInit::get(NewBits); in SetValue()
141 if (BitsInit *BI = dyn_cast<BitsInit>(V)) { in SetValue()
1056 if (BitsInit *MHSbits = dyn_cast<BitsInit>(MHS)) in ParseOperation()
1063 if (BitsInit *RHSbits = dyn_cast<BitsInit>(RHS)) in ParseOperation()
1180 R = BitsInit::get(Bits); in ParseSimpleValue()
1310 if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) { in ParseSimpleValue()
1334 return BitsInit::get(NewBits); in ParseSimpleValue()
/external/llvm/include/llvm/TableGen/
DRecord.h44 class BitsInit; variable
107 virtual Init *convertValue( BitsInit *BI) { return nullptr; } in convertValue()
155 Init *convertValue( BitsInit *BI) override;
194 Init *convertValue( BitsInit *BI) override;
231 Init *convertValue( BitsInit *BI) override;
269 Init *convertValue( BitsInit *BI) override { return nullptr; } in convertValue()
309 Init *convertValue( BitsInit *BI) override { return nullptr; } in convertValue()
347 Init *convertValue( BitsInit *BI) override { return nullptr; } in convertValue()
387 Init *convertValue( BitsInit *BI) override { return nullptr; } in convertValue()
654 class BitsInit : public TypedInit, public FoldingSetNode {
[all …]