Lines Matching refs:DL
69 value DL) { in llvm_datalayout_add_to_pass_manager() argument
70 LLVMAddTargetData(DataLayout_val(DL), PM); in llvm_datalayout_add_to_pass_manager()
75 CAMLprim value llvm_datalayout_byte_order(value DL) { in llvm_datalayout_byte_order() argument
76 return Val_int(LLVMByteOrder(DataLayout_val(DL))); in llvm_datalayout_byte_order()
80 CAMLprim value llvm_datalayout_pointer_size(value DL) { in llvm_datalayout_pointer_size() argument
81 return Val_int(LLVMPointerSize(DataLayout_val(DL))); in llvm_datalayout_pointer_size()
85 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) { in llvm_datalayout_intptr_type() argument
86 return LLVMIntPtrTypeInContext(C, DataLayout_val(DL));; in llvm_datalayout_intptr_type()
90 CAMLprim value llvm_datalayout_qualified_pointer_size(value AS, value DL) { in llvm_datalayout_qualified_pointer_size() argument
91 return Val_int(LLVMPointerSizeForAS(DataLayout_val(DL), Int_val(AS))); in llvm_datalayout_qualified_pointer_size()
97 value DL) { in llvm_datalayout_qualified_intptr_type() argument
98 return LLVMIntPtrTypeForASInContext(C, DataLayout_val(DL), Int_val(AS)); in llvm_datalayout_qualified_intptr_type()
102 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { in llvm_datalayout_size_in_bits() argument
103 return caml_copy_int64(LLVMSizeOfTypeInBits(DataLayout_val(DL), Ty)); in llvm_datalayout_size_in_bits()
107 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_store_size() argument
108 return caml_copy_int64(LLVMStoreSizeOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_store_size()
112 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_size() argument
113 return caml_copy_int64(LLVMABISizeOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_abi_size()
117 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_align() argument
118 return Val_int(LLVMABIAlignmentOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_abi_align()
122 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_stack_align() argument
123 return Val_int(LLVMCallFrameAlignmentOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_stack_align()
127 CAMLprim value llvm_datalayout_preferred_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_preferred_align() argument
128 return Val_int(LLVMPreferredAlignmentOfType(DataLayout_val(DL), Ty)); in llvm_datalayout_preferred_align()
133 value DL) { in llvm_datalayout_preferred_align_of_global() argument
134 return Val_int(LLVMPreferredAlignmentOfGlobal(DataLayout_val(DL), GlobalVar)); in llvm_datalayout_preferred_align_of_global()
139 value DL) { in llvm_datalayout_element_at_offset() argument
140 return Val_int(LLVMElementAtOffset(DataLayout_val(DL), Ty, in llvm_datalayout_element_at_offset()
146 value DL) { in llvm_datalayout_offset_of_element() argument
147 return caml_copy_int64(LLVMOffsetOfElement(DataLayout_val(DL), Ty, in llvm_datalayout_offset_of_element()