Lines Matching refs:TM
92 addPassesToGenerateCode(LLVMTargetMachine *TM, PassManagerBase &PM, in addPassesToGenerateCode() argument
98 if (TM->Options.EmulatedTLS) in addPassesToGenerateCode()
99 PM.add(createLowerEmuTLSPass(TM)); in addPassesToGenerateCode()
102 PM.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis())); in addPassesToGenerateCode()
106 TargetPassConfig *PassConfig = TM->createPassConfig(PM); in addPassesToGenerateCode()
125 *TM->getMCAsmInfo(), *TM->getMCRegisterInfo(), TM->getObjFileLowering()); in addPassesToGenerateCode()
129 PM.add(new MachineFunctionAnalysis(*TM, MFInitializer)); in addPassesToGenerateCode()
132 TM->setO0WantsFastISel(EnableFastISelOption != cl::BOU_FALSE); in addPassesToGenerateCode()
134 (TM->getOptLevel() == CodeGenOpt::None && in addPassesToGenerateCode()
135 TM->getO0WantsFastISel())) in addPassesToGenerateCode()
136 TM->setFastISel(true); in addPassesToGenerateCode()