Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Linker/
H A DIRMover.cpp271 SmallVector<Type *, 4> ElementTypes; in get() local
280 ElementTypes.resize(Ty->getNumContainedTypes()); in get()
282 ElementTypes[I] = get(Ty->getContainedType(I), Visited); in get()
283 AnyChange |= ElementTypes[I] != Ty->getContainedType(I); in get()
292 finishType(DTy, STy, ElementTypes); in get()
308 return *Entry = ArrayType::get(ElementTypes[0], in get()
312 return *Entry = VectorType::get(ElementTypes[0], in get()
315 return *Entry = PointerType::get(ElementTypes[0], in get()
318 return *Entry = FunctionType::get(ElementTypes[0], in get()
319 ArrayRef(ElementTypes).slice(1), in get()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DCore.h1325 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes,
1333 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
1355 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DCore.cpp715 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, in LLVMStructTypeInContext() argument
717 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructTypeInContext()
721 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, in LLVMStructType() argument
723 return LLVMStructTypeInContext(LLVMGetGlobalContext(), ElementTypes, in LLVMStructType()
740 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, in LLVMStructSetBody() argument
742 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructSetBody()