Home
last modified time | relevance | path

Searched refs:RecordRecTy (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp155 RecordRecTy *RecordRecTy::get(Record *R) { in get()
156 return dyn_cast<RecordRecTy>(R->getDefInit()->getType()); in get()
159 std::string RecordRecTy::getAsString() const { in getAsString()
163 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
164 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS); in typeIsConvertibleTo()
185 if (RecordRecTy *RecTy1 = dyn_cast<RecordRecTy>(T1)) { in resolveTypes()
188 RecordRecTy *SuperRecTy1 = RecordRecTy::get(SuperPair1.first); in resolveTypes()
194 if (RecordRecTy *RecTy2 = dyn_cast<RecordRecTy>(T2)) { in resolveTypes()
197 RecordRecTy *SuperRecTy2 = RecordRecTy::get(SuperPair2.first); in resolveTypes()
1152 if (RecordRecTy *RecordType = dyn_cast<RecordRecTy>(getType())) in getFieldType()
[all …]
DTGParser.cpp668 if (Record *R = ParseClassID()) return RecordRecTy::get(R); in ParseType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp157 RecordRecTy *RecordRecTy::get(ArrayRef<Record *> UnsortedClasses) { in get()
159 static RecordRecTy AnyRecord(0); in get()
163 FoldingSet<RecordRecTy> &ThePool = in get()
176 if (RecordRecTy *Ty = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
190 alignof(RecordRecTy)); in get()
191 RecordRecTy *Ty = new(Mem) RecordRecTy(Classes.size()); in get()
198 void RecordRecTy::Profile(FoldingSetNodeID &ID) const { in Profile()
202 std::string RecordRecTy::getAsString() const { in getAsString()
218 bool RecordRecTy::isSubClassOf(Record *Class) const { in isSubClassOf()
225 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
[all …]
DTGParser.cpp808 if (Record *R = ParseClassID()) return RecordRecTy::get(R); in ParseType()
966 if (!isa<RecordRecTy>(Type)) { in ParseOperation()
971 Type = RecordRecTy::get({}); in ParseOperation()
1254 ArgType = RecordRecTy::get({}); in ParseOperation()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp148 RecordRecTy *RecordRecTy::get(ArrayRef<Record *> UnsortedClasses) { in get()
150 static RecordRecTy AnyRecord(0); in get()
154 FoldingSet<RecordRecTy> &ThePool = in get()
167 if (RecordRecTy *Ty = ThePool.FindNodeOrInsertPos(ID, IP)) in get()
181 alignof(RecordRecTy)); in get()
182 RecordRecTy *Ty = new(Mem) RecordRecTy(Classes.size()); in get()
189 void RecordRecTy::Profile(FoldingSetNodeID &ID) const { in Profile()
193 std::string RecordRecTy::getAsString() const { in getAsString()
209 bool RecordRecTy::isSubClassOf(Record *Class) const { in isSubClassOf()
216 bool RecordRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
[all …]
DTGParser.cpp808 if (Record *R = ParseClassID()) return RecordRecTy::get(R); in ParseType()
971 if (!isa<RecordRecTy>(Type)) { in ParseOperation()
976 Type = RecordRecTy::get({}); in ParseOperation()
1246 !ArgType->typeIsConvertibleTo(RecordRecTy::get({}))) { in ParseOperation()
1314 ArgType = RecordRecTy::get({}); in ParseOperation()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h237 class RecordRecTy final : public RecTy, public FoldingSetNode,
238 public TrailingObjects<RecordRecTy, Record *> {
243 explicit RecordRecTy(unsigned Num) in RecordRecTy() function
247 RecordRecTy(const RecordRecTy &) = delete;
248 RecordRecTy &operator=(const RecordRecTy &) = delete;
258 static RecordRecTy *get(ArrayRef<Record *> Classes);
1216 : TypedInit(IK_VarDefInit, RecordRecTy::get(Class)), Class(Class), NumArgs(N) {} in VarDefInit()
1496 RecordRecTy *getType();
1696 friend class RecordRecTy; variable
1699 FoldingSet<RecordRecTy> RecordTypePool;
/external/llvm-project/llvm/include/llvm/TableGen/
DRecord.h220 class RecordRecTy final : public RecTy, public FoldingSetNode,
221 public TrailingObjects<RecordRecTy, Record *> {
226 explicit RecordRecTy(unsigned Num) in RecordRecTy() function
230 RecordRecTy(const RecordRecTy &) = delete;
231 RecordRecTy &operator=(const RecordRecTy &) = delete;
241 static RecordRecTy *get(ArrayRef<Record *> Classes);
1187 : TypedInit(IK_VarDefInit, RecordRecTy::get(Class)), Class(Class), NumArgs(N) {} in VarDefInit()
1493 RecordRecTy *getType();
1699 friend class RecordRecTy; variable
1707 FoldingSet<RecordRecTy> RecordTypePool;
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dconverter_gen.cc42 using llvm::RecordRecTy;
141 if (auto *record = dyn_cast<RecordRecTy>(val.getType())) { in EmitOptionBuilders()
/external/llvm-project/libc/utils/LibcTableGenUtil/
DAPIIndexer.cpp28 llvm::RecordRecTy *RecordType = Def->getType(); in isa()
/external/llvm/include/llvm/TableGen/
DRecord.h211 class RecordRecTy : public RecTy {
213 explicit RecordRecTy(Record *R) : RecTy(RecordRecTyKind), Rec(R) {} in RecordRecTy() function
221 static RecordRecTy *get(Record *R);
1034 DefInit(Record *D, RecordRecTy *T) : TypedInit(IK_DefInit, T), Def(D) {} in DefInit()
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp1846 RecordRecTy *Type = cast<RecordRecTy>(TI->getType()); in populateInstruction()
1928 RecordRecTy *Type = cast<RecordRecTy>(TI->getType()); in populateInstruction()
DCodeGenRegisters.cpp565 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/external/llvm-project/llvm/utils/TableGen/
DDFAEmitter.cpp343 if (auto *Ty = dyn_cast<RecordRecTy>(SymbolV->getType())) { in Transition()
DSearchableTableEmitter.cpp555 Field.RecType = RecordRecTy::get(Field.Enum->Class); in parseFieldType()
663 if (auto RecordTy = dyn_cast<RecordRecTy>(Field.RecType)) { in collectTableEntries()
DCodeGenRegisters.cpp641 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/external/llvm-project/mlir/lib/TableGen/
DOperator.cpp398 if (auto *record = dyn_cast<llvm::RecordRecTy>(val.getType())) { in populateOpStructure()
/external/llvm-project/llvm/docs/TableGen/
DBackGuide.rst188 ``RecordRecTy``, and
226 ``RecordRecTy``
239 instances of the *direct* superclasses of the record and returns the ``RecordRecTy``