summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-08-04 21:27:11 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-08-04 21:27:11 +0000
commitd90ec748a8f813efc371d239f8b0480b7c364426 (patch)
tree89df8d9aaa9b919835deeb198103c8c82bf2c890 /clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
parentefd884d3938c8866a49c1753d5450f32d258835c (diff)
downloadbcm5719-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/CGOpenMPRuntimeNVPTX.h')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
index 66b12d69a89..ae25e94759e 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
@@ -268,32 +268,6 @@ public:
/// \return Specified function.
llvm::Constant *createNVPTXRuntimeFunction(unsigned Function);
- /// 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.
- const VarDecl *translateParameter(const FieldDecl *FD,
- const VarDecl *NativeParam) const override;
-
- /// 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.
- void mapParameterAddress(CodeGenFunction &CGF, const FieldDecl *FD,
- const VarDecl *NativeParam,
- const VarDecl *TargetParam,
- const MappingFnType MapFn) const override;
-
- /// Emits call of the outlined function with the provided arguments,
- /// translating these arguments to correct target-specific arguments.
- void emitOutlinedFunctionCall(
- CodeGenFunction &CGF, llvm::Value *OutlinedFn,
- ArrayRef<llvm::Value *> Args = llvm::None) const override;
-
/// Target codegen is specialized based on two programming models: the
/// 'generic' fork-join model of OpenMP, and a more GPU efficient 'spmd'
/// model for constructs like 'target parallel' that support it.
OpenPOWER on IntegriCloud