Lines Matching refs:Machine
221 static void llvm_finalize_target_machine(value Machine) { in llvm_finalize_target_machine() argument
222 LLVMDisposeTargetMachine(TargetMachine_val(Machine)); in llvm_finalize_target_machine()
235 static value llvm_alloc_targetmachine(LLVMTargetMachineRef Machine) { in llvm_alloc_targetmachine() argument
238 TargetMachine_val(V) = Machine; in llvm_alloc_targetmachine()
248 LLVMTargetMachineRef Machine; in llvm_create_targetmachine_native() local
265 Machine = LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr, in llvm_create_targetmachine_native()
268 return llvm_alloc_targetmachine(Machine); in llvm_create_targetmachine_native()
277 CAMLprim LLVMTargetRef llvm_targetmachine_target(value Machine) { in llvm_targetmachine_target() argument
278 return LLVMGetTargetMachineTarget(TargetMachine_val(Machine)); in llvm_targetmachine_target()
282 CAMLprim value llvm_targetmachine_triple(value Machine) { in llvm_targetmachine_triple() argument
284 TargetMachine_val(Machine))); in llvm_targetmachine_triple()
288 CAMLprim value llvm_targetmachine_cpu(value Machine) { in llvm_targetmachine_cpu() argument
290 TargetMachine_val(Machine))); in llvm_targetmachine_cpu()
294 CAMLprim value llvm_targetmachine_features(value Machine) { in llvm_targetmachine_features() argument
296 TargetMachine_val(Machine))); in llvm_targetmachine_features()
300 CAMLprim value llvm_targetmachine_data_layout(value Machine) { in llvm_targetmachine_data_layout() argument
302 TargetMachine_val(Machine))); in llvm_targetmachine_data_layout()
306 CAMLprim value llvm_targetmachine_set_verbose_asm(value Verb, value Machine) { in llvm_targetmachine_set_verbose_asm() argument
307 LLVMSetTargetMachineAsmVerbosity(TargetMachine_val(Machine), Bool_val(Verb)); in llvm_targetmachine_set_verbose_asm()
313 value FileType, value FileName, value Machine) { in llvm_targetmachine_emit_to_file() argument
316 if(LLVMTargetMachineEmitToFile(TargetMachine_val(Machine), Module, in llvm_targetmachine_emit_to_file()
329 value Machine) { in llvm_targetmachine_emit_to_memory_buffer() argument
333 if(LLVMTargetMachineEmitToMemoryBuffer(TargetMachine_val(Machine), Module, in llvm_targetmachine_emit_to_memory_buffer()
344 value Machine) { in llvm_targetmachine_add_analysis_passes() argument
345 LLVMAddAnalysisPasses(TargetMachine_val(Machine), PM); in llvm_targetmachine_add_analysis_passes()