| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ValueHandle.h | 204 class WeakTrackingVH : public ValueHandleBase { 206 WeakTrackingVH() : ValueHandleBase(WeakTracking) {} 207 WeakTrackingVH(Value *P) : ValueHandleBase(WeakTracking, P) {} 208 WeakTrackingVH(const WeakTrackingVH &RHS) 211 WeakTrackingVH &operator=(const WeakTrackingVH &RHS) = default; 231 template <> struct simplify_type<WeakTrackingVH> { 234 static SimpleType getSimplifiedValue(WeakTrackingVH &WVH) { return WVH; } 236 template <> struct simplify_type<const WeakTrackingVH> { 239 static SimpleType getSimplifiedValue(const WeakTrackingVH &WVH) { 332 WeakTrackingVH InnerHandle;
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SimplifyIndVar.h | 23 class WeakTrackingVH; variable 58 SmallVectorImpl<WeakTrackingVH> &Dead, 66 SmallVectorImpl<WeakTrackingVH> &Dead); 85 DominatorTree *DT, SmallVectorImpl<WeakTrackingVH> &DeadInsts,
|
| H A D | Cloning.h | 78 std::vector<WeakTrackingVH> OperandBundleCallSites; 225 SmallVector<WeakTrackingVH, 8> InlinedCalls; 306 const ValueMap<const Value *, WeakTrackingVH> *VMap = nullptr);
|
| H A D | Local.h | 28 class WeakTrackingVH; variable 109 SmallVectorImpl<WeakTrackingVH> &DeadInsts, 119 SmallVectorImpl<WeakTrackingVH> &DeadInsts,
|
| H A D | ScalarEvolutionExpander.h | 290 SmallVectorImpl<WeakTrackingVH> &DeadInsts, 536 SmallVectorImpl<WeakTrackingVH> &DeadInsts);
|
| /src/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 80 SmallVector<WeakTrackingVH, 8> WUsers(CE->users()); in replaceConstantExprOp() 84 if (WeakTrackingVH WU = WUsers.pop_back_val()) { in replaceConstantExprOp() 114 SmallVector<WeakTrackingVH, 8> WUsers; in rewriteNonInstructionUses() 117 WUsers.push_back(WeakTrackingVH(U)); in rewriteNonInstructionUses() 119 if (WeakTrackingVH WU = WUsers.pop_back_val()) { in rewriteNonInstructionUses()
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | SLPVectorizer.h | 48 class WeakTrackingVH; variable 105 bool tryToVectorize(ArrayRef<WeakTrackingVH> Insts, 126 SmallVectorImpl<WeakTrackingVH> &PostponedInsts);
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerConstantIntrinsics.cpp | 110 SmallVector<WeakTrackingVH, 8> Worklist; in lowerConstantIntrinsics() 123 Worklist.push_back(WeakTrackingVH(&I)); in lowerConstantIntrinsics() 128 for (WeakTrackingVH &VH: Worklist) { in lowerConstantIntrinsics()
|
| H A D | NaryReassociate.cpp | 224 SmallVector<WeakTrackingVH, 16> DeadInsts; in doOneIteration() 234 DeadInsts.push_back(WeakTrackingVH(&OrigI)); in doOneIteration() 238 SeenExprs[NewSCEV].push_back(WeakTrackingVH(NewI)); in doOneIteration() 260 SeenExprs[OrigSCEV].push_back(WeakTrackingVH(NewI)); in doOneIteration() 262 SeenExprs[OrigSCEV].push_back(WeakTrackingVH(&OrigI)); in doOneIteration()
|
| H A D | InferAddressSpaces.cpp | 203 void inferAddressSpaces(ArrayRef<WeakTrackingVH> Postorder, 219 rewriteWithNewAddressSpaces(ArrayRef<WeakTrackingVH> Postorder, 234 std::vector<WeakTrackingVH> collectFlatAddressExpressions(Function &F) const; 481 std::vector<WeakTrackingVH> 533 std::vector<WeakTrackingVH> Postorder; // The resultant postorder. in collectFlatAddressExpressions() 837 std::vector<WeakTrackingVH> Postorder = collectFlatAddressExpressions(F); in run() 854 ArrayRef<WeakTrackingVH> Postorder, in inferAddressSpaces() 1132 ArrayRef<WeakTrackingVH> Postorder, in rewriteWithNewAddressSpaces() 1178 for (const WeakTrackingVH &WVH : Postorder) { in rewriteWithNewAddressSpaces()
|
| H A D | IndVarSimplify.cpp | 138 SmallVector<WeakTrackingVH, 16> DeadInsts; 377 WeakTrackingVH WeakPH = PN; in handleFloatingPointIV() 412 SmallVector<WeakTrackingVH, 8> PHIs; in rewriteNonIntegerIVs() 417 for (WeakTrackingVH &PHI : PHIs) in rewriteNonIntegerIVs() 1182 SmallVectorImpl<WeakTrackingVH> &DeadInsts) { in replaceExitCond() 1201 SmallVectorImpl<WeakTrackingVH> &DeadInsts) { in foldExit() 1208 LoopInfo *LI, Loop *L, SmallVectorImpl<WeakTrackingVH> &DeadInsts, in replaceLoopPHINodesWithPreheaderValues() 1325 SmallVectorImpl<WeakTrackingVH> &DeadInsts) { in optimizeLoopExitWithUnknownExitCount()
|
| H A D | InstSimplifyPass.cpp | 39 SmallVector<WeakTrackingVH, 8> DeadInstsInBB; in runImpl()
|
| H A D | LoopInstSimplify.cpp | 65 SmallVector<WeakTrackingVH, 8> DeadInsts; in simplifyLoopInst()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 225 std::vector<WeakTrackingVH> Deferred; 233 bool doFunctionalCheck(std::vector<WeakTrackingVH> &Worklist); 313 bool MergeFunctions::doFunctionalCheck(std::vector<WeakTrackingVH> &Worklist) { in doFunctionalCheck() 321 for (std::vector<WeakTrackingVH>::iterator I = Worklist.begin(), in doFunctionalCheck() 325 for (std::vector<WeakTrackingVH>::iterator J = I; J != E && j < Max; in doFunctionalCheck() 344 for (std::vector<WeakTrackingVH>::iterator K = J; K != E && k < Max; in doFunctionalCheck() 438 Deferred.push_back(WeakTrackingVH(I->second)); in runOnModule() 443 std::vector<WeakTrackingVH> Worklist; in runOnModule() 452 for (WeakTrackingVH &I : Worklist) { in runOnModule()
|
| /src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CallGraph.h | 178 using CallRecord = std::pair<std::optional<WeakTrackingVH>, CallGraphNode *>; 243 CalledFunctions.emplace_back(Call ? std::optional<WeakTrackingVH>(Call) in addCalledFunction() 244 : std::optional<WeakTrackingVH>(), in addCalledFunction()
|
| H A D | MemoryBuiltins.h | 289 : public SizeOffsetType<WeakTrackingVH, SizeOffsetWeakTrackingVH> { 296 static bool known(WeakTrackingVH V) { return V.pointsToAliveValue(); } in known()
|
| H A D | IVUsers.h | 80 WeakTrackingVH OperandValToReplace;
|
| H A D | ObjCARCAnalysisUtils.h | 83 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>> &Cache) { in GetUnderlyingObjCPtrCached()
|
| H A D | MemorySSAUpdater.h | 50 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>;
|
| /src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysis.h | 59 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>>
|
| /src/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | ValueList.h | 30 std::vector<std::pair<WeakTrackingVH, unsigned>> ValuePtrs;
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULateCodeGenPrepare.cpp | 53 SmallVector<WeakTrackingVH, 8> DeadInsts; 119 SmallVectorImpl<WeakTrackingVH> &DeadInsts); 278 Instruction *I, SmallVectorImpl<WeakTrackingVH> &DeadInsts) { in optimizeLiveType()
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | NaryReassociate.h | 196 DenseMap<const SCEV *, SmallVector<WeakTrackingVH, 2>> SeenExprs;
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CGSCCPassManager.cpp | 382 SmallMapVector<Value *, WeakTrackingVH, 16> &CallHandles) { in run() argument 397 CallHandles.insert({CB, WeakTrackingVH(CB)}); in run() 928 UR.IndirectVHs.insert({CB, WeakTrackingVH(CB)}); in updateCGAndAnalysisManagerForPass() 930 Entry->second = WeakTrackingVH(CB); in updateCGAndAnalysisManagerForPass()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 60 SmallVectorImpl<WeakTrackingVH> &DeadInsts; 69 SmallVectorImpl<WeakTrackingVH> &Dead) in SimplifyIndvar() 1013 SmallVectorImpl<WeakTrackingVH> &Dead, in simplifyUsersOfIV() 1025 SmallVectorImpl<WeakTrackingVH> &Dead) { in simplifyLoopIVs() 1072 SmallVectorImpl<WeakTrackingVH> &DeadInsts; 1134 DominatorTree *DTree, SmallVectorImpl<WeakTrackingVH> &DI, 1228 DominatorTree *DTree, SmallVectorImpl<WeakTrackingVH> &DI, in WidenIV() 2266 DominatorTree *DT, SmallVectorImpl<WeakTrackingVH> &DeadInsts, in createWideIV()
|