summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntime.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-08-08 16:45:36 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-08-08 16:45:36 +0000
commit4aa19052f301a21b0f1f4a416e86bbadd2a1b578 (patch)
treedf59b6e587697bc6ba720b2d17b9bdd318d4e270 /clang/lib/CodeGen/CGOpenMPRuntime.h
parentb498a23f0e757e50e504b5b9591e69e605f4fc12 (diff)
downloadbcm5719-llvm-4aa19052f301a21b0f1f4a416e86bbadd2a1b578.tar.gz
bcm5719-llvm-4aa19052f301a21b0f1f4a416e86bbadd2a1b578.zip
Revert "[OPENMP][DEBUG] Set proper address space info if required by target."
This reverts commit r310377. llvm-svn: 310379
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.h')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h
index 4f75e250cb9..809d9fa0a92 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.h
@@ -1325,32 +1325,6 @@ public:
virtual void emitDoacrossOrdered(CodeGenFunction &CGF,
const OMPDependClause *C);
- /// Translates the native parameter of outlined function if this is required
- /// for target.
- /// \param FD Field decl from captured record for the paramater.
- /// \param NativeParam Parameter itself.
- 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 corresponding
- /// target-specific argument.
- /// \param FD Field decl from captured record for the paramater.
- /// \param NativeParam Parameter itself.
- /// \param TargetParam Corresponding target-specific parameter.
- /// \param MapFn Function that maps the native parameter to the address of the
- /// target-specific.
- virtual void mapParameterAddress(CodeGenFunction &CGF, const FieldDecl *FD,
- const VarDecl *NativeParam,
- const VarDecl *TargetParam,
- const MappingFnType) 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
OpenPOWER on IntegriCloud