1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/opt
Sam Parker 7df94e8bbc [CodeGen] Generic Hardware Loop Support
Patch which introduces a target-independent framework for generating
hardware loops at the IR level. Most of the code has been taken from
PowerPC CTRLoops and PowerPC has been ported over to use this generic
pass. The target dependent parts have been moved into
TargetTransformInfo, via isHardwareLoopProfitable, with
HardwareLoopInfo introduced to transfer information from the backend.
    
Three generic intrinsics have been introduced:
- void @llvm.set_loop_iterations
  Takes as a single operand, the number of iterations to be executed.
- i1 @llvm.loop_decrement(anyint)
  Takes the maximum number of elements processed in an iteration of
  the loop body and subtracts this from the total count. Returns
  false when the loop should exit.
- anyint @llvm.loop_decrement_reg(anyint, anyint)
  Takes the number of elements remaining to be processed as well as
  the maximum numbe of elements processed in an iteration of the loop
  body. Returns the updated number of elements remaining.

llvm-svn: 362774
2019-06-07 07:35:30 +00:00
..
AnalysisWrappers.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BreakpointPrinter.cpp [DebugInfo] Delete TypedDINodeRef 2019-05-07 02:06:37 +00:00
BreakpointPrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Fix -DBUILD_SHARED_LIBS=ON build after rL362160 2019-05-31 01:04:00 +00:00
Debugify.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Debugify.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GraphPrinters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NewPMDriver.cpp [NewPassManager] Adding pass tuning options: loop vectorize. 2019-04-19 16:11:59 +00:00
NewPMDriver.h [PGO] Context sensitive PGO (part 3) 2019-03-04 20:21:27 +00:00
opt.cpp [CodeGen] Generic Hardware Loop Support 2019-06-07 07:35:30 +00:00
PassPrinters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PassPrinters.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PrintSCC.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00