diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-04 21:27:11 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-04 21:27:11 +0000 |
commit | d90ec748a8f813efc371d239f8b0480b7c364426 (patch) | |
tree | 89df8d9aaa9b919835deeb198103c8c82bf2c890 /clang/lib/CodeGen/CGOpenMPRuntime.h | |
parent | efd884d3938c8866a49c1753d5450f32d258835c (diff) | |
download | bcm5719-llvm-d90ec748a8f813efc371d239f8b0480b7c364426.tar.gz bcm5719-llvm-d90ec748a8f813efc371d239f8b0480b7c364426.zip |
Revert "[OPENMP][DEBUG] Set proper address space info if required by target."
This reverts commit r310104.
llvm-svn: 310135
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.h')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h index c0682e2be99..809d9fa0a92 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.h +++ b/clang/lib/CodeGen/CGOpenMPRuntime.h @@ -1325,33 +1325,6 @@ public: virtual void emitDoacrossOrdered(CodeGenFunction &CGF, const OMPDependClause *C); - /// Translates argument of outlined function if this is required for target. - /// \param FD A field for the corresponding captured variable in the captured - /// record. - /// \param NativeParam Native parameter of the outlined function. - virtual const VarDecl *translateParameter(const FieldDecl *FD, - const VarDecl *NativeParam) const { - return NativeParam; - } - - typedef llvm::function_ref<void(CodeGenFunction &, const VarDecl *, Address)> - MappingFnType; - /// Maps the native argument to the address of the target-specific argument. - /// \param FD A field for the corresponding captured variable in the captured - /// record. - /// \param NativeParam Native parameter of the outlined function. - /// \param TargetParam Target-specific parameter of the outlined function - /// (provided by the \a CGOpenMPRuntime::translateParameter). - /// \param MapFn Mapping function that maps the address of the \p NativeParam - /// to the address of the \p TargetParam. - virtual void mapParameterAddress(CodeGenFunction &CGF, const FieldDecl *FD, - const VarDecl *NativeParam, - const VarDecl *TargetParam, - const MappingFnType MapFn) const { - assert(NativeParam == TargetParam && - "native and target args must be the same"); - } - /// Emits call of the outlined function with the provided arguments, /// translating these arguments to correct target-specific arguments. virtual void |