Lines Matching refs:DL

69 CAMLprim value llvm_datalayout_byte_order(value DL) {  in llvm_datalayout_byte_order()  argument
70 return Val_int(LLVMByteOrder(DataLayout_val(DL))); in llvm_datalayout_byte_order()
74 CAMLprim value llvm_datalayout_pointer_size(value DL) { in llvm_datalayout_pointer_size() argument
75 return Val_int(LLVMPointerSize(DataLayout_val(DL))); in llvm_datalayout_pointer_size()
79 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) { in llvm_datalayout_intptr_type() argument
80 return LLVMIntPtrTypeInContext(C, DataLayout_val(DL));; in llvm_datalayout_intptr_type()
84 CAMLprim value llvm_datalayout_qualified_pointer_size(value AS, value DL) { in llvm_datalayout_qualified_pointer_size() argument
85 return Val_int(LLVMPointerSizeForAS(DataLayout_val(DL), Int_val(AS))); in llvm_datalayout_qualified_pointer_size()
91 value DL) { in llvm_datalayout_qualified_intptr_type() argument
92 return LLVMIntPtrTypeForASInContext(C, DataLayout_val(DL), Int_val(AS)); in llvm_datalayout_qualified_intptr_type()
96 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { in llvm_datalayout_size_in_bits() argument
97 return caml_copy_int64(LLVMSizeOfTypeInBits(DataLayout_val(DL), Ty)); in llvm_datalayout_size_in_bits()
101 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_store_size() argument
102 return caml_copy_int64(LLVMStoreSizeOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_store_size()
106 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_size() argument
107 return caml_copy_int64(LLVMABISizeOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_abi_size()
111 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_align() argument
112 return Val_int(LLVMABIAlignmentOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_abi_align()
116 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_stack_align() argument
117 return Val_int(LLVMCallFrameAlignmentOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_stack_align()
121 CAMLprim value llvm_datalayout_preferred_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_preferred_align() argument
122 return Val_int(LLVMPreferredAlignmentOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_preferred_align()
127 value DL) { in llvm_datalayout_preferred_align_of_global() argument
128 return Val_int(LLVMPreferredAlignmentOfGlobal(DataLayout_val(DL), GlobalVar)); in llvm_datalayout_preferred_align_of_global()
133 value DL) { in llvm_datalayout_element_at_offset() argument
134 return Val_int(LLVMElementAtOffset(DataLayout_val(DL), Ty, in llvm_datalayout_element_at_offset()
140 value DL) { in llvm_datalayout_offset_of_element() argument
141 return caml_copy_int64(LLVMOffsetOfElement(DataLayout_val(DL), Ty, in llvm_datalayout_offset_of_element()