aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-08-09 19:33:32 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-08-09 19:33:32 +0000
commit21585fd9c15f2d95f557dfdaa1f2a54b5f313731 (patch)
tree1131fe9a1bc32ab9095b9475026902b1e1a3e045 /llvm/lib/CodeGen/StackProtector.cpp
parent9111258ad7dbddd1c451d8e492d279aae454b386 (diff)
downloadllvm-21585fd9c15f2d95f557dfdaa1f2a54b5f313731.zip
llvm-21585fd9c15f2d95f557dfdaa1f2a54b5f313731.tar.gz
llvm-21585fd9c15f2d95f557dfdaa1f2a54b5f313731.tar.bz2
Add a overload to CostTable which allows it to infer the size of the table.
Use it to avoid repeating ourselves too often. Also store MVT::SimpleValueType in the TTI tables so they can be statically initialized, MVT's constructors create bloated initialization code otherwise. llvm-svn: 188095
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions