diff options
author | Alexander Musman <alexander.musman@gmail.com> | 2014-09-30 05:29:28 +0000 |
---|---|---|
committer | Alexander Musman <alexander.musman@gmail.com> | 2014-09-30 05:29:28 +0000 |
commit | 09184fedc0491328ff287d7049578c6ca1443b9b (patch) | |
tree | 06251a4147a5d7c305bf705bbb3bc69ef1a1fcf4 /clang/lib/CodeGen/TargetInfo.h | |
parent | aab5d7bd33ef6047c0037c5e0f01029c35924bf1 (diff) | |
download | bcm5719-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.h | 7 |
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; + } }; } |