aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-04-16 23:12:43 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-04-16 23:12:43 +0000
commit68ee1520ce777871353e33fcc63725439e611f4e (patch)
treea1e73a889298083042d828668e294f5235af7af9 /include/llvm-c/Core.h
parent634054947c87502e29c0610eb9b378515b768814 (diff)
downloadexternal_llvm-68ee1520ce777871353e33fcc63725439e611f4e.zip
external_llvm-68ee1520ce777871353e33fcc63725439e611f4e.tar.gz
external_llvm-68ee1520ce777871353e33fcc63725439e611f4e.tar.bz2
C API: Add LLVMAddTargetDependentFunctionAttr()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r--include/llvm-c/Core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 6752775..3d54a21 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -1706,6 +1706,13 @@ void LLVMSetGC(LLVMValueRef Fn, const char *Name);
void LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA);
/**
+ * Add a target-dependent attribute to a fuction
+ * @see llvm::AttrBuilder::addAttribute()
+ */
+void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A,
+ const char *V);
+
+/**
* Obtain an attribute from a function.
*
* @see llvm::Function::getAttributes()