Searched refs:RecTy (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 59 class RecTy { 80 RecTy(RecTyKind K, RecordKeeper &RK) : Kind(K), RK(RK) {} in RecTy() function 81 virtual ~RecTy() = default; 94 virtual bool typeIsConvertibleTo(const RecTy *RHS) const; 98 virtual bool typeIsA(const RecTy *RHS) const; 104 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) { 110 class BitRecTy : public RecTy { 113 BitRecTy(RecordKeeper &RK) : RecTy(BitRecTyKind, RK) {} in BitRecTy() 116 static bool classof(const RecTy *RT) { in classof() 124 bool typeIsConvertibleTo(const RecTy *RHS) const override; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.h | 77 RecTy *EltTy = nullptr; 146 std::map<std::string, RecTy *> TypeAliases; 291 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = nullptr, 293 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr, 296 Record *CurRec, RecTy *ItemType = nullptr); 309 RecTy *ParseType(); 310 Init *ParseOperation(Record *CurRec, RecTy *ItemType); 311 Init *ParseOperationSubstr(Record *CurRec, RecTy *ItemType); 312 Init *ParseOperationFind(Record *CurRec, RecTy *ItemType); 313 Init *ParseOperationForEachFilter(Record *CurRec, RecTy *ItemType); [all …]
|
H A D | Record.cpp | 85 DenseMap<std::pair<RecTy *, Init *>, VarInit *> TheVarInitPool; 104 LLVM_DUMP_METHOD void RecTy::dump() const { print(errs()); } in dump() 107 ListRecTy *RecTy::getListTy() { in getListTy() 113 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() 118 bool RecTy::typeIsA(const RecTy *RHS) const { return this == RHS; } in typeIsA() 124 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo() 125 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo() 146 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() 147 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo() 157 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo() [all …]
|
H A D | TGParser.cpp | 1090 RecTy *TGParser::ParseType() { in ParseType() 1140 RecTy *SubType = ParseType(); in ParseType() 1185 Init *TGParser::ParseOperation(Record *CurRec, RecTy *ItemType) { in ParseOperation() 1202 RecTy *Type = nullptr; in ParseOperation() 1358 RecTy *Type = ParseOperatorType(); in ParseOperation() 1383 RecTy *Type = ParseOperatorType(); in ParseOperation() 1490 RecTy *Type = nullptr; in ParseOperation() 1491 RecTy *ArgType = nullptr; in ParseOperation() 1581 RecTy *ListType = InitListBack->getType(); in ParseOperation() 1683 RecTy *Resolved = resolveTypes(ArgType, ListType); in ParseOperation() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SearchableTableEmitter.cpp | 57 RecTy *RecType = nullptr; 676 RecTy *Ty = resolveTypes(Field.RecType, TI->getType()); in collectTableEntries()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 772 QualType RecTy = C.getRecordType(TeamReductionRec); in emitKernelDeinit() local 774 C, StaticRD, SourceLocation(), SourceLocation(), nullptr, RecTy, in emitKernelDeinit() 775 C.getTrivialTypeSourceInfo(RecTy, SourceLocation()), in emitKernelDeinit()
|
H A D | CGCall.cpp | 89 QualType RecTy; in DeriveThisType() local 91 RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal(); in DeriveThisType() 93 RecTy = Context.VoidTy; in DeriveThisType() 96 RecTy = Context.getAddrSpaceQualType(RecTy, MD->getMethodQualifiers().getAddressSpace()); in DeriveThisType() 97 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenRegisters.cpp | 651 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 5734 QualType RecTy = Context.getTypeDeclType(Record); in BuildMicrosoftCAnonymousStruct() local 5739 /*IdentifierInfo=*/nullptr, RecTy, TInfo, in BuildMicrosoftCAnonymousStruct() 5754 if (RequireCompleteSizedType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct() 9523 const RecordType *RecTy = in checkIsValidOpenCLKernelParameter() local 9525 const RecordDecl *OrigRecDecl = RecTy->getDecl(); in checkIsValidOpenCLKernelParameter() 9527 VisitStack.push_back(RecTy->getDecl()); in checkIsValidOpenCLKernelParameter()
|