Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DRecord.h58 class RecTy {
79 RecTy(RecTyKind K, RecordKeeper &RK) : Kind(K), RK(RK) {} in RecTy() function
80 virtual ~RecTy() = default;
93 virtual bool typeIsConvertibleTo(const RecTy *RHS) const;
97 virtual bool typeIsA(const RecTy *RHS) const;
103 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) {
109 class BitRecTy : public RecTy {
112 BitRecTy(RecordKeeper &RK) : RecTy(BitRecTyKind, RK) {} in BitRecTy()
115 static bool classof(const RecTy *RT) { in classof()
123 bool typeIsConvertibleTo(const RecTy *RHS) const override;
[all …]
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.h76 RecTy *EltTy = nullptr;
255 Init *ParseSimpleValue(Record *CurRec, RecTy *ItemType = nullptr,
257 Init *ParseValue(Record *CurRec, RecTy *ItemType = nullptr,
260 Record *CurRec, RecTy *ItemType = nullptr);
271 RecTy *ParseType();
272 Init *ParseOperation(Record *CurRec, RecTy *ItemType);
273 Init *ParseOperationSubstr(Record *CurRec, RecTy *ItemType);
274 Init *ParseOperationFind(Record *CurRec, RecTy *ItemType);
275 Init *ParseOperationForEachFilter(Record *CurRec, RecTy *ItemType);
276 Init *ParseOperationCond(Record *CurRec, RecTy *ItemType);
[all …]
H A DRecord.cpp84 DenseMap<std::pair<RecTy *, Init *>, VarInit *> TheVarInitPool;
105 LLVM_DUMP_METHOD void RecTy::dump() const { print(errs()); } in dump()
108 ListRecTy *RecTy::getListTy() { in getListTy()
114 bool RecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
119 bool RecTy::typeIsA(const RecTy *RHS) const { return this == RHS; } in typeIsA()
125 bool BitRecTy::typeIsConvertibleTo(const RecTy *RHS) const{ in typeIsConvertibleTo()
126 if (RecTy::typeIsConvertibleTo(RHS) || RHS->getRecTyKind() == IntRecTyKind) in typeIsConvertibleTo()
147 bool BitsRecTy::typeIsConvertibleTo(const RecTy *RHS) const { in typeIsConvertibleTo()
148 if (RecTy::typeIsConvertibleTo(RHS)) //argument and the sender are same type in typeIsConvertibleTo()
154 bool BitsRecTy::typeIsA(const RecTy *RHS) const { in typeIsA()
[all …]
H A DTGParser.cpp814 RecTy *TGParser::ParseType() { in ParseType()
858 RecTy *SubType = ParseType(); in ParseType()
941 Init *TGParser::ParseOperation(Record *CurRec, RecTy *ItemType) { in ParseOperation()
955 RecTy *Type = nullptr; in ParseOperation()
1096 RecTy *Type = ParseOperatorType(); in ParseOperation()
1121 RecTy *Type = ParseOperatorType(); in ParseOperation()
1218 RecTy *Type = nullptr; in ParseOperation()
1219 RecTy *ArgType = nullptr; in ParseOperation()
1297 RecTy *ListType = InitListBack->getType(); in ParseOperation()
1397 RecTy *Resolved = resolveTypes(ArgType, ListType); in ParseOperation()
[all …]
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp54 RecTy *RecType = nullptr;
622 RecTy *Ty = resolveTypes(Field.RecType, TI->getType()); in collectTableEntries()
H A DCodeGenRegisters.cpp636 RecTy *RegisterRecTy = RecordRecTy::get(RegisterCl); in expand()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp83 QualType RecTy; in DeriveThisType() local
85 RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal(); in DeriveThisType()
87 RecTy = Context.VoidTy; in DeriveThisType()
90 RecTy = Context.getAddrSpaceQualType(RecTy, MD->getMethodQualifiers().getAddressSpace()); in DeriveThisType()
91 return Context.getPointerType(CanQualType::CreateUnsafe(RecTy)); in DeriveThisType()
H A DCGOpenMPRuntimeGPU.cpp3617 QualType RecTy = C.getRecordType(TeamReductionRec); in clear() local
3619 C, StaticRD, SourceLocation(), SourceLocation(), nullptr, RecTy, in clear()
3620 C.getTrivialTypeSourceInfo(RecTy, SourceLocation()), in clear()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDecl.cpp5771 QualType RecTy = Context.getTypeDeclType(Record); in BuildMicrosoftCAnonymousStruct() local
5776 /*IdentifierInfo=*/nullptr, RecTy, TInfo, in BuildMicrosoftCAnonymousStruct()
5791 if (RequireCompleteSizedType(Anon->getLocation(), RecTy, in BuildMicrosoftCAnonymousStruct()
9435 const RecordType *RecTy = in checkIsValidOpenCLKernelParameter() local
9437 const RecordDecl *OrigRecDecl = RecTy->getDecl(); in checkIsValidOpenCLKernelParameter()
9439 VisitStack.push_back(RecTy->getDecl()); in checkIsValidOpenCLKernelParameter()