Lines Matching refs:TM
294 llvm::TargetMachine *TM = NULL; in compile() local
322 TM = Target->createTargetMachine(Triple, CPU, FeaturesStr, in compile()
324 if (TM == NULL) { in compile()
346 if (runCodeGen(new llvm::TargetData(*TD), TM, in compile()
353 if (runMCCodeGen(new llvm::TargetData(*TD), TM) != 0) { in compile()
437 Target, TM, func_list[i], (unsigned char const *)func, size); in compile()
508 if (TM) { in compile()
509 delete TM; in compile()
522 int Compiler::runCodeGen(llvm::TargetData *TD, llvm::TargetMachine *TM, in runCodeGen() argument
544 mCodeEmitter->setTargetMachine(*TM); in runCodeGen()
556 if (TM->addPassesToEmitMachineCode(*CodeGenPasses, in runCodeGen()
648 int Compiler::runMCCodeGen(llvm::TargetData *TD, llvm::TargetMachine *TM) { in runMCCodeGen() argument
653 TM->setMCRelaxAll(/* RelaxAll= */ true); in runMCCodeGen()
663 if (TM->addPassesToEmitMC(MCCodeGenPasses, Ctx, OutSVOS, in runMCCodeGen()