aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/IPO/MergeFunctions.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-01-14[NewPM] Port MergeFunctions passNikita Popov1-14/+33
2019-12-11[MergeFuncs] Remove incorrect attribute copyingNikita Popov1-22/+4
2019-11-13Sink all InitializePasses.h includesReid Kleckner1-0/+1
2019-10-15[Alignment][NFC] Remove dependency on GlobalObject::setAlignment(unsigned)Guillaume Chatelet1-2/+2
2019-04-23Use llvm::stable_sortFangrui Song1-1/+1
2019-04-19[MergeFunc] Delete unused FunctionNode::release()Fangrui Song1-2/+0
2019-04-19[MergeFunc] removeUsers: call remove() only on direct usersFangrui Song1-21/+3
2019-04-19[MergeFunc] Use less_first() as the comparator of Schwartzian transformFangrui Song1-6/+1
2019-04-19MergeFunc: preserve COMDAT information when creating a thunkSaleem Abdulrasool1-0/+1
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2019-01-19[MergeFunc] Allow merging identical vararg functions using aliasesVedant Kumar1-11/+14
2019-01-17[MergeFunc] Prevent silent miscompile of vararg functionsVedant Kumar1-1/+7
2019-01-11[MergeFunc] Erase unused duplicate functions if they are discardableVedant Kumar1-1/+1
2019-01-11[MergeFunc] Use Instruction::getFunction as a cleanup, NFCVedant Kumar1-2/+2
2018-12-18[IPO][AVR] Create new Functions in the default address space specified in the...Dylan McKay1-4/+4
2018-11-21[MergeFuncs] Generate alias instead of thunk if possibleNikita Popov1-14/+73
2018-11-08[MergeFuncs] Improve ordering of equal functionswhitequark1-9/+21
2018-11-08[MergeFuncs] Call removeUsers() prior to unnamed_addr RAUWwhitequark1-0/+1
2018-10-18[TI removal] Switch MergeFunctions to directly use Instruction API.Chandler Carruth1-1/+1
2018-07-30Remove trailing spaceFangrui Song1-5/+5
2018-06-12Use SmallPtrSet explicitly for SmallSets with pointer types (NFC).Florian Hahn1-2/+2
2018-05-23Remove DEBUG macro.Nicola Zaghen1-2/+2
2018-05-15[MergeFunctions] Fix merging of small weak functionswhitequark1-35/+49
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen1-81/+87
2017-10-19[Transforms] Fix some Clang-tidy modernize and Include What You Use warnings;...Eugene Zelenko1-14/+34
2017-10-19[MergeFunctions] Don't blindly RAUW a GlobalValue with a ConstantExpr.whitequark1-0/+3
2017-10-15[MergeFunctions] Merge small functions if possible without a thunk.whitequark1-12/+10
2017-10-15[MergeFunctions] Replace all uses of unnamed_addr functions.whitequark1-3/+9
2017-07-27[MergeFunctions] Remove alias support.whitequark1-47/+4
2017-05-01Rename WeakVH to WeakTrackingVH; NFCSanjoy Das1-9/+11
2017-04-28[IPO/MergeFunctions] This function is used only under DEBUG().Davide Italiano1-0/+4
2017-04-26Reverts commit r301424, r301425 and r301426Sanjoy Das1-11/+9
2017-04-26Rename WeakVH to WeakTrackingVH; NFCSanjoy Das1-9/+11
2017-04-13[IR] Make getParamAttributes take argument numbers, not ArgNo+1Reid Kleckner1-13/+9
2017-04-12[IR] Add AttributeSet to hide AttributeSetNode* again, NFCReid Kleckner1-1/+2
2017-04-10Reland "[IR] Make AttributeSetNode public, avoid temporary AttributeList copies"Reid Kleckner1-2/+1
2017-04-10Revert "[IR] Make AttributeSetNode public, avoid temporary AttributeList copies"Reid Kleckner1-1/+2
2017-04-10[IR] Make AttributeSetNode public, avoid temporary AttributeList copiesReid Kleckner1-2/+1
2017-03-21Rename AttributeSet to AttributeListReid Kleckner1-2/+2
2017-01-28Use print() instead of dump() in codeMatthias Braun1-5/+2
2017-01-21MergeFunctions: Preserve debug info in thunks, under option -mergefunc-preser...Anmol P. Paralkar1-22/+248
2016-11-11Make the FunctionComparator of the MergeFunctions pass a stand-alone utility.Erik Eckstein1-1217/+1
2016-08-17Replace a few more "fall through" comments with LLVM_FALLTHROUGHJustin Bogner1-0/+1
2016-06-26Apply clang-tidy's modernize-loop-convert to most of lib/Transforms.Benjamin Kramer1-4/+4
2016-06-14IR: Introduce local_unnamed_addr attribute.Peter Collingbourne1-1/+1
2016-05-31Fix a crash in MergeFunctions related to ordering of weak/strong functionsErik Eckstein1-32/+12
2016-05-20Functions with differing phis should not be merged.Mark Lacey1-0/+11
2016-04-22Re-commit optimization bisect support (r267022) without new pass manager supp...Andrew Kaylor1-0/+3
2016-04-22Revert "Initial implementation of optimization bisect support."Vedant Kumar1-3/+0
2016-04-21Initial implementation of optimization bisect support.Andrew Kaylor1-0/+3