Home
last modified time | relevance | path

Searched refs:ElementTypes (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp272 SmallVector<Type *, 4> ElementTypes; in get() local
281 ElementTypes.resize(Ty->getNumContainedTypes()); in get()
283 ElementTypes[I] = get(Ty->getContainedType(I), Visited); in get()
284 AnyChange |= ElementTypes[I] != Ty->getContainedType(I); in get()
293 finishType(DTy, STy, ElementTypes); in get()
309 return *Entry = ArrayType::get(ElementTypes[0], in get()
313 return *Entry = VectorType::get(ElementTypes[0], in get()
316 return *Entry = PointerType::get(ElementTypes[0], in get()
319 return *Entry = FunctionType::get(ElementTypes[0], in get()
320 ArrayRef(ElementTypes).slice(1), in get()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp141 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar() local
142 StructType *EmuTlsVarType = StructType::create(ElementTypes); in addEmuTlsVar()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp312 SmallVector<Type *> ElementTypes(Ty->getNumContainedTypes(), nullptr); in remapTypeImpl() local
316 ElementTypes[I] = NewElem; in remapTypeImpl()
325 return *Entry = ArrayType::get(ElementTypes[0], ArrTy->getNumElements()); in remapTypeImpl()
327 return *Entry = FunctionType::get(ElementTypes[0], in remapTypeImpl()
328 ArrayRef(ElementTypes).slice(1), in remapTypeImpl()
336 return *Entry = StructType::get(Ty->getContext(), ElementTypes, IsPacked); in remapTypeImpl()
342 Placeholder->setBody(ElementTypes, IsPacked); in remapTypeImpl()
346 return *Entry = StructType::create(Ty->getContext(), ElementTypes, Name, in remapTypeImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1447 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes,
1455 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
1477 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp792 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, in LLVMStructTypeInContext() argument
794 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructTypeInContext()
798 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, in LLVMStructType() argument
800 return LLVMStructTypeInContext(LLVMGetGlobalContext(), ElementTypes, in LLVMStructType()
817 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, in LLVMStructSetBody() argument
819 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructSetBody()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp9865 SmallVector<QualType, 8> ElementTypes; in DeduceTemplateSpecializationFromInitializer() local
9867 InitListChecker CheckInitList(*this, Entity, ListInit, Ty, ElementTypes); in DeduceTemplateSpecializationFromInitializer()
9878 I < E && !isa<PackExpansionType>(ElementTypes[I]); ++I) in DeduceTemplateSpecializationFromInitializer()
9879 if (ElementTypes[I]->isArrayType()) { in DeduceTemplateSpecializationFromInitializer()
9881 ElementTypes[I] = Context.getRValueReferenceType(ElementTypes[I]); in DeduceTemplateSpecializationFromInitializer()
9884 ElementTypes[I] = in DeduceTemplateSpecializationFromInitializer()
9885 Context.getLValueReferenceType(ElementTypes[I].withConst()); in DeduceTemplateSpecializationFromInitializer()
9890 LookupTemplateDecl, ElementTypes, in DeduceTemplateSpecializationFromInitializer()