llvm-project/llvm/lib/CodeGen/GlobalISel
Aditya Nandakumar 91fc4e0949 [GISel]: Add helpers for easy building G_FCONSTANT along with matchers
Added helpers to build G_FCONSTANT, along with matching ConstantFP and
unit tests for the same.

Sample usage.

auto MIB = Builder.buildFConstant(s32, 0.5); // Build IEEESingle
For Matching the above

const ConstantFP* Tmp;
mi_match(DstReg, MRI, m_GFCst(Tmp));

https://reviews.llvm.org/D44128
reviewed by: volkan

llvm-svn: 327152
2018-03-09 17:31:51 +00:00
..
CMakeLists.txt [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
CallLowering.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
Combiner.cpp [GISel]: Implement GlobalISel combiner API. 2018-01-25 00:41:58 +00:00
CombinerHelper.cpp [GISel]: Implement GlobalISel combiner API. 2018-01-25 00:41:58 +00:00
GlobalISel.cpp [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
IRTranslator.cpp GlobalISel: IRTranslate llvm.fabs.* intrinsic 2018-03-05 22:31:55 +00:00
InstructionSelect.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
InstructionSelector.cpp [GISel] Make constrainSelectedInstRegOperands() available to the legalizer. NFC 2018-01-17 19:31:33 +00:00
LLVMBuild.txt Revert "Get GlobalISel to build on Linux after r286407" 2016-11-16 22:24:59 +00:00
LegalityPredicates.cpp [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
LegalizeMutations.cpp [globalisel][legalizer] Change identity() to changeTo() to clarify that it changes things. NFC 2018-01-29 20:46:16 +00:00
Legalizer.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
LegalizerHelper.cpp GlobalISel: Add templated functions and pattern matcher support for some more opcodes 2018-02-14 19:58:36 +00:00
LegalizerInfo.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
Localizer.cpp [CodeGen] Rename functions PrintReg* to printReg* 2017-11-28 12:42:37 +00:00
MachineIRBuilder.cpp [GISel]: Add helpers for easy building G_FCONSTANT along with matchers 2018-03-09 17:31:51 +00:00
RegBankSelect.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
RegisterBank.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
RegisterBankInfo.cpp [GISel][NFC]: Move RegisterBankInfo::getSizeInBits into TargetRegisterInfo. 2018-02-02 19:42:07 +00:00
Utils.cpp [GISel]: Add helpers for easy building G_FCONSTANT along with matchers 2018-03-09 17:31:51 +00:00