llvm-6502/lib/Transforms/Scalar
Philip Reames 2fc495a300 Adjust how we avoid poll insertion inside the poll function (NFC)
I realized that my early fix for this was overly complicated.  Rather than scatter checks around in a bunch of places, just exit early when we visit the poll function itself.

Thinking about it a bit, the whole inlining mechanism used with gc.safepoint_poll could probably be cleaned up a bit.  Originally, poll insertion was fused with gc relocation rewriting.  It might be worth going back to see if we can simplify the chain of events now that these two are seperated.  As one thought, maybe it makes sense to rewrite calls inside the helper function before inlining it to the many callers.  This would require us to visit the poll function before any other functions though..



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228634 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-10 00:04:53 +00:00
..
ADCE.cpp
AlignmentFromAssumptions.cpp
CMakeLists.txt Add a pass for inserting safepoints into (nearly) arbitrary IR 2015-02-04 00:37:33 +00:00
ConstantHoisting.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
ConstantProp.cpp
CorrelatedValuePropagation.cpp
DCE.cpp
DeadStoreElimination.cpp
EarlyCSE.cpp EarlyCSE: Replace custom hash mixing with Hashing.h 2015-02-01 12:30:59 +00:00
FlattenCFGPass.cpp
GVN.cpp Allow PRE to insert no-cost phi nodes 2015-02-03 20:37:08 +00:00
InductiveRangeCheckElimination.cpp Make helper functions/classes/globals static. NFC. 2015-02-06 17:51:54 +00:00
IndVarSimplify.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
JumpThreading.cpp [PM] Replace the Pass argument to SplitEdge with specific analyses used 2015-01-19 12:36:53 +00:00
LICM.cpp
LLVMBuild.txt
LoadCombine.cpp
LoopDeletion.cpp
LoopIdiomRecognize.cpp LoopIdiom: Use utility functions. 2015-02-07 21:37:08 +00:00
LoopInstSimplify.cpp [LPM] Stop using the string based preservation API. It is an 2015-01-28 04:57:56 +00:00
LoopRerollPass.cpp [LoopReroll] Alter the data structures used during reroll validation. 2015-01-29 21:52:03 +00:00
LoopRotation.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
LoopStrengthReduce.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
LoopUnrollPass.cpp Use estimated number of optimized insns in unroll-threshold computation. 2015-02-06 20:20:40 +00:00
LoopUnswitch.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
LowerAtomic.cpp
LowerExpectIntrinsic.cpp [PM] Port LowerExpectIntrinsic to the new pass manager. 2015-01-24 11:13:02 +00:00
Makefile
MemCpyOptimizer.cpp Properly update AA metadata when performing call slot optimization 2015-02-07 17:54:36 +00:00
MergedLoadStoreMotion.cpp
PartiallyInlineLibCalls.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
PlaceSafepoints.cpp Adjust how we avoid poll insertion inside the poll function (NFC) 2015-02-10 00:04:53 +00:00
Reassociate.cpp
Reg2Mem.cpp
SampleProfile.cpp
Scalar.cpp Add a pass for inserting safepoints into (nearly) arbitrary IR 2015-02-04 00:37:33 +00:00
Scalarizer.cpp
ScalarReplAggregates.cpp
SCCP.cpp
SeparateConstOffsetFromGEP.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
SimplifyCFGPass.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
Sink.cpp
SROA.cpp Debug info: When updating debug info during SROA, do not emit debug info 2015-02-09 23:57:22 +00:00
StraightLineStrengthReduce.cpp Fixing a -Wsign-compare warning; NFC 2015-02-04 14:01:08 +00:00
StructurizeCFG.cpp StructurizeCFG: Remove obsolete fix for loop backedge detection 2015-02-04 20:49:47 +00:00
TailRecursionElimination.cpp [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00