aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStackLayout.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10[CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; ↵Eugene Zelenko1-3/+9
other minor fixes (NFC). llvm-svn: 315380
2016-08-02[safestack] Layout large allocas first to reduce fragmentation.Evgeniy Stepanov1-0/+8
llvm-svn: 277544
2016-07-25Fix invalid iterator use in safestack coloring.Evgeniy Stepanov1-1/+2
llvm-svn: 276676
2016-06-29StackColoring for SafeStack.Evgeniy Stepanov1-0/+138
This is a fix for PR27842. An IR-level implementation of stack coloring tailored to work with SafeStack. It is a bit weaker than the MI implementation in that it does not the "lifetime start at first access" logic. This can be improved in the future. This patch also replaces the naive implementation of stack frame layout with a greedy algorithm that can split existing stack slots and even fit small objects inside the alignment padding of other objects. llvm-svn: 274162