| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ValueHandle.h | 144 class WeakVH : public ValueHandleBase { 146 WeakVH() : ValueHandleBase(Weak) {} in WeakVH() function 147 WeakVH(Value *P) : ValueHandleBase(Weak, P) {} in WeakVH() function 148 WeakVH(const WeakVH &RHS) in WeakVH() function 151 WeakVH &operator=(const WeakVH &RHS) = default; 167 template <> struct simplify_type<WeakVH> { 172 template <> struct simplify_type<const WeakVH> { 179 template <> struct DenseMapInfo<WeakVH> { 180 static inline WeakVH getEmptyKey() { 184 static inline WeakVH getTombstoneKey() { [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | FlattenCFGPass.cpp | 51 std::vector<WeakVH> Blocks; in iterativelyFlattenCFG() 60 for (WeakVH &BlockHandle : Blocks) { in iterativelyFlattenCFG()
|
| H A D | LowerConstantIntrinsics.cpp | 64 SmallVector<WeakVH, 8> Worklist(UnsimplifiedUsers.begin(), in replaceConditionalBranchesOnConstant()
|
| H A D | SimplifyCFGPass.cpp | 234 SmallVector<WeakVH, 16> LoopHeaders(UniqueLoopHeaders.begin(), in iterativelySimplifyCFG()
|
| H A D | StructurizeCFG.cpp | 255 SmallVector<WeakVH, 8> AffectedPhis; 780 for (WeakVH VH : AffectedPhis) { in simplifyAffectedPhis()
|
| H A D | LoopStrengthReduce.cpp | 2008 SmallVector<llvm::WeakVH, 2> ScalarEvolutionIVs; 2111 const SmallVectorImpl<WeakVH> &getScalarEvolutionIVs() const { in getScalarEvolutionIVs() 5795 for (const WeakVH &IV : Rewriter.getInsertedIVs()) in ImplementSolution() 6377 SmallVector<WeakVH, 2> LocationOps; 6478 static Value *getValueOrPoison(WeakVH &VH, LLVMContext &C) { in getValueOrPoison() 6503 for (WeakVH VH : DVIRec.LocationOps) { in restorePreTransformState() 6543 WeakVH VH = DVIRec.LocationOps[i]; in SalvageDVI() 6745 for (const WeakVH &IV : LSR.getScalarEvolutionIVs()) { in GetInductionVariable()
|
| H A D | SROA.cpp | 192 SmallVector<WeakVH, 8> DeadInsts;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemorySSAUpdater.h | 60 SmallVector<WeakVH, 16> InsertedPHIs; 260 void tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs); 261 void fixupDefs(const SmallVectorImpl<WeakVH> &);
|
| H A D | AssumptionCache.h | 49 WeakVH Assume;
|
| H A D | ObjCARCAnalysisUtils.h | 83 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>> &Cache) { in GetUnderlyingObjCPtrCached() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | Reassociate.h | 87 WeakVH Value1; 88 WeakVH Value2;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysis.h | 59 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>>
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemorySSAUpdater.cpp | 343 SmallVector<WeakVH, 8> FixupList(InsertedPHIs.begin(), InsertedPHIs.end()); in insertDef() 345 SmallSet<WeakVH, 8> ExistingPhis; in insertDef() 429 tryRemoveTrivialPhis(ArrayRef<WeakVH>(&InsertedPHIs[NewPhiIndex], NewPhiSize)); in insertDef() 462 void MemorySSAUpdater::fixupDefs(const SmallVectorImpl<WeakVH> &Vars) { in fixupDefs() 977 SmallVector<WeakVH, 8> InsertedPhis; in applyInsertUpdates() 1335 SmallVector<WeakVH, 16> PhisToOptimize{PhisToCheck.begin(), in removeMemoryAccess() 1377 void MemorySSAUpdater::tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs) { in tryRemoveTrivialPhis() 1392 SmallVector<WeakVH, 16> UpdatedPHIs; in changeToUnreachable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 28 class WeakVH; variable 187 ArrayRef<WeakVH> LoopHeaders = {});
|
| H A D | ScalarEvolutionExpander.h | 74 SmallVector<WeakVH, 2> InsertedIVs; 196 const SmallVectorImpl<WeakVH> &getInsertedIVs() const { return InsertedIVs; }
|
| H A D | Debugify.h | 31 llvm::MapVector<const llvm::Instruction *, llvm::WeakVH>;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 2041 SmallVectorImpl<WeakVH> &DeletionCandidates) { in calcPredicateUsingBooleans() 2109 SmallVectorImpl<WeakVH> &DeletionCandidates, in convertToGuardPredicates() 2150 SmallVector<WeakVH, 8> DeletionCandidates; in CreateControlFlowHub()
|
| H A D | SimplifyCFG.cpp | 243 ArrayRef<WeakVH> LoopHeaders; 289 const DataLayout &DL, ArrayRef<WeakVH> LoopHeaders, in SimplifyCFGOpt() 7618 ArrayRef<WeakVH> LoopHeaders) { in simplifyCFG()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 2548 SmallSetVector<WeakVH, 16> ToBeChangedToUnreachableInsts; 2551 SmallSetVector<WeakVH, 16> InvokeWithDeadSuccessor; 2571 SmallSetVector<WeakVH, 8> ToBeDeletedInsts;
|