llvm-project/clang/lib
Alexey Bataev be99c61588 [OPENMP50]Codegen for iterator construct.
Implemented codegen for the iterator expression in the depend clauses.
Iterator construct is emitted the following way:
iterator(cnt1, cnt2, ...), in : <dep>

<TotalNumDeps> = <cnt1_size> * <cnt2_size> * ...;
kmp_depend_t deps[<TotalNumDeps>];
deps_counter = 0;
for (cnt1) {
  for (cnt2) {
    ...
    deps[deps_counter].base_addr = &<dep>;
    deps[deps_counter].size = sizeof(<dep>);
    deps[deps_counter].flags = in;
    deps_counter += 1;
    ...
  }
}

For depobj construct the codegen is very similar, but the memory is
allocated dynamically and added extra first item reserved for internal use.
2020-04-07 15:26:00 -04:00
..
ARCMigrate Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
AST [OPENMP50]Codegen for iterator construct. 2020-04-07 15:26:00 -04:00
ASTMatchers Fixed licenses in dynamic ast matchers 2020-04-07 12:08:06 +01:00
Analysis [AST] Remove DeclCXX.h dep on ASTContext.h 2020-04-06 10:09:01 -07:00
Basic Remove llvm::Error include form Diagnostic.h 2020-04-06 10:42:17 -07:00
CodeGen [OPENMP50]Codegen for iterator construct. 2020-04-07 15:26:00 -04:00
CrossTU [clang] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:27:46 -08:00
DirectoryWatcher Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
Driver [Hexagon] Update paths for linux/musl 2020-04-07 13:45:52 -05:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Don't break multi block parameters on ObjCBreakBeforeNestedBlockParam 2020-04-06 14:20:09 -07:00
Frontend Fix a typo in an assert message; NFC. 2020-04-06 11:50:50 -04:00
FrontendTool [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Headers [X86] Fix implicit sign conversion warnings in X86 headers. 2020-04-07 11:25:08 +01:00
Index Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
Lex Remove llvm::Error include form Diagnostic.h 2020-04-06 10:42:17 -07:00
Parse [clang][CodeComplete] Dont perform fallback completion for incomplete member ref 2020-04-06 20:08:24 +02:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [OPENMP50]Codegen for iterator construct. 2020-04-07 15:26:00 -04:00
Serialization [OPENMP50]Codegen for iterator construct. 2020-04-07 15:26:00 -04:00
StaticAnalyzer [OpenMP] Fix layering problem with FrontendOpenMP 2020-04-06 13:04:26 -05:00
Tooling [Syntax] Add mapping from spelled to expanded tokens for TokenBuffer 2020-04-07 15:07:16 +02:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00