llvm-project/polly/lib/CodeGen
Michael Kruse 6249bfeefe [Polly][CodeGen] Remove use of ScalarEvolution.
ScalarEvolution::getSCEV cannot be used during codegen. ScalarEvolution
assumes a stable IR and control flow which is under construction during
Polly's CodeGen. In particular, it uses DominatorTree for compute the
backedge taken count. However the DominatorTree is not updated during
codegen.

In this case, SCEV was used to determine the base pointer of an array
access. Replace it by our own function. Polly generates only GEP and
BitCasts for array acceses, i.e. it is sufficient to handle these to to
find the base pointer.

Fixes llvm.org/PR48422
2020-12-07 15:21:51 -06:00
..
BlockGenerators.cpp Get the address space within getVectorPtrTy 2020-10-20 14:42:10 -07:00
CodeGeneration.cpp [Polly] Fix build after IRBuilder changes 2020-02-17 19:02:50 +01:00
CodegenCleanup.cpp [polly] Don't include PassSupport.h directly - include via Pass.h 2020-04-26 15:51:32 +01:00
IRBuilder.cpp [Polly][CodeGen] Remove use of ScalarEvolution. 2020-12-07 15:21:51 -06:00
IslAst.cpp [ScheduleOptimizer] Hoist extension nodes after schedule optimization. 2019-05-31 19:26:57 +00:00
IslExprBuilder.cpp [Polly] Update map passed to SCEVParameterReweriter. 2020-09-18 11:42:33 +01:00
IslNodeBuilder.cpp AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
LoopGenerators.cpp Fix polly build after StringRef change. 2020-01-28 19:44:20 -08:00
LoopGeneratorsGOMP.cpp [polly][opaque pointers] Remove use of deprecated APIs. 2020-04-03 18:00:33 -07:00
LoopGeneratorsKMP.cpp Creating a named struct requires only a Context and a name, but looking up a struct by name requires a Module. The method on Module merely accesses the LLVMContextImpl and no data from the module itself, so this patch moves getTypeByName to a static method on StructType that takes a Context and a name. 2020-11-30 11:34:12 -08:00
ManagedMemoryRewrite.cpp [Polly] Add override qualifiers. 2020-11-16 21:29:37 -06:00
PPCGCodeGeneration.cpp [Polly] Add override qualifiers. 2020-11-16 21:29:37 -06:00
PerfMonitor.cpp [Polly] Replace use of std::stringstream. NFC. 2020-03-09 11:35:34 -05:00
RuntimeDebugBuilder.cpp [Alignment][NFC] Use Align with CreateAlignedStore 2020-01-23 17:34:32 +01:00
Utils.cpp