Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h56 class RecTy {
75 RecTy(RecTyKind K) : Kind(K) {} in RecTy() function
76 virtual ~RecTy() = default;
86 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
90 virtual bool typeIsA(const RecTy *RHS) const;
96 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) {
102 class BitRecTy : public RecTy {
105 BitRecTy() : RecTy(BitRecTyKind) {} in BitRecTy()
108 static bool classof(const RecTy *RT) { in classof()
116 bool typeIsConvertibleTo(const RecTy *RHS) const override;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.h76 RecTy *EltTy = nullptr;
246 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = nullptr,
248 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
251 Record *CurRec, RecTy *ItemType = nullptr);
262 RecTy *ParseType();
263 Init *ParseOperation(Record *CurRec, RecTy *ItemType);
264 Init *ParseOperationSubstr(Record *CurRec, RecTy *ItemType);
265 Init *ParseOperationFind(Record *CurRec, RecTy *ItemType);
266 Init *ParseOperationForEachFilter(Record *CurRec, RecTy *ItemType);
267 Init *ParseOperationCond(Record *CurRec, RecTy *ItemType);
[all …]
H A DRecord.cpp56 LLVM_DUMP_METHOD void RecTy::dump() const { print(errs()); } in dump()
59 ListRecTy *RecTy::getListTy() { in getListTy()
65 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
70 bool RecTy::typeIsA(const RecTy *RHS) const { return this == RHS; } in typeIsA()
72 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo()
73 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
94 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
95 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
101 bool BitsRecTy::typeIsA(const RecTy *RHS) const { in typeIsA()
107 bool IntRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
[all …]
H A DTGParser.cpp812 RecTy *TGParser::ParseType() { in ParseType()
847 RecTy *SubType = ParseType(); in ParseType()
918 Init *TGParser::ParseOperation(Record *CurRec, RecTy *ItemType) { in ParseOperation()
931 RecTy *Type = nullptr; in ParseOperation()
1067 RecTy *Type = ParseOperatorType(); in ParseOperation()
1139 RecTy *Type = nullptr; in ParseOperation()
1140 RecTy *ArgType = nullptr; in ParseOperation()
1213 RecTy *ListType = InitListBack->getType(); in ParseOperation()
1305 RecTy *Resolved = resolveTypes(ArgType, ListType); in ParseOperation()
1378 RecTy *Type = nullptr; in ParseOperation()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/TableGen/
H A DBackGuide.rst140 of the ``RecTy`` class (see `RecTy`_).
158 ``RecTy``
161 The ``RecTy`` class is used to represent the types of field values. It is
163 available field types. The ``RecTy`` class has one data member that is an
167 The ``RecTy`` class provides a few useful functions.
181 The subclasses that inherit from ``RecTy`` are
193 *All* of the classes derived from ``RecTy`` provide the ``get()`` function.
199 A ``RecTy`` instance can be printed to an output stream with the ``<<``
203 It is not specified whether there is a single ``RecTy`` instance of a
222 The ``get()`` function takes the ``RecTy`` *type* of the list members and argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp56 RecTy *RecType = nullptr;
624 RecTy *Ty = resolveTypes(Field.RecType, TI->getType()); in collectTableEntries()
H A DCodeGenRegisters.cpp633 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCall.cpp78 QualType RecTy; in DeriveThisType() local
80 RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal(); in DeriveThisType()
82 RecTy = Context.VoidTy; in DeriveThisType()
85 RecTy = Context.getAddrSpaceQualType(RecTy, MD->getMethodQualifiers().getAddressSpace()); in DeriveThisType()
86 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
H A DCGOpenMPRuntimeGPU.cpp4687 QualType RecTy = C.getRecordType(TeamReductionRec); in clear() local
4689 C, StaticRD, SourceLocation(), SourceLocation(), nullptr, RecTy, in clear()
4690 C.getTrivialTypeSourceInfo(RecTy, SourceLocation()), in clear()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp5287 QualType RecTy = Context.getTypeDeclType(Record); in BuildMicrosoftCAnonymousStruct() local
5292 /*IdentifierInfo=*/nullptr, RecTy, TInfo, in BuildMicrosoftCAnonymousStruct()
5307 if (RequireCompleteSizedType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct()
8831 const RecordType *RecTy = in checkIsValidOpenCLKernelParameter() local
8833 const RecordDecl *OrigRecDecl = RecTy->getDecl(); in checkIsValidOpenCLKernelParameter()
8835 VisitStack.push_back(RecTy->getDecl()); in checkIsValidOpenCLKernelParameter()