llvm-project/llvm/lib/Transforms/ObjCARC
Saleem Abdulrasool 8b342680bf ObjCARC: teach the cloner about funclets
In the case that the CallInst that is being moved has an associated
operand bundle which is a funclet, the move will construct an invalid
instruction.  The new site will have a different token and needs to be
reassociated with the new instruction.

Unfortunately, there is no way to alter the bundle after the
construction of the instruction.  Replace the call instruction cloning
with a custom helper to clone the instruction and reassociate the
funclet token.

llvm-svn: 327336
2018-03-12 21:46:09 +00:00
..
ARCRuntimeEntryPoints.h [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-27 01:09:08 +00:00
BlotMapVector.h [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-27 01:09:08 +00:00
CMakeLists.txt
DependencyAnalysis.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DependencyAnalysis.h
LLVMBuild.txt
ObjCARC.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
ObjCARC.h [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
ObjCARCAPElim.cpp
ObjCARCContract.cpp [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
ObjCARCExpand.cpp
ObjCARCOpts.cpp ObjCARC: teach the cloner about funclets 2018-03-12 21:46:09 +00:00
ProvenanceAnalysis.cpp Improve caching scheme in ProvenanceAnalysis. 2018-03-12 20:36:25 +00:00
ProvenanceAnalysis.h Improve caching scheme in ProvenanceAnalysis. 2018-03-12 20:36:25 +00:00
ProvenanceAnalysisEvaluator.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PtrState.cpp [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-27 01:09:08 +00:00
PtrState.h [Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-27 01:09:08 +00:00