llvm.org GIT mirror llvm / 1430425
Fix some ocaml documentation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96323 91177308-0d34-0410-b5e6-96231b3b80d8 Erick Tryzelaar 9 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
14191419 = "llvm_build_aggregate_ret"
14201420
14211421 (** [build_br bb b] creates a
1422 [b %bb]
1422 [br %bb]
14231423 instruction at the position specified by the instruction builder [b].
14241424 See the method [llvm::LLVMBuilder::CreateBr]. *)
14251425 external build_br : llbasicblock -> llbuilder -> llvalue = "llvm_build_br"
14261426
14271427 (** [build_cond_br cond tbb fbb b] creates a
1428 [b %cond, %tbb, %fbb]
1428 [br %cond, %tbb, %fbb]
14291429 instruction at the position specified by the instruction builder [b].
14301430 See the method [llvm::LLVMBuilder::CreateCondBr]. *)
14311431 external build_cond_br : llvalue -> llbasicblock -> llbasicblock -> llbuilder ->
14751475 external build_add : llvalue -> llvalue -> string -> llbuilder -> llvalue
14761476 = "llvm_build_add"
14771477
1478 (** [build_nswadd x y name b] creates a
1478 (** [build_nsw_add x y name b] creates a
14791479 [%name = nsw add %x, %y]
14801480 instruction at the position specified by the instruction builder [b].
14811481 See the method [llvm::LLVMBuilder::CreateNSWAdd]. *)
10301030 return LLVMBuildSwitch(Builder_val(B), Of, Else, Int_val(EstimatedCount));
10311031 }
10321032
1033 CAMLprim value llvm_add_case(LLVMValueRef Switch,
1034 LLVMValueRef OnVal,
1033 /* llvalue -> llvalue -> llbasicblock -> unit */
1034 CAMLprim value llvm_add_case(LLVMValueRef Switch, LLVMValueRef OnVal,
10351035 LLVMBasicBlockRef Dest) {
10361036 LLVMAddCase(Switch, OnVal, Dest);
10371037 return Val_unit;