Home
last modified time | relevance | path

Searched refs:RecordType (Results 1 – 25 of 164) sorted by relevance

1234567

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp133 const RecordType *Ty = I.getType()->getAs<RecordType>(); in forallBases()
193 DetectedVirtual = BaseType->getAs<RecordType>(); in lookupInBases()
253 if (auto *RT = BaseSpec.getType()->getAs<RecordType>()) in lookupInBases()
271 BaseSpec.getType()->castAs<RecordType>()->getDecl()); in lookupInBases()
336 if (const RecordType *Record = PE.Base->getType()->getAs<RecordType>()) in lookupInBases()
347 if (const RecordType *Record = in lookupInBases()
348 HidingP.back().Base->getType()->getAs<RecordType>()) in lookupInBases()
368 return Specifier->getType()->castAs<RecordType>()->getDecl() in FindBaseClass()
378 Specifier->getType()->castAs<RecordType>()->getDecl() in FindVirtualBaseClass()
417 auto *RT = Specifier->getType()->getAs<RecordType>(); in findOrdinaryMemberInDependentClasses()
[all …]
H A DVTTBuilder.cpp68 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl()); in LayoutSecondaryVTTs()
94 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl()); in LayoutSecondaryVirtualPointers()
158 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl()); in LayoutVirtualVTTs()
H A DType.cpp81 ND = ty->castAs<RecordType>()->getDecl(); in getBaseTypeIdentifier()
624 if (const auto *RT = getAs<RecordType>()) in isClassType()
630 if (const auto *RT = getAs<RecordType>()) in isStructureType()
636 const auto *RT = getAs<RecordType>(); in isStructureTypeWithFlexibleArrayMember()
646 if (const auto *RT = getAs<RecordType>()) in isObjCBoxableRecordType()
652 if (const auto *RT = getAs<RecordType>()) in isInterfaceType()
658 if (const auto *RT = getAs<RecordType>()) { in isStructureOrClassType()
672 if (const auto *RT = getAs<RecordType>()) in isUnionType()
721 const RecordType *Type::getAsStructureType() const { in getAsStructureType()
723 if (const auto *RT = dyn_cast<RecordType>(this)) { in getAsStructureType()
[all …]
H A DDeclarationName.cpp119 if (const RecordType *ClassRec = ClassType->getAs<RecordType>()) { in printCXXConstructorDestructorName()
188 if (const RecordType *Rec = Type->getAs<RecordType>()) { in print()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.cpp113 CGCXXABI::RecordArgABI CodeGen::getRecordArgABI(const RecordType *RT, in getRecordArgABI()
125 const RecordType *RT = T->getAs<RecordType>(); in getRecordArgABI()
135 if (const auto *RT = Ty->getAs<RecordType>()) in classifyReturnType()
146 if (const RecordType *UT = Ty->getAsUnionType()) { in useFirstFieldIfTransparentUnion()
271 const RecordType *RT = FT->getAs<RecordType>(); in isEmptyField()
294 const RecordType *RT = T->getAs<RecordType>(); in isEmptyRecord()
325 const RecordType *RT = T->getAs<RecordType>(); in isEmptyRecordForLayout()
349 const RecordType *RT = T->getAs<RecordType>(); in isSingleElementStruct()
469 const RecordType *RT = Ty->getAs<RecordType>(); in isRecordWithSIMDVectorType()
H A DCodeGenTypes.cpp304 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>()) in ConvertFunctionTypeInternal()
308 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionTypeInternal()
366 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) in ConvertType()
816 ConvertRecordDeclType(I.getType()->castAs<RecordType>()->getDecl()); in ConvertRecordDeclType()
872 if (const RecordType *RT = T->getAs<RecordType>()) { in isZeroInitializable()
H A DCGCXX.cpp89 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl()); in TryEmitBaseDestructorAsAlias()
291 const RecordType *RT = T->getAs<RecordType>(); in BuildAppleKextVirtualCall()
H A DCodeGenTBAA.cpp103 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in isValidBaseType()
337 if (const RecordType *TTy = QTy->getAs<RecordType>()) { in CollectFields()
426 if (auto *TTy = dyn_cast<RecordType>(Ty)) { in getBaseTypeInfoHelper()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBDataStream.h25 using RecordType = SmallVector<uint8_t, 32>;
31 virtual std::optional<RecordType> getItemAtIndex(uint32_t Index) const = 0;
32 virtual bool getNext(RecordType &Record) = 0;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIADataStream.cpp27 std::optional<DIADataStream::RecordType>
29 RecordType Record; in getItemAtIndex()
41 bool DIADataStream::getNext(RecordType &Record) { in getNext()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp30 const RecordType *RT = T->getAs<RecordType>(); in IsLLVMStringRef()
203 if (const RecordType *baseT = T->getAs<RecordType>()) { in IsPartOfAST()
249 if (const RecordType *RT = T->getAs<RecordType>()) { in Visit()
H A DCastSizeChecker.cpp52 const RecordType *RT = ToPointeeTy->getAs<RecordType>(); in evenFlexibleArraySize()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DGOFFObjectWriter.cpp89 GOFF::RecordType CurrentType;
107 static void writeRecordPrefix(raw_ostream &OS, GOFF::RecordType Type,
131 void newRecord(GOFF::RecordType Type, size_t Size);
145 void GOFFOstream::writeRecordPrefix(raw_ostream &OS, GOFF::RecordType Type, in writeRecordPrefix()
155 void GOFFOstream::newRecord(GOFF::RecordType Type, size_t Size) { in newRecord()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIADataStream.h23 std::optional<RecordType> getItemAtIndex(uint32_t Index) const override;
24 bool getNext(RecordType &Record) override;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h94 template <typename RecordType>
95 Error visitKnownRecordImpl(CVType &CVR, RecordType &Record) { in visitKnownRecordImpl()
146 template <typename RecordType>
147 Error visitKnownMemberImpl(CVMemberRecord &CVR, RecordType &Record) { in visitKnownMemberImpl()
H A DContinuationRecordBuilder.h49 template <typename RecordType> void writeMemberType(RecordType &Record);
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DTrace.cpp74 auto RecordType = Reader.getU16(&OffsetPtr); in loadNaiveFormatLog()
80 switch (RecordType) { in loadNaiveFormatLog()
84 Record.RecordType = RecordType; in loadNaiveFormatLog()
204 "Unknown record type '%d' at offset %" PRId64 ".", RecordType, in loadNaiveFormatLog()
373 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog()
71 auto RecordType = Reader.getU16(&OffsetPtr); loadNaiveFormatLog() local
/freebsd/contrib/llvm-project/compiler-rt/include/xray/
H A Dxray_records.h76 uint16_t RecordType = RecordTypes::NORMAL; member
109 uint16_t RecordType = RecordTypes::ARG_PAYLOAD; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp77 typedef FunctionLoweringInfo::StatepointRelocationRecord RecordType; typedef
184 if (Record.type != RecordType::Spill) in findPreviousSpillSlot()
917 RecordType Record; in LowerAsSTATEPOINT()
920 Record.type = RecordType::SDValueNode; in LowerAsSTATEPOINT()
922 Record.type = RecordType::VReg; in LowerAsSTATEPOINT()
926 Record.type = RecordType::Spill; in LowerAsSTATEPOINT()
929 Record.type = RecordType::NoRelocate; in LowerAsSTATEPOINT()
1228 const RecordType &Record = SlotIt->second; in visitGCRelocate()
1231 if (Record.type == RecordType::SDValueNode) { in visitGCRelocate()
1240 if (Record.type == RecordType::VReg) { in visitGCRelocate()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DYAMLXRayRecord.h32 uint16_t RecordType; member
78 IO.mapRequired("type", Record.RecordType);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp199 const RecordType *RT = Ty->getAs<RecordType>(); in GetSingleElementType()
440 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classifyArgumentType()
512 if (const auto *RecordTy = Ty->getAs<RecordType>()) { in isVectorTypeBased()
H A DLanai.cpp89 const RecordType *RT = Ty->getAs<RecordType>(); in classifyArgumentType()
H A DMips.cpp139 const RecordType *RT = Ty->getAs<RecordType>(); in HandleAggregates()
246 const RecordType *RT = RetTy->getAs<RecordType>(); in returnAggregateInRegs()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h73 if (const RecordType *DestroyedRec = Destroyed->getAs<RecordType>()) { in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DGOFFObjectFile.cpp71 uint8_t RecordType = (I[1] & 0xF0) >> 4; in GOFFObjectFile() local
79 if (PrevRecordType == RecordType) { in GOFFObjectFile()
89 if (RecordType != PrevRecordType) { in GOFFObjectFile()
103 PrevRecordType = RecordType; in GOFFObjectFile()
114 switch (RecordType) { in GOFFObjectFile()
182 PrevRecordType = RecordType; in GOFFObjectFile()

1234567