summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-06 01:16:28 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-06 01:16:28 +0000
commit74bb06c0f02e650ea9ec73729f41a620fc55a8ee (patch)
treeafca8ce6c36562b58ca308a8e9ac59667e982e9e /llvm/include/llvm-c/Core.h
parenta10e65c852e1a4e27d57960276c6b0ef691fda71 (diff)
downloadbcm5719-llvm-74bb06c0f02e650ea9ec73729f41a620fc55a8ee.tar.gz
bcm5719-llvm-74bb06c0f02e650ea9ec73729f41a620fc55a8ee.zip
Reintroduce the InlineHint function attribute.
This time it's for real! I am going to hook this up in the frontends as well. The inliner has some experimental heuristics for dealing with the inline hint. When given a -respect-inlinehint option, functions marked with the inline keyword are given a threshold just above the default for -O3. We need some experiments to determine if that is the right thing to do. llvm-svn: 95466
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r--llvm/include/llvm-c/Core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 674dde509d5..98358fe3807 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -118,7 +118,8 @@ typedef enum {
LLVMNoCaptureAttribute = 1<<21,
LLVMNoRedZoneAttribute = 1<<22,
LLVMNoImplicitFloatAttribute = 1<<23,
- LLVMNakedAttribute = 1<<24
+ LLVMNakedAttribute = 1<<24,
+ LLVMInlineHintAttribute = 1<<25
} LLVMAttribute;
typedef enum {
OpenPOWER on IntegriCloud