summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.h
diff options
context:
space:
mode:
authorAlexander Musman <alexander.musman@gmail.com>2014-09-30 05:29:28 +0000
committerAlexander Musman <alexander.musman@gmail.com>2014-09-30 05:29:28 +0000
commit09184fedc0491328ff287d7049578c6ca1443b9b (patch)
tree06251a4147a5d7c305bf705bbb3bc69ef1a1fcf4 /clang/lib/CodeGen/TargetInfo.h
parentaab5d7bd33ef6047c0037c5e0f01029c35924bf1 (diff)
downloadbcm5719-llvm-09184fedc0491328ff287d7049578c6ca1443b9b.tar.gz
bcm5719-llvm-09184fedc0491328ff287d7049578c6ca1443b9b.zip
[OPENMP] Codegen of the ‘aligned’ clause for the ‘omp simd’ directive.
Differential Revision: http://reviews.llvm.org/D5499 llvm-svn: 218660
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r--clang/lib/CodeGen/TargetInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h
index f14965009d9..cc469d69e39 100644
--- a/clang/lib/CodeGen/TargetInfo.h
+++ b/clang/lib/CodeGen/TargetInfo.h
@@ -218,6 +218,13 @@ public:
virtual void getDetectMismatchOption(llvm::StringRef Name,
llvm::StringRef Value,
llvm::SmallString<32> &Opt) const {}
+
+ /// Gets the target-specific default alignment used when an 'aligned' clause
+ /// is used with a 'simd' OpenMP directive without specifying a specific
+ /// alignment.
+ virtual unsigned getOpenMPSimdDefaultAlignment(QualType Type) const {
+ return 0;
+ }
};
}
OpenPOWER on IntegriCloud