llvm-project/llvm/lib/CodeGen/GlobalISel
Daniel Sanders ea8711b88e Re-commit r315885: [globalisel][tblgen] Add support for iPTR and implement am_unscaled* and am_indexed*
Summary:
iPTR is a pointer of subtarget-specific size to any address space. Therefore
type checks on this size derive the SizeInBits from a subtarget hook.

At this point, we can import the simplests G_LOAD rules and select load
instructions using them. Further patches will support for the predicates to
enable additional loads as well as the stores.

The previous commit failed on MSVC due to a failure to convert an
initializer_list to a std::vector. Hopefully, MSVC will accept this version.

Depends on D37457

Reviewers: ab, qcolombet, t.p.northover, rovka, aditya_nandakumar

Reviewed By: qcolombet

Subscribers: kristof.beyls, javed.absar, llvm-commits, igorb

Differential Revision: https://reviews.llvm.org/D37458

llvm-svn: 315887
2017-10-16 03:36:29 +00:00
..
CMakeLists.txt [GlobalISel] Remove a stall comment in CMake. 2017-08-04 20:15:41 +00:00
CallLowering.cpp [GISel]: Fix generation of illegal COPYs during CallLowering 2017-10-09 20:07:43 +00:00
GlobalISel.cpp [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
IRTranslator.cpp Rename OptimizationDiagnosticInfo.* to OptimizationRemarkEmitter.* 2017-10-09 23:19:02 +00:00
InstructionSelect.cpp ARM: Compute MaxCallFrame size early 2017-05-05 22:04:05 +00:00
InstructionSelector.cpp Re-commit r315885: [globalisel][tblgen] Add support for iPTR and implement am_unscaled* and am_indexed* 2017-10-16 03:36:29 +00:00
LLVMBuild.txt Revert "Get GlobalISel to build on Linux after r286407" 2016-11-16 22:24:59 +00:00
Legalizer.cpp [Legalizer] Use SmallSetVector instead of SetVector. 2017-10-13 21:16:14 +00:00
LegalizerHelper.cpp [Legalizer] Add support for G_OR NarrowScalar. 2017-10-03 04:53:56 +00:00
LegalizerInfo.cpp [LegalizerInfo] Don't evaluate end boundary every time through the loop 2017-10-13 21:16:13 +00:00
Localizer.cpp GlobalISel: stop localizer putting constants before EH_LABELs 2017-07-20 22:58:26 +00:00
MachineIRBuilder.cpp [GISel]: Implement widenScalar for Legalizing G_PHI 2017-08-25 04:57:27 +00:00
RegBankSelect.cpp Reverting r315590; it did not include changes for llvm-tblgen, which is causing link errors for several people. 2017-10-15 14:32:27 +00:00
RegisterBank.cpp Reverting r315590; it did not include changes for llvm-tblgen, which is causing link errors for several people. 2017-10-15 14:32:27 +00:00
RegisterBankInfo.cpp Reverting r315590; it did not include changes for llvm-tblgen, which is causing link errors for several people. 2017-10-15 14:32:27 +00:00
Utils.cpp [GlobalISel] Only build expensive remarks if they're enabled. NFC. 2017-09-18 18:50:09 +00:00