summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
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
commite8f35e1557cbc58b12fb7ec3750e64c6933e9905 (patch)
tree42015341616e170531add89abe9580c0420b988f /llvm/include/llvm-c
parent6cd3e560fddd19caef71f4fbd9242fdb53163801 (diff)
downloadbcm5719-llvm-e8f35e1557cbc58b12fb7ec3750e64c6933e9905.tar.gz
bcm5719-llvm-e8f35e1557cbc58b12fb7ec3750e64c6933e9905.zip
C API: Add LLVMAddTargetDependentFunctionAttr()
llvm-svn: 179645
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 67527750720..3d54a216178 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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()
OpenPOWER on IntegriCloud