Searched defs:ElementTypes (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Linker/
H A DLinkModules.cpp272 SmallVector<Type*, 4> ElementTypes; local
273 ElementTypes.resize(Ty->getNumContainedTypes());
275 ElementTypes[i] = getImpl(Ty->getContainedType(i));
276 AnyChange |= ElementTypes[i] != Ty->getContainedType(i);
292 return *Entry = ArrayType::get(ElementTypes[0],
295 return *Entry = VectorType::get(ElementTypes[0],
298 return *Entry = PointerType::get(ElementTypes[0],
301 return *Entry = FunctionType::get(ElementTypes[0],
302 makeArrayRef(ElementTypes).slice(1),
306 return *Entry = StructType::get(Ty->getContext(), ElementTypes,
[all...]
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c340 CAMLprim LLVMTypeRef llvm_struct_type(LLVMContextRef C, value ElementTypes) { argument
341 return LLVMStructTypeInContext(C, (LLVMTypeRef *) ElementTypes,
342 Wosize_val(ElementTypes), 0);
347 value ElementTypes) {
348 return LLVMStructTypeInContext(C, (LLVMTypeRef *) ElementTypes,
349 Wosize_val(ElementTypes), 1);
359 value ElementTypes,
361 LLVMStructSetBody(Ty, (LLVMTypeRef *) ElementTypes,
362 Wosize_val(ElementTypes), Bool_val(Packed));
346 llvm_packed_struct_type(LLVMContextRef C, value ElementTypes) argument
358 llvm_struct_set_body(LLVMTypeRef Ty, value ElementTypes, value Packed) argument
/external/llvm/lib/IR/
H A DCore.cpp414 LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, argument
416 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount);
420 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, argument
422 return LLVMStructTypeInContext(LLVMGetGlobalContext(), ElementTypes,
439 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, argument
441 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount);

Completed in 177 milliseconds