1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/IR
Roman Lebedev b6a0e78067 [Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks
As FIXME said, they really should be checking for a single user,
not use, so let's do that. It is not *that* unusual to have
the same value as incoming value in a PHI node, not unlike
how a PHI may have the same incoming basic block more than once.

There isn't a nice way to do that, Value::users() isn't uniqified,
and Value only tracks it's uses, not Users, so the check is
potentially costly since it does indeed potentially involes
traversing the entire use list of a value.
2020-08-26 20:20:41 +03:00
..
AbstractCallSite.cpp
AsmWriter.cpp [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
AttributeImpl.h IR: Define byref parameter attribute 2020-07-20 10:23:09 -04:00
Attributes.cpp IR: Define byref parameter attribute 2020-07-20 10:23:09 -04:00
AutoUpgrade.cpp [X86][AutoUpgrade] Simplify string management in UpgradeDataLayoutString a bit. NFCI 2020-08-19 17:48:11 -07:00
BasicBlock.cpp
CMakeLists.txt
Comdat.cpp
ConstantFold.cpp Revert "Revert "[NFC][llvm] Make the contructors of ElementCount private."" 2020-08-19 17:26:36 +00:00
ConstantFold.h
ConstantRange.cpp [ConstantRange][CVP] Make use of abs poison flag 2020-07-30 23:06:10 +02:00
Constants.cpp [Constants] Handle FNeg in getWithOperands. 2020-08-21 16:50:56 +01:00
ConstantsContext.h
Core.cpp
DataLayout.cpp [llvm] support graceful failure of DataLayout parsing 2020-08-17 15:10:37 +02:00
DebugInfo.cpp Revert "[Instruction] Add updateLocationAfterHoist helper" 2020-08-11 14:54:09 -07:00
DebugInfoMetadata.cpp [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp [llvm][LV] Replace unsigned VF with ElementCount VF [NFCI] 2020-08-24 13:54:03 +00:00
DiagnosticPrinter.cpp
DIBuilder.cpp [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
Dominators.cpp [DomTree] Extend update API to allow a post CFG view. 2020-08-21 17:23:08 -07:00
FPEnv.cpp
Function.cpp [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
Globals.cpp [X86][ELF] Prefer lowering MC_GlobalAddress operands to .Lfoo$local for STV_DEFAULT only 2020-08-14 00:09:15 +01:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp [InstCombine] Remove unused entries in gc-live bundle of statepoint 2020-08-22 01:36:22 +07:00
IntrinsicInst.cpp
IRBuilder.cpp Revert "Revert "[NFC][llvm] Make the contructors of ElementCount private."" 2020-08-19 17:26:36 +00:00
IRPrintingPasses.cpp IRPrintingPasses.h - simplify unnecessary header with forward declarations. NFC. 2020-07-27 14:51:28 +01:00
LegacyPassManager.cpp [OldPM] Print out a bit more when passes lie about changing IR 2020-07-28 10:01:24 -06:00
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp Reduce dropTriviallyDeadConstantArrays cumulative time percentage from 17% to 4% 2020-08-07 11:36:30 -07:00
LLVMContextImpl.h [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
LLVMRemarkStreamer.cpp
Mangler.cpp IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref 2020-07-16 13:50:49 -04:00
MDBuilder.cpp
Metadata.cpp
MetadataImpl.h
Module.cpp
ModuleSummaryIndex.cpp [ThinLTO] Compile time improvement to propagateAttributes 2020-07-31 10:54:02 -07:00
Operator.cpp
OptBisect.cpp
Pass.cpp
PassInstrumentation.cpp [NewPM][PassInstrument] Add PrintPass callback to StandardInstrumentations 2020-07-30 10:07:57 -07:00
PassManager.cpp Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
PassRegistry.cpp
PassTimingInfo.cpp [NewPM][PassInstrumentation] Add PreservedAnalyses parameter to AfterPass* callbacks 2020-08-21 16:10:42 +07:00
ProfileSummary.cpp
SafepointIRVerifier.cpp
Statepoint.cpp
SymbolTableListTraitsImpl.h
Type.cpp Revert "Revert "[NFC][llvm] Make the contructors of ElementCount private."" 2020-08-19 17:26:36 +00:00
TypeFinder.cpp
Use.cpp [IR] Simplify Use::swap. NFCI. 2020-07-21 12:15:12 +01:00
User.cpp [NFC] Edit the comment in User::replaceUsesOfWith 2020-07-29 10:02:04 +08:00
Value.cpp [Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks 2020-08-26 20:20:41 +03:00
ValueSymbolTable.cpp
Verifier.cpp [Verifier] Additional check for intrinsic get.active.lane.mask 2020-08-25 15:44:33 +01:00