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