1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm
Nikita Popov 81d4b8478e [ConstantFolding] Always return something from ConstantFoldConstant
Spin-off from D75407. As described there, ConstantFoldConstant()
currently returns null for non-ConstantExpr/ConstantVector inputs,
but otherwise always returns non-null, independently of whether
any folding has happened or not.

This is confusing and makes consumer code more complicated.
I would expect either that ConstantFoldConstant() returns only if
it actually folded something, or that it always returns non-null.
I'm going to the latter possibility here, which appears to be more
useful considering existing usage.

Differential Revision: https://reviews.llvm.org/D75543
2020-03-04 18:24:47 +01:00
..
ADT [ADT][NFC] SCCIterator: Change hasLoop() to hasCycle() 2020-03-01 19:17:21 +02:00
Analysis [ConstantFolding] Always return something from ConstantFoldConstant 2020-03-04 18:24:47 +01:00
AsmParser
BinaryFormat Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
Bitcode
Bitstream Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
CodeGen [SDAG] simplify FP binops to undef 2020-03-04 10:42:16 -05:00
Config Revert abb00753 "build: reduce CMake handling for zlib" (PR44780) 2020-03-03 11:03:09 +01:00
DebugInfo Use DWARFDataExtractor::getInitialLength in debug_aranges 2020-03-04 13:01:07 +01:00
Demangle
DWARFLinker [DWARFLinker][NFC] Remove usages of "const object::ObjectFile" from DWARFLinker. 2020-02-28 13:26:22 +03:00
ExecutionEngine [ExecutionEngine] Add JITSymbolFlags::fromSummary(GlobalValueSummary*) 2020-02-29 11:54:03 +00:00
Frontend/OpenMP Revert "[OpenMP] Adding InaccessibleMemOnly and InaccessibleMemOrArgMemOnly for runtime calls." 2020-03-03 20:42:05 +01:00
FuzzMutate Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
IR [AArch64][SVE] Add SVE2 intrinsic for xar 2020-03-04 11:44:32 +00:00
IRReader
LineEditor
Linker
LTO [LTO][Legacy] Add new API to query Mach-O CPU (sub)type 2020-02-28 12:56:05 -08:00
MC [MCDwarf] Change emitListsTableHeaderStart to use a reference and fold Start/End symbols generation into it 2020-03-03 16:20:40 -08:00
MCA
Object [Object/ELF] - Fix the offset type used in ELFFile<ELFT>::getEntry(). 2020-03-04 12:33:10 +03:00
ObjectYAML [yaml2obj] - Automatically assign sh_addr for allocatable sections. 2020-02-22 14:43:54 +03:00
Option Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Passes [Coroutines][5/6] Add coroutine passes to pipeline 2020-02-19 00:57:14 -05:00
ProfileData [Coverage] Collect all function records in an object (D69471 followup) 2020-03-02 12:01:09 -08:00
Remarks [Remarks] Extend the RemarkStreamer to support other emitters 2020-02-04 17:16:02 -08:00
Support Syndicate, test and fix base64 implementation 2020-03-03 12:17:53 +01:00
TableGen [llvm][TableGen] Define FieldInit::isConcrete overload 2020-02-10 18:04:58 -08:00
Target [Intrinsic] Add fixed point saturating division intrinsics. 2020-02-24 10:50:52 +01:00
Testing/Support [Error/unittests] Add a FailedWithMessage gtest matcher 2020-02-21 15:29:48 +01:00
TextAPI Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ToolDrivers
Transforms [Coroutines] Use dbg.declare for frame variables 2020-03-03 17:13:46 -05:00
WindowsManifest
WindowsResource
XRay Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
CMakeLists.txt
InitializePasses.h [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00
LinkAllIR.h
LinkAllPasses.h [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00
module.extern.modulemap
module.install.modulemap
module.modulemap Fix modules build after MatrixBuilder patch 2020-03-04 09:03:34 -08:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h