aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Builtins.def
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Builtins.def')
-rw-r--r--include/clang/AST/Builtins.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/AST/Builtins.def b/include/clang/AST/Builtins.def
index d23cc14eb9..a2d54df18d 100644
--- a/include/clang/AST/Builtins.def
+++ b/include/clang/AST/Builtins.def
@@ -24,6 +24,7 @@
// The second value provided to the macro specifies the type of the function
// (result value, then each argument) as follows:
// v -> void
+// b -> boolean
// c -> char
// s -> short
// i -> int
@@ -165,4 +166,7 @@ BUILTIN(__sync_fetch_and_xor,"ii*i", "n")
BUILTIN(__sync_lock_test_and_set,"ii*i", "n")
BUILTIN(__sync_val_compare_and_swap,"ii*ii", "n")
+// LLVM instruction builtin
+BUILTIN(__builtin_llvm_memory_barrier,"vbbbbb", "n")
+
#undef BUILTIN