summaryrefslogtreecommitdiff
path: root/lib/LTO
AgeCommit message (Expand)AuthorFilesLines
2015-12-04MSVC complains about this being ambiguous.Rafael Espindola1-2/+2
2015-12-04Always pass a diagnostic handler to the linker.Rafael Espindola1-4/+6
2015-12-04Modernize the C++ APIs for creating LTO modules.Rafael Espindola1-73/+58
2015-12-04Move a call to getGlobalContext out of lib/LTO.Rafael Espindola1-9/+2
2015-12-03Simplify since this function never fails.Rafael Espindola1-10/+2
2015-12-01Use references now that it is natural to do so.Rafael Espindola1-4/+4
2015-12-01Delete the setModule method from the Linker.Rafael Espindola1-4/+4
2015-11-19[LTO] Add option to emit assembly from LTOCodeGeneratorTobias Edler von Koch1-3/+7
2015-11-17Switch lto codegen to using diagnostic handlers.Yunzhong Gao1-28/+44
2015-11-11Add a libLTO diagnostic handler that supports lto_get_error_message APIYunzhong Gao1-8/+2
2015-11-09Add a method to the BitcodeReader to parse only the identification blockMehdi Amini1-0/+9
2015-09-15Reapply "LTO: Disable extra verify runs in release builds"Duncan P. N. Exon Smith1-8/+13
2015-09-15Revert "LTO: Disable extra verify runs in release builds"Duncan P. N. Exon Smith1-13/+8
2015-09-15LTO: Disable extra verify runs in release buildsDuncan P. N. Exon Smith1-8/+13
2015-09-12[PM] Port SROA to the new pass manager.Chandler Carruth1-1/+1
2015-09-11Add a non-exiting diagnostic handler for LTO.Yunzhong Gao1-2/+8
2015-09-09[PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatibleChandler Carruth1-1/+1
2015-09-01Fix typo.Yaron Keren1-1/+1
2015-08-31LTO: Cleanup parameter names and header docs, NFCDuncan P. N. Exon Smith1-53/+48
2015-08-27CodeGen: Introduce splitCodeGen and teach LTOCodeGenerator to use it.Peter Collingbourne1-13/+15
2015-08-24LTO: Simplify merged module ownership.Peter Collingbourne1-28/+12
2015-08-24LTO: Rename mergedModule variables to MergedModule to prepare for ownership c...Peter Collingbourne1-20/+17
2015-08-22LTO: Maintain target triple, FeatureStr and CGOptLevel in the module or LTOCo...Peter Collingbourne1-18/+22
2015-08-21LTO: Change signature of LTOCodeGenerator::setCodePICModel() to take a Reloc:...Peter Collingbourne1-30/+0
2015-08-21LTO: Simplify ownership of LTOCodeGenerator::TargetMach.Peter Collingbourne1-6/+3
2015-08-21LTO: Simplify ownership of LTOCodeGenerator::CodegenOptions.Peter Collingbourne1-15/+9
2015-08-18[PM/AA] Remove the last relics of the separate IPA library from LLVM,Chandler Carruth1-1/+0
2015-07-24Remove access to the DataLayout in the TargetMachineMehdi Amini2-2/+2
2015-07-24Revert "Remove access to the DataLayout in the TargetMachine"Mehdi Amini2-2/+2
2015-07-24Remove access to the DataLayout in the TargetMachineMehdi Amini2-2/+2
2015-07-04LTO: expose LTO_SYMBOL_ALIAS, which indicates that the symbol is an alias.Peter Collingbourne1-0/+3
2015-06-29Teach LTOModule to emit linker flags for dllexported symbols, plus interface ...Peter Collingbourne1-11/+13
2015-06-23Simplify the Mangler interface now that DataLayout is mandatory.Rafael Espindola1-1/+1
2015-06-16Return a unique_ptr from getLazyBitcodeModule and parseBitcodeFile. NFC.Rafael Espindola1-11/+12
2015-06-12Wrap some long lines in LLVMBuild files. NFCDouglas Katzman1-1/+16
2015-06-11LTO: expose LTO_SYMBOL_COMDAT flag, which indicates that the definition is pa...Peter Collingbourne1-0/+3
2015-06-01Make the C++ LTO API easier to use from C++ clients.Peter Collingbourne1-14/+7
2015-04-27LTO: Add API to choose whether to embed uselistsDuncan P. N. Exon Smith1-2/+1
2015-04-27LTO: Simplify code generator initializationDuncan P. N. Exon Smith1-15/+2
2015-04-17[LTO API] add lto_codegen_set_should_internalize.Manman Ren1-1/+2
2015-04-15uselistorder: Remove the global bitsDuncan P. N. Exon Smith1-6/+1
2015-04-15uselistorder: Pull the bit through WriteToBitcodFile()Duncan P. N. Exon Smith1-1/+2
2015-04-14Use raw_pwrite_stream in the object writer/streamer.Rafael Espindola1-1/+2
2015-04-14IR: Set -preserve-bc-uselistorder=false by defaultDuncan P. N. Exon Smith1-0/+5
2015-04-09Simplify use of formatted_raw_ostream.Rafael Espindola1-4/+1
2015-04-09This reverts commit r234460 and r234461.Rafael Espindola1-1/+4
2015-04-09Use the cast machinery to remove dummy uses of formatted_raw_ostream.Rafael Espindola1-4/+1
2015-04-08[LTO] do not run internalize pass from compileOptimized.Manman Ren1-3/+0
2015-03-30Remove more superfluous .str() and replace std::string concatenation with Twine.Yaron Keren1-1/+1
2015-03-19Verifier: Remove the separate -verify-di passDuncan P. N. Exon Smith1-1/+0