Lines Matching full:machine

223 /*===---- Target Machine --------------------------------------------------===*/
227 static void llvm_finalize_target_machine(value Machine) { in llvm_finalize_target_machine() argument
228 LLVMDisposeTargetMachine(TargetMachine_val(Machine)); in llvm_finalize_target_machine()
241 static value llvm_alloc_targetmachine(LLVMTargetMachineRef Machine) { in llvm_alloc_targetmachine() argument
244 TargetMachine_val(V) = Machine; in llvm_alloc_targetmachine()
254 LLVMTargetMachineRef Machine; in llvm_create_targetmachine_native() local
271 Machine = LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr, in llvm_create_targetmachine_native()
274 return llvm_alloc_targetmachine(Machine); in llvm_create_targetmachine_native()
283 CAMLprim LLVMTargetRef llvm_targetmachine_target(value Machine) { in llvm_targetmachine_target() argument
284 return LLVMGetTargetMachineTarget(TargetMachine_val(Machine)); in llvm_targetmachine_target()
288 CAMLprim value llvm_targetmachine_triple(value Machine) { in llvm_targetmachine_triple() argument
290 TargetMachine_val(Machine))); in llvm_targetmachine_triple()
294 CAMLprim value llvm_targetmachine_cpu(value Machine) { in llvm_targetmachine_cpu() argument
296 TargetMachine_val(Machine))); in llvm_targetmachine_cpu()
300 CAMLprim value llvm_targetmachine_features(value Machine) { in llvm_targetmachine_features() argument
302 TargetMachine_val(Machine))); in llvm_targetmachine_features()
306 CAMLprim value llvm_targetmachine_data_layout(value Machine) { in llvm_targetmachine_data_layout() argument
307 CAMLparam1(Machine); in llvm_targetmachine_data_layout()
315 OrigDataLayout = LLVMGetTargetMachineData(TargetMachine_val(Machine)); in llvm_targetmachine_data_layout()
325 CAMLprim value llvm_targetmachine_set_verbose_asm(value Verb, value Machine) { in llvm_targetmachine_set_verbose_asm() argument
326 LLVMSetTargetMachineAsmVerbosity(TargetMachine_val(Machine), Bool_val(Verb)); in llvm_targetmachine_set_verbose_asm()
332 value FileType, value FileName, value Machine) { in llvm_targetmachine_emit_to_file() argument
335 if(LLVMTargetMachineEmitToFile(TargetMachine_val(Machine), Module, in llvm_targetmachine_emit_to_file()
348 value Machine) { in llvm_targetmachine_emit_to_memory_buffer() argument
352 if(LLVMTargetMachineEmitToMemoryBuffer(TargetMachine_val(Machine), Module, in llvm_targetmachine_emit_to_memory_buffer()
363 value Machine) { in llvm_targetmachine_add_analysis_passes() argument
364 LLVMAddAnalysisPasses(TargetMachine_val(Machine), PM); in llvm_targetmachine_add_analysis_passes()