Home
last modified time | relevance | path

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

12

/external/llvm/utils/TableGen/
DSearchableTableEmitter.cpp43 int getAsInt(BitsInit *B) { in getAsInt()
53 else if (BitsInit *BI = dyn_cast<BitsInit>(I)) in primaryRepresentation()
74 else if (BitsInit *BI = dyn_cast<BitsInit>(I)) { in searchableFieldType()
155 if (isa<BitsInit>(SearchTable[0].first)) { in emitSearchTable()
159 return getAsInt(cast<BitsInit>(LHS.first)) < in emitSearchTable()
160 getAsInt(cast<BitsInit>(RHS.first)); in emitSearchTable()
180 bool IsIntegral = isa<BitsInit>(I); in emitLookupFunction()
223 bool IsIntegral = isa<BitsInit>(I); in emitLookupDeclaration()
DCodeEmitterGen.cpp35 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
37 void AddCodeToMergeInOperand(Record *R, BitsInit *BI,
48 BitsInit *BI, int bit) { in getVariableBit()
62 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand()
181 BitsInit *BI = R->getValueAsBitsInit("Inst"); in getInstructionCase()
249 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()
1224 BitsInit *SFBits = in emitSoftFailTableEntry()
1227 BitsInit *InstBits = AllInstructions[Opc]->TheDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry()
1703 BitsInit &Bits = getBitsField(Def, "Inst"); in populateInstruction()
DCodeGenTarget.cpp352 BitsInit *BI = R->getValueAsBitsInit("Inst"); in reverseBitsForLittleEndianEncoding()
370 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeEmitterGen.cpp41 BitsInit *BI = R->getValueAsBitsInit("Inst"); in reverseBits()
59 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBits()
70 BitsInit *BI, int bit) { in getVariableBit()
84 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand()
188 BitsInit *BI = R->getValueAsBitsInit("Inst"); in getInstructionCase()
245 BitsInit *BI = R->getValueAsBitsInit("Inst"); in run()
DCodeEmitterGen.h24 class BitsInit; variable
38 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
41 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName,
DARMDecoderEmitter.cpp118 static uint8_t byteFromBitsInit(BitsInit &init) { in byteFromBitsInit()
139 BitsInit *bits = def.getValueAsBitsInit(str); in getByteField()
143 static BitsInit &getBitsField(const Record &def, const char *str) { in getBitsField()
144 BitsInit *bits = def.getValueAsBitsInit(str); in getBitsField()
187 static bit_value_t bitFromBits(BitsInit &bits, unsigned index) { in bitFromBits()
195 static void dumpBits(raw_ostream &o, BitsInit &bits) { in dumpBits()
428 BitsInit &Bits = getBitsField(*AllInstructions[Opcode]->TheDef, "Inst"); in insnWithID()
1562 BitsInit &Bits = getBitsField(Def, "Inst"); in populateInstruction()
DFixedLenDecoderEmitter.cpp51 static bit_value_t bitFromBits(BitsInit &bits, unsigned index) { in bitFromBits()
59 static void dumpBits(raw_ostream &o, BitsInit &bits) { in dumpBits()
79 static BitsInit &getBitsField(const Record &def, const char *str) { in getBitsField()
80 BitsInit *bits = def.getValueAsBitsInit(str); in getBitsField()
286 BitsInit &Bits = getBitsField(*AllInstructions[Opcode]->TheDef, "Inst"); in insnWithID()
1252 BitsInit &Bits = getBitsField(Def, "Inst"); in populateInstruction()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp92 Init *BitRecTy::convertValue(BitsInit *BI) { in convertValue()
134 return BitsInit::get(NewBits); in convertValue()
139 return BitsInit::get(UI); in convertValue()
164 return BitsInit::get(NewBits); in convertValue()
167 Init *BitsRecTy::convertValue(BitsInit *BI) { in convertValue()
181 return BitsInit::get(NewBits); in convertValue()
185 return BitsInit::get(VI); in convertValue()
210 return BitsInit::get(NewBits); in convertValue()
213 BitsInit *MHSbs = dynamic_cast<BitsInit*>(MHS); in convertValue()
214 BitsInit *RHSbs = dynamic_cast<BitsInit*>(RHS); in convertValue()
[all …]
DTGParser.cpp104 BitsInit *CurVal = dynamic_cast<BitsInit*>(RV->getValue()); in SetValue()
116 BitsInit *BInit = dynamic_cast<BitsInit*>(BI); in SetValue()
134 V = BitsInit::get(NewBits); in SetValue()
933 BitsInit *MHSbits = dynamic_cast<BitsInit*>(MHS); in ParseOperation()
934 BitsInit *RHSbits = dynamic_cast<BitsInit*>(RHS); in ParseOperation()
1144 return BitsInit::get(NewBits); in ParseSimpleValue()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeEmitterGen.cpp46 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
48 void AddCodeToMergeInOperand(Record *R, BitsInit *BI,
59 BitsInit *BI, int bit) { in getVariableBit()
73 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand()
190 BitsInit *BI = R->getValueAsBitsInit("Inst"); in getInstructionCase()
259 BitsInit *BI = R->getValueAsBitsInit("Inst"); in run()
DX86FoldTablesEmitter.cpp189 static inline uint64_t getValueFromBitsInit(const BitsInit *B) { in getValueFromBitsInit()
201 static inline bool equalBitsInits(const BitsInit *B1, const BitsInit *B2) { in equalBitsInits()
258 const BitsInit *FormBits = Inst->getValueAsBitsInit("FormBits"); in hasRegisterFormat()
267 const BitsInit *FormBits = Inst->getValueAsBitsInit("FormBits"); in hasMemoryFormat()
410 bool areOppositeForms(const BitsInit *RegFormBits, in areOppositeForms()
411 const BitsInit *MemFormBits) { in areOppositeForms()
482 BitsInit *VectSize = RegRec->getValueAsBitsInit("VectSize"); in addEntryWithFlags()
DX86EVEX2VEXTablesEmitter.cpp72 static inline bool equalBitsInits(const BitsInit *B1, const BitsInit *B2) { in equalBitsInits()
90 static inline uint64_t getValueFromBitsInit(const BitsInit *B) { in getValueFromBitsInit()
DFixedLenDecoderEmitter.cpp157 static bit_value_t bitFromBits(const BitsInit &bits, unsigned index) { in bitFromBits()
166 static void dumpBits(raw_ostream &o, const BitsInit &bits) { in dumpBits()
184 static BitsInit &getBitsField(const Record &def, StringRef str) { in getBitsField()
185 BitsInit *bits = def.getValueAsBitsInit(str); in getBitsField()
384 BitsInit &Bits = getBitsField(*AllInstructions[Opcode]->TheDef, "Inst"); in insnWithID()
391 BitsInit *SFBits = in insnWithID()
1249 BitsInit *SFBits = in emitSoftFailTableEntry()
1252 BitsInit *InstBits = AllInstructions[Opc]->TheDef->getValueAsBitsInit("Inst"); in emitSoftFailTableEntry()
1754 BitsInit &Bits = getBitsField(Def, "Inst"); in populateInstruction()
DCodeGenTarget.cpp417 BitsInit *BI = R->getValueAsBitsInit("Inst"); in reverseBitsForLittleEndianEncoding()
435 BitsInit *NewBI = BitsInit::get(NewBits); in reverseBitsForLittleEndianEncoding()
DSearchableTableEmitter.cpp113 else if (BitsInit *BI = dyn_cast<BitsInit>(I)) in primaryRepresentation()
145 return isa<BitsInit>(I) || isIntrinsic(I); in isIntegral()
DCodeGenInstruction.cpp551 if (BitsInit *BI = dyn_cast<BitsInit>(Arg)) { in tryAliasOpMatch()
/external/llvm/lib/TableGen/
DRecord.cpp226 return BitsInit::get(NewBits); in convertInitializerTo()
250 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
264 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
265 static FoldingSet<BitsInit> ThePool; in get()
266 static std::vector<std::unique_ptr<BitsInit>> TheActualPool; in get()
272 if (BitsInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
276 BitsInit *I = new (Mem) BitsInit(Range.size()); in get()
280 TheActualPool.push_back(std::unique_ptr<BitsInit>(I)); in get()
284 void BitsInit::Profile(FoldingSetNodeID &ID) const { in Profile()
288 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
[all …]
DTGParser.cpp101 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue()
112 BitsInit *BInit = cast<BitsInit>(BI); in SetValue()
129 V = BitsInit::get(NewBits); in SetValue()
134 if (BitsInit *BI = dyn_cast<BitsInit>(V)) in SetValue()
1025 if (BitsInit *MHSbits = dyn_cast<BitsInit>(MHS)) in ParseOperation()
1032 if (BitsInit *RHSbits = dyn_cast<BitsInit>(RHS)) in ParseOperation()
1149 R = BitsInit::get(Bits); in ParseSimpleValue()
1276 if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) { in ParseSimpleValue()
1300 return BitsInit::get(NewBits); in ParseSimpleValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DRecord.cpp322 return BitsInit::get(const_cast<BitInit *>(this)); in convertInitializerTo()
336 BitsInit *BitsInit::get(ArrayRef<Init *> Range) { in get()
337 static FoldingSet<BitsInit> ThePool; in get()
343 if (BitsInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
347 alignof(BitsInit)); in get()
348 BitsInit *I = new(Mem) BitsInit(Range.size()); in get()
355 void BitsInit::Profile(FoldingSetNodeID &ID) const { in Profile()
359 Init *BitsInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
369 return const_cast<BitsInit *>(this); in convertInitializerTo()
386 BitsInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange()
[all …]
DTGParser.cpp73 BitsInit *BV = cast<BitsInit>(RV.getValue()); in checkBitsConcrete()
101 bool Ok = isa<BitsInit>(V) ? checkBitsConcrete(R, RV) : V->isConcrete(); in checkConcrete()
184 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue()
209 V = BitsInit::get(NewBits); in SetValue()
214 if (BitsInit *BI = dyn_cast<BitsInit>(V)) in SetValue()
1404 if (BitsInit *MHSbits = dyn_cast<BitsInit>(MHS)) in ParseOperation()
1411 if (BitsInit *RHSbits = dyn_cast<BitsInit>(RHS)) in ParseOperation()
1641 R = BitsInit::get(Bits); in ParseSimpleValue()
1756 if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) { in ParseSimpleValue()
1780 return BitsInit::get(NewBits); in ParseSimpleValue()
DJSONBackend.cpp54 } else if (auto *Bits = dyn_cast<BitsInit>(&I)) { in translateInit()
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h43 class BitsInit; variable
89 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
143 virtual Init *convertValue( BitsInit *BI);
188 virtual Init *convertValue( BitsInit *BI);
232 virtual Init *convertValue( BitsInit *BI);
274 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
321 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
364 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
404 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
450 virtual Init *convertValue( BitsInit *BI) { return 0; } in convertValue()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h479 class BitsInit final : public TypedInit, public FoldingSetNode,
480 public TrailingObjects<BitsInit, Init *> {
483 BitsInit(unsigned N) in BitsInit() function
486 BitsInit(const BitsInit &Other) = delete;
487 BitsInit &operator=(const BitsInit &Other) = delete;
496 static BitsInit *get(ArrayRef<Init *> Range);
652 public TrailingObjects<BitsInit, Init *> {
1443 BitsInit *getValueAsBitsInit(StringRef FieldName) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h513 class BitsInit final : public TypedInit, public FoldingSetNode,
514 public TrailingObjects<BitsInit, Init *> {
517 BitsInit(unsigned N) in BitsInit() function
521 BitsInit(const BitsInit &) = delete;
522 BitsInit &operator=(const BitsInit &) = delete;
531 static BitsInit *get(ArrayRef<Init *> Range);
1549 BitsInit *getValueAsBitsInit(StringRef FieldName) const;

12