Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DTGParser.cpp683 case tgtok::String: Lex.Lex(); return StringRecTy::get(); in ParseType()
684 case tgtok::Code: Lex.Lex(); return StringRecTy::get(); in ParseType()
848 StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType()); in ParseOperation()
933 Type = StringRecTy::get(); in ParseOperation()
1278 StringRecTy::get()), in ParseSimpleValue()
1582 if (LHS->getType() != StringRecTy::get()) { in ParseValue()
1583 LHS = UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get()); in ParseValue()
1609 if (RHS->getType() != StringRecTy::get()) { in ParseValue()
1610 RHS = UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get()); in ParseValue()
1617 StringRecTy::get())->Fold(CurRec, CurMultiClass); in ParseValue()
[all …]
DRecord.cpp86 StringRecTy StringRecTy::Shared;
251 Init *StringRecTy::convertValue(UnOpInit *BO) { in convertValue()
256 return UnOpInit::get(UnOpInit::CAST, L, new StringRecTy); in convertValue()
263 Init *StringRecTy::convertValue(BinOpInit *BO) { in convertValue()
269 return BinOpInit::get(BinOpInit::STRCONCAT, L, R, new StringRecTy); in convertValue()
277 Init *StringRecTy::convertValue(TypedInit *TI) { in convertValue()
278 if (isa<StringRecTy>(TI->getType())) in convertValue()
1685 RecordVal DN("NAME", StringRecTy::get(), 0); in init()
1694 if (!isa<StringRecTy>(Type)) in checkName()
/external/llvm/include/llvm/TableGen/
DRecord.h35 class StringRecTy; variable
256 class StringRecTy : public RecTy {
257 static StringRecTy Shared;
258 StringRecTy() : RecTy(StringRecTyKind) {} in StringRecTy() function
265 static StringRecTy *get() { return &Shared; } in get()
754 : TypedInit(IK_StringInit, StringRecTy::get()), Value(V) {} in StringInit()