diff options
author | gonglingqin <gonglingqin@loongson.cn> | 2022-11-10 17:12:02 +0800 |
---|---|---|
committer | gonglingqin <gonglingqin@loongson.cn> | 2022-11-10 17:27:44 +0800 |
commit | 85f08c4197aea68b2444e6874524b5f8b4067cfd (patch) | |
tree | 848f848c370306532a0d0388903ae860e42ef8a4 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 60e5cfe2a4eba3bf0a642aeeb53a3f37dfed5fdb (diff) | |
download | llvm-85f08c4197aea68b2444e6874524b5f8b4067cfd.zip llvm-85f08c4197aea68b2444e6874524b5f8b4067cfd.tar.gz llvm-85f08c4197aea68b2444e6874524b5f8b4067cfd.tar.bz2 |
[Clang][LoongArch] Implement __builtin_loongarch_dbar builtin
Differential Revision: https://reviews.llvm.org/D136906
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 7ef22eb..aece9bd 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -4262,6 +4262,7 @@ public: llvm::Value *EmitHexagonBuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitRISCVBuiltinExpr(unsigned BuiltinID, const CallExpr *E, ReturnValueSlot ReturnValue); + llvm::Value *EmitLoongArchBuiltinExpr(unsigned BuiltinID, const CallExpr *E); void ProcessOrderScopeAMDGCN(llvm::Value *Order, llvm::Value *Scope, llvm::AtomicOrdering &AO, llvm::SyncScope::ID &SSID); |