Go to file
Tobias Grosser bc13260775 BlockGenerator: Make GlobalMap a member variable
The GlobalMap variable used in BlockGenerator should always reference the same
list througout the entire code generation, hence we can make it a member
variable to avoid passing it around through every function call.

History: Before we switched to the SCEV based code generation the GlobalMap
also contained a mapping form old to new induction variables, hence it was
different for each ScopStmt, which is why we passed it as function argument
to copyStmt. The new SCEV based code generation now uses a separate mapping
called LTS -> LoopToSCEV that maps each original loop to a new loop iteration
variable provided as a SCEVExpr. The GlobalMap is currently mostly used for
OpenMP code generation, where references to parameters in the original function
need to be rewritten to the locations of these variables after they have been
passed to the subfunction.

Suggested-by: Johannes Doerfert <doerfert@cs.uni-saarland.de>
llvm-svn: 246920
2015-09-05 09:56:54 +00:00
clang Fix a bug in __builtin_object_size cast removal 2015-09-04 22:36:18 +00:00
clang-tools-extra Avoid repeated replacements on loop-convert check. 2015-09-04 21:37:05 +00:00
compiler-rt [asan] Detect asanwrapper binary in android tests. 2015-09-04 22:39:21 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update mailing list reference. 2015-08-24 22:43:24 +00:00
libcxx Try and fix links again. Seems to be a sphinx version issue. 2015-09-05 07:20:53 +00:00
libcxxabi Convert LIBCXXABI_BUILD_32_BITS to LLVM_BUILD_32_BITS. 2015-09-01 01:02:06 +00:00
libunwind unwind: cleanup -Wunused-parameter 2015-09-01 04:29:03 +00:00
lld [elf2] Add 32S and 64 relocations (needed for musl). 2015-09-05 00:36:03 +00:00
lldb [TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAll 2015-09-04 23:11:38 +00:00
llgo [llgo] drop debug/DIBuilder.Declare 2015-09-01 11:52:37 +00:00
llvm [mips][microMIPS] Implement ADD.fmt, SUB.fmt, MOV.fmt, MUL.fmt, DIV.fmt, MADDF.fmt, MSUBF.fmt and NEG.fmt instructions 2015-09-05 09:25:30 +00:00
openmp Remove duplicate of num_threads assignment. 2015-09-02 20:28:50 +00:00
polly BlockGenerator: Make GlobalMap a member variable 2015-09-05 09:56:54 +00:00