Mercurial > hg > CbC > CbC_llvm
comparison bindings/ocaml/llvm/llvm.ml @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
17 type llbuilder | 17 type llbuilder |
18 type llattrkind | 18 type llattrkind |
19 type llattribute | 19 type llattribute |
20 type llmemorybuffer | 20 type llmemorybuffer |
21 type llmdkind | 21 type llmdkind |
22 | |
23 exception FeatureDisabled of string | |
24 | |
25 let () = Callback.register_exception "Llvm.FeatureDisabled" (FeatureDisabled "") | |
22 | 26 |
23 module TypeKind = struct | 27 module TypeKind = struct |
24 type t = | 28 type t = |
25 | Void | 29 | Void |
26 | Half | 30 | Half |
457 = "llvm_struct_element_types" | 461 = "llvm_struct_element_types" |
458 external is_packed : lltype -> bool = "llvm_is_packed" | 462 external is_packed : lltype -> bool = "llvm_is_packed" |
459 external is_opaque : lltype -> bool = "llvm_is_opaque" | 463 external is_opaque : lltype -> bool = "llvm_is_opaque" |
460 | 464 |
461 (*--... Operations on pointer, vector, and array types .....................--*) | 465 (*--... Operations on pointer, vector, and array types .....................--*) |
466 | |
467 external subtypes : lltype -> lltype array = "llvm_subtypes" | |
462 external array_type : lltype -> int -> lltype = "llvm_array_type" | 468 external array_type : lltype -> int -> lltype = "llvm_array_type" |
463 external pointer_type : lltype -> lltype = "llvm_pointer_type" | 469 external pointer_type : lltype -> lltype = "llvm_pointer_type" |
464 external qualified_pointer_type : lltype -> int -> lltype | 470 external qualified_pointer_type : lltype -> int -> lltype |
465 = "llvm_qualified_pointer_type" | 471 = "llvm_qualified_pointer_type" |
466 external vector_type : lltype -> int -> lltype = "llvm_vector_type" | 472 external vector_type : lltype -> int -> lltype = "llvm_vector_type" |