Lines Matching refs:CodeGen
272 LTOCodeGenerator CodeGen(Context); in main() local
275 CodeGen.setDiagnosticHandler(handleDiagnostics, nullptr); in main()
277 CodeGen.setCodePICModel(RelocModel); in main()
279 CodeGen.setDebugInfo(LTO_DEBUG_MODEL_DWARF); in main()
280 CodeGen.setTargetOptions(Options); in main()
310 CodeGen.setModule(std::move(Module)); in main()
311 } else if (!CodeGen.addModule(Module.get())) { in main()
320 CodeGen.addMustPreserveSymbol(ExportedSymbols[i].c_str()); in main()
324 CodeGen.addMustPreserveSymbol(KeptDSOSyms[i].c_str()); in main()
327 CodeGen.setCpu(MCPU.c_str()); in main()
329 CodeGen.setOptLevel(OptLevel - '0'); in main()
339 CodeGen.setAttr(attrs.c_str()); in main()
342 CodeGen.setFileType(FileType); in main()
345 if (!CodeGen.optimize(DisableVerify, DisableInline, DisableGVNLoadPRE, in main()
357 if (!CodeGen.writeMergedModules(ModuleFilename.c_str())) { in main()
379 if (!CodeGen.compileOptimized(OSPtrs)) { in main()
399 if (!CodeGen.compile_to_file(&OutputName, DisableVerify, DisableInline, in main()