Home
last modified time | relevance | path

Searched refs:WeakVH (Results 1 – 19 of 19) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/include/llvm/IR/
HDValueHandle.h144 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/
HDFlattenCFGPass.cpp51 std::vector<WeakVH> Blocks; in iterativelyFlattenCFG()
60 for (WeakVH &BlockHandle : Blocks) { in iterativelyFlattenCFG()
HDLowerConstantIntrinsics.cpp64 SmallVector<WeakVH, 8> Worklist(UnsimplifiedUsers.begin(), in replaceConditionalBranchesOnConstant()
HDSimplifyCFGPass.cpp239 SmallVector<WeakVH, 16> LoopHeaders(UniqueLoopHeaders.begin(), in iterativelySimplifyCFG()
HDStructurizeCFG.cpp255 SmallVector<WeakVH, 8> AffectedPhis;
780 for (WeakVH VH : AffectedPhis) { in simplifyAffectedPhis()
HDLoopStrengthReduce.cpp2194 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()
HDSROA.cpp188 SmallVector<WeakVH, 8> DeadInsts;
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Analysis/
HDMemorySSAUpdater.h60 SmallVector<WeakVH, 16> InsertedPHIs;
265 void tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs);
266 void fixupDefs(const SmallVectorImpl<WeakVH> &);
HDAssumptionCache.h49 WeakVH Assume;
HDObjCARCAnalysisUtils.h83 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>> &Cache) { in GetUnderlyingObjCPtrCached() argument
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
HDReassociate.h101 WeakVH Value1;
102 WeakVH Value2;
/freebsd-head/contrib/llvm-project/llvm/lib/Analysis/
HDMemorySSAUpdater.cpp343 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/
HDProvenanceAnalysis.h59 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>>
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
HDLocal.h29 class WeakVH; variable
188 ArrayRef<WeakVH> LoopHeaders = {});
HDScalarEvolutionExpander.h91 SmallVector<WeakVH, 2> InsertedIVs;
214 const SmallVectorImpl<WeakVH> &getInsertedIVs() const { return InsertedIVs; }
HDDebugify.h33 llvm::MapVector<const llvm::Instruction *, llvm::WeakVH>;
/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDBasicBlockUtils.cpp2053 SmallVectorImpl<WeakVH> &DeletionCandidates) { in calcPredicateUsingBooleans()
2121 SmallVectorImpl<WeakVH> &DeletionCandidates, in convertToGuardPredicates()
2162 SmallVector<WeakVH, 8> DeletionCandidates; in CreateControlFlowHub()
HDSimplifyCFG.cpp244 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/
HDAttributor.h2541 SmallSetVector<WeakVH, 16> ToBeChangedToUnreachableInsts;
2544 SmallSetVector<WeakVH, 16> InvokeWithDeadSuccessor;
2564 SmallSetVector<WeakVH, 8> ToBeDeletedInsts;