| /freebsd-head/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | 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> { 170 static SimpleType getSimplifiedValue(WeakVH &WVH) { return WVH; } 172 template <> struct simplify_type<const WeakVH> { 175 static SimpleType getSimplifiedValue(const WeakVH &WVH) { return WVH; } 179 template <> struct DenseMapInfo<WeakVH> { [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | FlattenCFGPass.cpp | 51 std::vector<WeakVH> Blocks; in iterativelyFlattenCFG() 60 for (WeakVH &BlockHandle : Blocks) { in iterativelyFlattenCFG()
|
| HD | LowerConstantIntrinsics.cpp | 64 SmallVector<WeakVH, 8> Worklist(UnsimplifiedUsers.begin(), in replaceConditionalBranchesOnConstant()
|
| HD | SimplifyCFGPass.cpp | 239 SmallVector<WeakVH, 16> LoopHeaders(UniqueLoopHeaders.begin(), in iterativelySimplifyCFG()
|
| HD | StructurizeCFG.cpp | 255 SmallVector<WeakVH, 8> AffectedPhis; 780 for (WeakVH VH : AffectedPhis) { in simplifyAffectedPhis()
|
| HD | LoopStrengthReduce.cpp | 2194 SmallVector<llvm::WeakVH, 2> ScalarEvolutionIVs; 2297 const SmallVectorImpl<WeakVH> &getScalarEvolutionIVs() const { in getScalarEvolutionIVs() 6095 for (const WeakVH &IV : Rewriter.getInsertedIVs()) in ImplementSolution() 6679 SmallVector<WeakVH, 2> LocationOps; 6780 static Value *getValueOrPoison(WeakVH &VH, LLVMContext &C) { in getValueOrPoison() 6805 for (WeakVH VH : DVIRec.LocationOps) { in restorePreTransformState() 6845 WeakVH VH = DVIRec.LocationOps[i]; in SalvageDVI() 7047 for (const WeakVH &IV : LSR.getScalarEvolutionIVs()) { in GetInductionVariable()
|
| HD | SROA.cpp | 188 SmallVector<WeakVH, 8> DeadInsts;
|
| /freebsd-head/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| HD | MemorySSAUpdater.h | 60 SmallVector<WeakVH, 16> InsertedPHIs; 265 void tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs); 266 void fixupDefs(const SmallVectorImpl<WeakVH> &);
|
| HD | AssumptionCache.h | 49 WeakVH Assume;
|
| HD | ObjCARCAnalysisUtils.h | 83 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>> &Cache) { in GetUnderlyingObjCPtrCached() argument
|
| /freebsd-head/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| HD | Reassociate.h | 101 WeakVH Value1; 102 WeakVH Value2;
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | 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-head/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| HD | ProvenanceAnalysis.h | 59 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>>
|
| /freebsd-head/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| HD | Local.h | 29 class WeakVH; variable 188 ArrayRef<WeakVH> LoopHeaders = {});
|
| HD | ScalarEvolutionExpander.h | 91 SmallVector<WeakVH, 2> InsertedIVs; 214 const SmallVectorImpl<WeakVH> &getInsertedIVs() const { return InsertedIVs; }
|
| HD | Debugify.h | 33 llvm::MapVector<const llvm::Instruction *, llvm::WeakVH>;
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | BasicBlockUtils.cpp | 2053 SmallVectorImpl<WeakVH> &DeletionCandidates) { in calcPredicateUsingBooleans() 2121 SmallVectorImpl<WeakVH> &DeletionCandidates, in convertToGuardPredicates() 2162 SmallVector<WeakVH, 8> DeletionCandidates; in CreateControlFlowHub()
|
| HD | SimplifyCFG.cpp | 244 ArrayRef<WeakVH> LoopHeaders; 290 const DataLayout &DL, ArrayRef<WeakVH> LoopHeaders, in SimplifyCFGOpt() 7870 ArrayRef<WeakVH> LoopHeaders) { in simplifyCFG()
|
| /freebsd-head/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| HD | Attributor.h | 2541 SmallSetVector<WeakVH, 16> ToBeChangedToUnreachableInsts; 2544 SmallSetVector<WeakVH, 16> InvokeWithDeadSuccessor; 2564 SmallSetVector<WeakVH, 8> ToBeDeletedInsts;
|