Home
last modified time | relevance | path

Searched refs:FieldTypes (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp175 FieldTypes.push_back(getByteArrayType(Size)); in appendPaddingBytes()
218 SmallVector<llvm::Type *, 16> FieldTypes; member
368 FieldTypes.push_back(StorageType); in lowerUnion()
1025 FieldTypes.push_back(Member.Data); in fillOutputFields()
1028 Fields[Member.FD->getCanonicalDecl()] = FieldTypes.size() - 1; in fillOutputFields()
1031 setBitFieldInfo(Member.FD, Member.Offset, FieldTypes.back()); in fillOutputFields()
1033 NonVirtualBases[Member.RD] = FieldTypes.size() - 1; in fillOutputFields()
1035 VirtualBases[Member.RD] = FieldTypes.size() - 1; in fillOutputFields()
1092 getLLVMContext(), BaseBuilder.FieldTypes, "", BaseBuilder.Packed); in ComputeRecordLayout()
1104 Ty->setBody(Builder.FieldTypes, Builder.Packed); in ComputeRecordLayout()
H A DMicrosoftCXXABI.cpp498 llvm::Type *FieldTypes[] = { in getTypeDescriptorType() local
503 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, TDTypeName); in getTypeDescriptorType()
516 llvm::Type *FieldTypes[] = { in getBaseClassDescriptorType() local
526 CGM.getLLVMContext(), FieldTypes, "rtti.BaseClassDescriptor"); in getBaseClassDescriptorType()
534 llvm::Type *FieldTypes[] = {CGM.IntTy, CGM.IntTy, CGM.IntTy, in getClassHierarchyDescriptorType() local
537 llvm::StructType::create(FieldTypes, "rtti.ClassHierarchyDescriptor"); in getClassHierarchyDescriptorType()
544 llvm::Type *FieldTypes[] = { in getCompleteObjectLocatorType() local
552 llvm::ArrayRef<llvm::Type *> FieldTypesRef(FieldTypes); in getCompleteObjectLocatorType()
725 llvm::Type *FieldTypes[] = { in getCatchableTypeType() local
735 CGM.getLLVMContext(), FieldTypes, "eh.CatchableType"); in getCatchableTypeType()
[all …]
H A DCGExpr.cpp6715 llvm::SmallVector<QualType, 16> FieldTypes; in FlattenAccessAndType() local
6722 FieldTypes.push_back(Base.getType()); in FlattenAccessAndType()
6726 FieldTypes.push_back(FD->getType()); in FlattenAccessAndType()
6728 for (int64_t I = FieldTypes.size() - 1; I > -1; I--) { in FlattenAccessAndType()
6731 WorkList.insert(WorkList.end(), {FieldTypes[I], IdxListCopy}); in FlattenAccessAndType()
H A DCodeGenModule.cpp6722 QualType FieldTypes[] = { in getObjCFastEnumerationStateType() local
6733 FieldTypes[i], /*TInfo=*/nullptr, in getObjCFastEnumerationStateType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp280 SmallVector<Type *, N> FieldTypes; member in __anon8629f2db0111::ExpandVariadics::ExpandedCallFrame
285 FieldTypes.push_back(FieldType); in append()
300 size_t size() const { return FieldTypes.size(); } in size()
301 bool empty() const { return FieldTypes.empty(); } in empty()
305 return StructType::create(Ctx, FieldTypes, in asStruct()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp498 SmallVector<Type*, 16> FieldTypes; in finish() local
499 FieldTypes.reserve(LayoutFields.size() * 3 / 2); in finish()
512 FieldTypes.push_back(ArrayType::get(Type::getInt8Ty(Context), in finish()
517 F.LayoutFieldIndex = FieldTypes.size(); in finish()
519 FieldTypes.push_back(F.Ty); in finish()
521 FieldTypes.push_back( in finish()
527 StructType *Ty = StructType::create(Context, FieldTypes, Name, Packed); in finish()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp199 Type *FieldTypes[5] = {ElementTy, ElementTy, ElementTy, ElementTy, in getResRetType() local
201 return getOrCreateStructType(TypeName, FieldTypes, Ctx); in getResRetType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp8443 QualType FieldTypes[] = { in getBlockDescriptorType() local
8456 &Idents.get(FieldNames[i]), FieldTypes[i], /*TInfo=*/nullptr, in getBlockDescriptorType()
8478 QualType FieldTypes[] = { in getBlockDescriptorExtendedType() local
8495 &Idents.get(FieldNames[i]), FieldTypes[i], /*TInfo=*/nullptr, in getBlockDescriptorExtendedType()
9843 QualType FieldTypes[NumFields]; in CreateAArch64ABIBuiltinVaListDecl() local
9847 FieldTypes[0] = Context->getPointerType(Context->VoidTy); in CreateAArch64ABIBuiltinVaListDecl()
9851 FieldTypes[1] = Context->getPointerType(Context->VoidTy); in CreateAArch64ABIBuiltinVaListDecl()
9855 FieldTypes[2] = Context->getPointerType(Context->VoidTy); in CreateAArch64ABIBuiltinVaListDecl()
9859 FieldTypes[3] = Context->IntTy; in CreateAArch64ABIBuiltinVaListDecl()
9863 FieldTypes[4] = Context->IntTy; in CreateAArch64ABIBuiltinVaListDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp3169 llvm::SmallVector<QualType, 16> FieldTypes; in BuildFlattenedTypeList() local
3171 FieldTypes.push_back(FD->getType()); in BuildFlattenedTypeList()
3173 std::reverse(FieldTypes.begin(), FieldTypes.end()); in BuildFlattenedTypeList()
3174 llvm::append_range(WorkList, FieldTypes); in BuildFlattenedTypeList()
3179 FieldTypes.clear(); in BuildFlattenedTypeList()
3181 FieldTypes.push_back(Base.getType()); in BuildFlattenedTypeList()
3182 std::reverse(FieldTypes.begin(), FieldTypes.end()); in BuildFlattenedTypeList()
3183 llvm::append_range(WorkList, FieldTypes); in BuildFlattenedTypeList()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2535 QualType FieldTypes[2]; in getSuperStructType() local
2538 FieldTypes[0] = Context->getObjCIdType(); in getSuperStructType()
2540 FieldTypes[1] = Context->getObjCClassType(); in getSuperStructType()
2547 FieldTypes[i], nullptr, in getSuperStructType()
2563 QualType FieldTypes[4]; in getConstantStringStructType() local
2566 FieldTypes[0] = Context->getObjCIdType(); in getConstantStringStructType()
2568 FieldTypes[1] = Context->IntTy; in getConstantStringStructType()
2570 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
2572 FieldTypes[3] = Context->LongTy; in getConstantStringStructType()
2580 FieldTypes[i], nullptr, in getConstantStringStructType()
H A DRewriteModernObjC.cpp2982 QualType FieldTypes[2]; in getSuperStructType() local
2985 FieldTypes[0] = Context->getObjCIdType(); in getSuperStructType()
2987 FieldTypes[1] = Context->getObjCIdType(); in getSuperStructType()
2994 FieldTypes[i], nullptr, in getSuperStructType()
3010 QualType FieldTypes[4]; in getConstantStringStructType() local
3013 FieldTypes[0] = Context->getObjCIdType(); in getConstantStringStructType()
3015 FieldTypes[1] = Context->IntTy; in getConstantStringStructType()
3017 FieldTypes[2] = Context->getPointerType(Context->CharTy); in getConstantStringStructType()
3019 FieldTypes[3] = Context->LongTy; in getConstantStringStructType()
3027 FieldTypes[i], nullptr, in getConstantStringStructType()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp876 SmallVector<Register, 4> FieldTypes; in getOpTypeStruct() local
894 FieldTypes.push_back(getSPIRVTypeID(ElemTy)); in getOpTypeStruct()
907 MIBStruct.addUse(FieldTypes[I]); in getOpTypeStruct()
913 MIBCont.addUse(FieldTypes[I]); in getOpTypeStruct()