llvm-project/llvm/lib/CodeGen/GlobalISel
Petar Avramovic 98f72a5107 [MIPS GlobalISel] Select bitreverse. Recommit
G_BITREVERSE is generated from llvm.bitreverse.<type> intrinsics,
clang genrates these intrinsics from __builtin_bitreverse32 and
__builtin_bitreverse64.
Add lower and narrowscalar for G_BITREVERSE.
Lower G_BITREVERSE on MIPS32.

Recommit notes:
Introduce temporary variables in order to make sure
instructions get inserted into MachineFunction in same order
regardless of compiler used to build llvm.

Differential Revision: https://reviews.llvm.org/D71363
2019-12-30 18:06:29 +01:00
..
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
CSEInfo.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
CSEMIRBuilder.cpp [globalisel] Add G_SEXT_INREG 2019-08-09 21:11:20 +00:00
CallLowering.cpp [Alignment][NFC] TargetCallingConv::setByValAlign 2019-10-21 12:05:33 +00:00
Combiner.cpp [gicombiner] Add the run-time rule disable option 2019-10-17 00:37:04 +00:00
CombinerHelper.cpp [gicombiner] Import tryCombineIndexedLoadStore() 2019-12-18 14:41:38 +00:00
GISelChangeObserver.cpp [AArch64][GlobalISel] Enable copy elision in the pre-legalizer combine and fix a crash. 2019-04-13 00:33:25 +00:00
GISelKnownBits.cpp [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
GlobalISel.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IRTranslator.cpp [AArch64] [Windows] Use COFF stubs for calls to extern_weak functions 2019-12-23 12:13:49 +02:00
InstructionSelect.cpp [GlobalISel] Defer setting HasCalls on MachineFrameInfo to selection time. 2019-09-20 23:52:07 +00:00
InstructionSelector.cpp [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
LLVMBuild.txt Make GlobalISel depend on SelectionDAG after D63169 2019-06-22 01:30:17 +00:00
LegalityPredicates.cpp GlobalISel: Add alignment to LegalityQuery MMOs 2019-02-14 22:41:09 +00:00
LegalizeMutations.cpp GlobalISel: Try to make legalize rules more useful for vectors 2019-02-07 17:25:51 +00:00
Legalizer.cpp [Legalizer] Making artifact combining order-independent 2019-12-13 15:45:18 -08:00
LegalizerHelper.cpp [MIPS GlobalISel] Select bitreverse. Recommit 2019-12-30 18:06:29 +01:00
LegalizerInfo.cpp [GlobalISel]: Allow targets to override how to widen constants during legalization 2019-12-03 10:41:10 -08:00
Localizer.cpp [GlobalISel] Localizer: Allow targets not to run the pass conditionally 2019-12-05 11:09:50 -08:00
MachineIRBuilder.cpp [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
RegBankSelect.cpp GlobalISel: Fix naming variables "brank" instead of "bank" 2019-12-24 10:36:54 -05:00
RegisterBank.cpp Prune two MachineInstr.h includes, fix up deps 2019-10-19 00:22:07 +00:00
RegisterBankInfo.cpp GlobalISel: Update syntax in debug printing 2019-12-24 10:37:36 -05:00
Utils.cpp [GISel] Simplifying return from else in function. NFC 2019-10-10 21:51:30 +00:00