Home
last modified time | relevance | path

Searched refs:StringRecTy (Results 1 – 6 of 6) 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/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()