Lines Matching refs:TargetMachine
1 //===-- TargetMachine.cpp -------------------------------------------------===//
9 // This file implements the LLVM-C part of TargetMachine.h
15 #include "llvm-c/TargetMachine.h"
27 #include "llvm/Target/TargetMachine.h"
34 static TargetMachine *unwrap(LLVMTargetMachineRef P) {
35 return reinterpret_cast<TargetMachine *>(P);
40 static LLVMTargetMachineRef wrap(const TargetMachine *P) {
41 return reinterpret_cast<LLVMTargetMachineRef>(const_cast<TargetMachine *>(P));
189 TargetMachine* TM = unwrap(T);
208 error = "TargetMachine can't emit a file of this type";