llvm-project/llvm/lib/CodeGen/GlobalISel
James Y Knight 72f76bf230 Add support for llvm.is.constant intrinsic (PR4898)
This adds the llvm-side support for post-inlining evaluation of the
__builtin_constant_p GCC intrinsic.

Also fixed SCCPSolver::visitCallSite to not blow up when seeing a call
to a function where canConstantFoldTo returns true, and one of the
arguments is a struct.

Updated from patch initially by Janusz Sobczak.

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

llvm-svn: 346322
2018-11-07 15:24:12 +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 [GISel]: Remove an incorrect assert in CallLowering 2018-09-28 15:08:49 +00:00
Combiner.cpp Re-commit: [globalisel] Add a combiner helpers for extending loads and use them in a pre-legalize combiner for AArch64 2018-10-03 02:12:17 +00:00
CombinerHelper.cpp [globalisel][combine] When placing truncates, handle the case when the BB is empty 2018-10-04 23:47:37 +00:00
GlobalISel.cpp [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
IRTranslator.cpp Add support for llvm.is.constant intrinsic (PR4898) 2018-11-07 15:24:12 +00:00
InstructionSelect.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
InstructionSelector.cpp ADT/STLExtras: Introduce llvm::empty; NFC 2018-10-31 00:23:23 +00:00
LLVMBuild.txt
LegalityPredicates.cpp [GISel] LegalizerInfo: Rename MemDesc::Size to SizeInBits to make the value clearer 2018-10-25 17:37:07 +00:00
LegalizeMutations.cpp [globalisel][legalizerinfo] Add support for the Lower action in getActionDefinitionsBuilder() and use it in AArch64. 2018-04-09 21:10:09 +00:00
Legalizer.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
LegalizerHelper.cpp [GlobalISel] LegalizerHelper: Fix the incorrect alignment when splitting loads/stores in narrowScalar 2018-10-25 17:52:19 +00:00
LegalizerInfo.cpp ADT/STLExtras: Introduce llvm::empty; NFC 2018-10-31 00:23:23 +00:00
Localizer.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
MachineIRBuilder.cpp [DebugInfo] Generate DWARF debug information for labels. (Fix leak problems) 2018-08-17 15:22:04 +00:00
RegBankSelect.cpp ADT/STLExtras: Introduce llvm::empty; NFC 2018-10-31 00:23:23 +00:00
RegisterBank.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
RegisterBankInfo.cpp ADT/STLExtras: Introduce llvm::empty; NFC 2018-10-31 00:23:23 +00:00
Utils.cpp [GISel]: Allow PHIs to be DCEd 2018-10-19 20:11:52 +00:00