aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/GlobalMerge.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-1/+1
2020-01-28[GlobalMerge] Preserve symbol visibility when merging globalsMichael Spang1-0/+2
2019-11-13Sink all InitializePasses.h includesReid Kleckner1-0/+1
2019-10-15[Alignment][NFC] Remove dependency on GlobalObject::setAlignment(unsigned)Guillaume Chatelet1-4/+4
2019-04-23Use llvm::stable_sortFangrui Song1-10/+10
2019-04-04[IR] Refactor attribute methods in Function class (NFC)Evandro Menezes1-1/+1
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-08-30[GlobalMerge] Fix GlobalMerge on bss external global variables.Huihui Zhang1-1/+1
2018-08-29[NFC] Make getPreferredAlignment honor section markings.Eli Friedman1-10/+1
2018-08-02[GlobalMerge] Allow merging globals with explicit section markings.Eli Friedman1-10/+22
2018-07-30Remove trailing spaceFangrui Song1-1/+1
2018-07-25[GlobalMerge] Handle llvm.compiler.used correctly.Eli Friedman1-4/+5
2018-07-25[GlobalMerge] Allow merging globals with arbitrary alignment.Eli Friedman1-18/+26
2018-06-06[GlobalMerge] Set the alignment on merged global structsDavid Green1-0/+5
2018-05-19[GlobalMerge] Exit early if only one global is to be mergedHaicheng Wu1-1/+9
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen1-2/+2
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl1-2/+2
2018-04-26[GlobalMerge] Fix a typoHaicheng Wu1-1/+1
2018-03-23Move TargetLoweringObjectFile from CodeGen to Target to fix layeringDavid Blaikie1-1/+1
2018-02-12[GlobalMerge] Allow merging of dllexported variablesMartin Storsjo1-3/+6
2018-01-24[GlobalMerge] Don't merge dllexport globalsMartin Storsjo1-1/+2
2017-11-17Fix a bunch more layering of CodeGen headers that are in TargetDavid Blaikie1-2/+2
2017-11-09[GlobalMerge] Stable sort GlobalSets to fix non-deterministic sort orderMandeep Singh Grang1-1/+1
2017-09-22[CodeGen] Fix some Clang-tidy modernize-use-default-member-init and Include W...Eugene Zelenko1-15/+38
2017-06-05Add support for #pragma clang sectionJaved Absar1-1/+2
2017-06-02[GlobalMerge] Don't merge globals that may be preemptedJohn Brawn1-0/+4
2017-05-25CodeGen: Rename DEBUG_TYPE to match passnamesMatthias Braun1-4/+1
2016-11-11Simplify code and address review comments (NFC)Adrian Prantl1-4/+3
2016-11-11Fix a reference-to-temporary introduced in r286607.Adrian Prantl1-8/+10
2016-11-11Revert "Use private linkage for MergedGlobals variables" on Darwin.Adrian Prantl1-3/+25
2016-10-19[GlobalMerge] Handle non-landingpad EH padsReid Kleckner1-14/+10
2016-10-01Use StringRef in Pass/PassManager APIs (NFC)Mehdi Amini1-3/+1
2016-09-13DebugInfo: New metadata representation for global variables.Peter Collingbourne1-0/+6
2016-05-19CodeGen: Make the global-merge pass independently testable, and add a test.Peter Collingbourne1-7/+20
2016-01-27Make some headers self-contained, remove unused includes that violate layering.Benjamin Kramer1-1/+0
2015-10-09CodeGen: Use range-based for in GlobalMerge, NFCDuncan P. N. Exon Smith1-16/+15
2015-09-14[opaque pointer types] Switch a few cases of getElementType over, since I had...David Blaikie1-5/+3
2015-09-14Revert "[opaque pointer type] Pass GlobalAlias the actual pointer type rather...David Blaikie1-1/+2
2015-08-25Fix dropped conditional in cleanup in r245752David Blaikie1-3/+4
2015-08-21Range-for-ify some things in GlobalMergeDavid Blaikie1-19/+14
2015-08-21[opaque pointer types] Fix a few easy places in GlobalMerge that were accessi...David Blaikie1-10/+7
2015-08-18use minSize wrapper; NFCISanjay Patel1-2/+1
2015-08-12[GlobalMerge] Only emit aliases for internal linkage variables for non-Mach-OJohn Brawn1-3/+10
2015-08-11[GlobalMerge] Use private linkage for MergedGlobals variablesJohn Brawn1-25/+5
2015-08-08Fix some comment typos.Benjamin Kramer1-1/+1
2015-08-03[GlobalMerge] Allow targets to enable merging of extern variables, NFC.John Brawn1-8/+15
2015-07-07Redirect DataLayout from TargetMachine to Module in GlobalMergeMehdi Amini1-13/+16
2015-06-08Fix assertion failure in global-merge with unused ConstantExprOliver Stannard1-0/+2
2015-06-04[GlobalMerge] Take into account minsize on Global users' parents.Ahmed Bougacha1-4/+18
2015-04-29[opaque pointer type] Pass GlobalAlias the actual pointer type rather than de...David Blaikie1-2/+1