Lines Matching refs:CodeGen
754 LTOCodeGenerator CodeGen(Context); in main() local
757 CodeGen.setDiagnosticHandler(handleDiagnostics, nullptr); in main()
759 CodeGen.setCodePICModel(getRelocModel()); in main()
761 CodeGen.setDebugInfo(LTO_DEBUG_MODEL_DWARF); in main()
762 CodeGen.setTargetOptions(Options); in main()
763 CodeGen.setShouldRestoreGlobalsLinkage(RestoreGlobalsLinkage); in main()
793 CodeGen.setModule(std::move(Module)); in main()
794 } else if (!CodeGen.addModule(Module.get())) { in main()
802 CodeGen.addMustPreserveSymbol(ExportedSymbols[i].c_str()); in main()
806 CodeGen.addMustPreserveSymbol(KeptDSOSyms[i].c_str()); in main()
809 CodeGen.setCpu(MCPU.c_str()); in main()
811 CodeGen.setOptLevel(OptLevel - '0'); in main()
821 CodeGen.setAttr(attrs.c_str()); in main()
824 CodeGen.setFileType(FileType); in main()
827 if (!CodeGen.optimize(DisableVerify, DisableInline, DisableGVNLoadPRE, in main()
838 if (!CodeGen.writeMergedModules(ModuleFilename.c_str())) in main()
855 if (!CodeGen.compileOptimized(OSPtrs)) in main()
869 if (!CodeGen.compile_to_file(&OutputName, DisableVerify, DisableInline, in main()