Home
last modified time | relevance | path

Searched refs:StringRecTy (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h33 class StringRecTy; variable
120 virtual bool baseClassOf(const StringRecTy *RHS) const { return false; } in baseClassOf()
166 virtual bool baseClassOf(const StringRecTy *RHS) const { return false; } in baseClassOf()
213 virtual bool baseClassOf(const StringRecTy *RHS) const { return false; } in baseClassOf()
256 virtual bool baseClassOf(const StringRecTy *RHS) const { return false; } in baseClassOf()
266 class StringRecTy : public RecTy {
267 static StringRecTy Shared;
268 StringRecTy() {} in StringRecTy() function
270 static StringRecTy *get() { return &Shared; } in get()
299 virtual bool baseClassOf(const StringRecTy *RHS) const { return true; } in baseClassOf()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp268 VarInit::get(QualifiedNameOfImplicitName(*CurRec), StringRecTy::get()); in AddSubClass()
337 VarInit::get(QualifiedNameOfImplicitName(CurMC), StringRecTy::get())); in AddSubMultiClass()
512 Init *Name = ParseValue(CurRec, StringRecTy::get(), ParseNameMode); in ParseObjectName()
521 Name = BinOpInit::getStrConcat(VarInit::get(NameStr, StringRecTy::get()), in ParseObjectName()
783 case tgtok::String: Lex.Lex(); return StringRecTy::get(); in ParseType()
851 return VarInit::get(TemplateArgName, StringRecTy::get()); in ParseIDValue()
949 StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType()); in ParseOperation()
1099 Type = StringRecTy::get(); in ParseOperation()
1100 ArgType = StringRecTy::get(); in ParseOperation()
1140 !ArgType->typeIsConvertibleTo(StringRecTy::get())) { in ParseOperation()
[all …]
DRecord.cpp49 StringRecTy StringRecTy::Shared;
114 std::string StringRecTy::getAsString() const { in getAsString()
118 bool StringRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
530 if (isa<StringRecTy>(Ty)) in convertInitializerTo()
541 if (isa<StringRecTy>(Ty)) in convertInitializerTo()
702 if (isa<StringRecTy>(getType())) { in Fold()
842 return BinOpInit::get(BinOpInit::STRCONCAT, I0, I1, StringRecTy::get()); in getStrConcat()
1849 if (!isa<StringRecTy>(TypedName->getType())) in checkName()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSearchableTableEmitter.cpp149 if (isa<StringRecTy>(Field.RecType)) { in searchableFieldType()
263 if (isa<StringRecTy>(Field.RecType)) { in compareBy()
348 if (isa<StringRecTy>(Field.RecType)) in emitLookupFunction()
413 if (isa<StringRecTy>(Field.RecType)) { in emitLookupFunction()
428 if (isa<StringRecTy>(Field.RecType)) { in emitLookupFunction()
551 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) { in parseSearchIndex()
/external/llvm/lib/TableGen/
DTGParser.cpp662 case tgtok::String: Lex.Lex(); return StringRecTy::get(); in ParseType()
825 StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType()); in ParseOperation()
902 Type = StringRecTy::get(); in ParseOperation()
1244 StringRecTy::get()), in ParseSimpleValue()
1543 if (LHS->getType() != StringRecTy::get()) { in ParseValue()
1544 LHS = UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get()); in ParseValue()
1570 if (RHS->getType() != StringRecTy::get()) { in ParseValue()
1571 RHS = UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get()); in ParseValue()
1578 StringRecTy::get())->Fold(CurRec, CurMultiClass); in ParseValue()
2339 StringRecTy::get())->Fold(DefProto, &MC), in InstantiateMulticlassDef()
[all …]
DRecord.cpp87 StringRecTy StringRecTy::Shared;
137 std::string StringRecTy::getAsString() const { in getAsString()
469 if (isa<StringRecTy>(Ty)) in convertInitializerTo()
654 if (isa<StringRecTy>(getType())) { in Fold()
1166 if (isa<StringRecTy>(Ty)) { in convertInitializerTo()
1167 if (isa<StringRecTy>(getType())) in convertInitializerTo()
1631 RecordVal DN("NAME", StringRecTy::get(), 0); in init()
1638 if (!isa<StringRecTy>(TypedName->getType())) in checkName()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp80 StringRecTy StringRecTy::Shared;
255 Init *StringRecTy::convertValue(UnOpInit *BO) { in convertValue()
260 return UnOpInit::get(UnOpInit::CAST, L, new StringRecTy); in convertValue()
267 Init *StringRecTy::convertValue(BinOpInit *BO) { in convertValue()
273 return BinOpInit::get(BinOpInit::STRCONCAT, L, R, new StringRecTy); in convertValue()
281 Init *StringRecTy::convertValue(TypedInit *TI) { in convertValue()
282 if (dynamic_cast<StringRecTy*>(TI->getType())) in convertValue()
1677 if (dynamic_cast<StringRecTy *>(Type) == 0) { in checkName()
DTGParser.cpp584 case tgtok::String: Lex.Lex(); return StringRecTy::get(); in ParseType()
745 StringRecTy *SType = dynamic_cast<StringRecTy*>(LHSt->getType()); in ParseOperation()
821 Type = StringRecTy::get(); in ParseOperation()
/external/llvm/include/llvm/TableGen/
DRecord.h156 class StringRecTy : public RecTy {
157 static StringRecTy Shared;
158 StringRecTy() : RecTy(StringRecTyKind) {} in StringRecTy() function
166 static StringRecTy *get() { return &Shared; } in get()
578 : TypedInit(IK_StringInit, StringRecTy::get()), Value(V) {} in StringInit()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h177 class StringRecTy : public RecTy {
178 static StringRecTy Shared;
180 StringRecTy() : RecTy(StringRecTyKind) {} in StringRecTy() function
187 static StringRecTy *get() { return &Shared; } in get()
598 : TypedInit(IK_StringInit, StringRecTy::get()), Value(V) {} in StringInit()