LLVM: lib/Transforms/ObjCARC/PtrState.cpp File Reference (original) (raw)
PtrState.cpp File Reference
#include "[PtrState.h](PtrState%5F8h%5Fsource.html)"#include "[DependencyAnalysis.h](DependencyAnalysis%5F8h%5Fsource.html)"#include "[ObjCARC.h](lib%5F2Transforms%5F2ObjCARC%5F2ObjCARC%5F8h%5Fsource.html)"#include "[llvm/Analysis/ObjCARCAnalysisUtils.h](ObjCARCAnalysisUtils%5F8h%5Fsource.html)"#include "[llvm/Analysis/ObjCARCInstKind.h](ObjCARCInstKind%5F8h%5Fsource.html)"#include "[llvm/Analysis/ObjCARCUtil.h](ObjCARCUtil%5F8h%5Fsource.html)"#include "[llvm/IR/BasicBlock.h](IR%5F2BasicBlock%5F8h%5Fsource.html)"#include "[llvm/IR/Instruction.h](IR%5F2Instruction%5F8h%5Fsource.html)"#include "[llvm/IR/Instructions.h](Instructions%5F8h%5Fsource.html)"#include "[llvm/IR/Value.h](IR%5F2Value%5F8h%5Fsource.html)"#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"#include "[llvm/Support/Compiler.h](Compiler%5F8h%5Fsource.html)"#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"#include "[llvm/Support/ErrorHandling.h](llvm%5F2Support%5F2ErrorHandling%5F8h%5Fsource.html)"#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"#include <cassert>#include <iterator>#include <utility>
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "objc-arc-ptr-state" |
| Functions | |
|---|---|
| static Sequence | MergeSeqs (Sequence A, Sequence B, bool TopDown) |
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "objc-arc-ptr-state"
Definition at line 31 of file PtrState.cpp.
Function Documentation
◆ MergeSeqs()
| Sequence MergeSeqs ( Sequence A, Sequence B, bool TopDown ) | static |
|---|
Definition at line 59 of file PtrState.cpp.
References A(), B(), llvm::objcarc::S_CanRelease, llvm::objcarc::S_MovableRelease, llvm::objcarc::S_None, llvm::objcarc::S_Retain, llvm::objcarc::S_Stop, llvm::objcarc::S_Use, and std::swap().
Referenced by llvm::objcarc::PtrState::Merge().