Lines Matching refs:TMBuilder
336 bool Freestanding, const TargetMachineBuilder &TMBuilder) { in ModuleCacheEntry() argument
351 Conf.Options = TMBuilder.Options; in ModuleCacheEntry()
352 Conf.CPU = TMBuilder.MCpu; in ModuleCacheEntry()
353 Conf.MAttrs.push_back(TMBuilder.MAttr); in ModuleCacheEntry()
354 Conf.RelocModel = TMBuilder.RelocModel; in ModuleCacheEntry()
355 Conf.CGOptLevel = TMBuilder.CGOptLevel; in ModuleCacheEntry()
515 static void initTMBuilder(TargetMachineBuilder &TMBuilder, in initTMBuilder() argument
519 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder()
521 TMBuilder.MCpu = "core2"; in initTMBuilder()
523 TMBuilder.MCpu = "yonah"; in initTMBuilder()
526 TMBuilder.MCpu = "cyclone"; in initTMBuilder()
528 TMBuilder.TheTriple = std::move(TheTriple); in initTMBuilder()
545 initTMBuilder(TMBuilder, Triple(TheTriple)); in addModule()
546 else if (TMBuilder.TheTriple != TheTriple) { in addModule()
547 if (!TMBuilder.TheTriple.isCompatibleWith(TheTriple)) in addModule()
550 initTMBuilder(TMBuilder, Triple(TMBuilder.TheTriple.merge(TheTriple))); in addModule()
821 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in internalize()
827 computeGUIDPreservedSymbols(File, PreservedSymbols, TMBuilder.TheTriple); in internalize()
879 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in optimize()
882 optimizeModule(TheModule, *TMBuilder.create(), OptLevel, Freestanding, in optimize()
892 auto ArchName = TMBuilder.TheTriple.getArchName(); in writeGeneratedObject()
954 auto OutputBuffer = codegenModule(*TheModule, *TMBuilder.create()); in run()
993 computeGUIDPreservedSymbols(*M, PreservedSymbols, TMBuilder.TheTriple, in run()
1085 TMBuilder); in run()
1127 *TheModule, *Index, ModuleMap, *TMBuilder.create(), ImportList, in run()