Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp9-0x.cpp80 template<typename ...ElementTypes, unsigned ...Bounds>
81 struct split_arrays<ElementTypes[Bounds]...> {
82 typedef tuple<ElementTypes...> element_types;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp119 Type *ElementTypes[4] = {WordType, WordType, VoidPtrType, InitPtrType}; in addEmuTlsVar() local
120 ArrayRef<Type*> ElementTypeArray(ElementTypes, 4); in addEmuTlsVar()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DIRMover.cpp268 SmallVector<Type *, 4> ElementTypes; in get() local
277 ElementTypes.resize(Ty->getNumContainedTypes()); in get()
279 ElementTypes[I] = get(Ty->getContainedType(I), Visited); in get()
280 AnyChange |= ElementTypes[I] != Ty->getContainedType(I); in get()
289 finishType(DTy, STy, ElementTypes); in get()
305 return *Entry = ArrayType::get(ElementTypes[0], in get()
309 return *Entry = VectorType::get(ElementTypes[0], in get()
312 return *Entry = PointerType::get(ElementTypes[0], in get()
315 return *Entry = FunctionType::get(ElementTypes[0], in get()
331 DstStructTypesSet.findNonOpaque(ElementTypes, IsPacked)) { in get()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp792 template <typename... ShapedTypes, typename... ElementTypes>
794 type_list<ElementTypes...>) { in getUnderlyingType() argument
799 if (!underlyingType.isa<ElementTypes...>()) in getUnderlyingType()
806 template <typename... ElementTypes>
809 type_list<ElementTypes...>()); in getTypeIfLike()
813 template <typename... ElementTypes>
817 type_list<ElementTypes...>()); in getTypeIfLikeOrMemRef()
856 template <template <typename> class WidthComparator, typename... ElementTypes>
861 auto srcType = getTypeIfLike<ElementTypes...>(inputs.front()); in checkWidthChangeCast()
862 auto dstType = getTypeIfLike<ElementTypes...>(outputs.front()); in checkWidthChangeCast()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c504 LLVMTypeRef llvm_struct_type(LLVMContextRef C, value ElementTypes) { in llvm_struct_type() argument
505 return LLVMStructTypeInContext(C, (LLVMTypeRef *)ElementTypes, in llvm_struct_type()
506 Wosize_val(ElementTypes), 0); in llvm_struct_type()
510 LLVMTypeRef llvm_packed_struct_type(LLVMContextRef C, value ElementTypes) { in llvm_packed_struct_type() argument
511 return LLVMStructTypeInContext(C, (LLVMTypeRef *)ElementTypes, in llvm_packed_struct_type()
512 Wosize_val(ElementTypes), 1); in llvm_packed_struct_type()
520 value llvm_struct_set_body(LLVMTypeRef Ty, value ElementTypes, value Packed) { in llvm_struct_set_body() argument
521 LLVMStructSetBody(Ty, (LLVMTypeRef *)ElementTypes, Wosize_val(ElementTypes), in llvm_struct_set_body()
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DCore.h1313 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes,
1321 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
1343 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes,
/llvm-project-15.0.7/llvm/lib/IR/
H A DCore.cpp714 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, in LLVMStructTypeInContext() argument
716 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructTypeInContext()
720 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, in LLVMStructType() argument
722 return LLVMStructTypeInContext(LLVMGetGlobalContext(), ElementTypes, in LLVMStructType()
739 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, in LLVMStructSetBody() argument
741 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructSetBody()