diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-04 19:10:54 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-04 19:10:54 +0000 |
commit | 2c7eee5b849d80d804764de602b0c08d05d38ab9 (patch) | |
tree | 0d75e587614224ea14e8000c776a830d9b5804b3 /clang/lib/CodeGen/CGOpenMPRuntime.h | |
parent | 44200125e9d71fc6491b68b8337b64a5f11c34ea (diff) | |
download | bcm5719-llvm-2c7eee5b849d80d804764de602b0c08d05d38ab9.tar.gz bcm5719-llvm-2c7eee5b849d80d804764de602b0c08d05d38ab9.zip |
[OPENMP] Unify generation of outlined function calls.
llvm-svn: 310098
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.h')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h index 5dcf999bea3..809d9fa0a92 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.h +++ b/clang/lib/CodeGen/CGOpenMPRuntime.h @@ -1324,6 +1324,12 @@ public: /// \param C 'depend' clause with 'sink|source' dependency kind. virtual void emitDoacrossOrdered(CodeGenFunction &CGF, const OMPDependClause *C); + + /// Emits call of the outlined function with the provided arguments, + /// translating these arguments to correct target-specific arguments. + virtual void + emitOutlinedFunctionCall(CodeGenFunction &CGF, llvm::Value *OutlinedFn, + ArrayRef<llvm::Value *> Args = llvm::None) const; }; } // namespace CodeGen |