Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.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> {
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 DFlattenCFGPass.cpp51 std::vector<WeakVH> Blocks; in iterativelyFlattenCFG()
60 for (WeakVH &BlockHandle : Blocks) { in iterativelyFlattenCFG()
H A DLowerConstantIntrinsics.cpp64 SmallVector<WeakVH, 8> Worklist(UnsimplifiedUsers.begin(), in replaceConditionalBranchesOnConstant()
H A DSimplifyCFGPass.cpp234 SmallVector<WeakVH, 16> LoopHeaders(UniqueLoopHeaders.begin(), in iterativelySimplifyCFG()
H A DStructurizeCFG.cpp255 SmallVector<WeakVH, 8> AffectedPhis;
780 for (WeakVH VH : AffectedPhis) { in simplifyAffectedPhis()
H A DLoopStrengthReduce.cpp2008 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 DSROA.cpp192 SmallVector<WeakVH, 8> DeadInsts;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h60 SmallVector<WeakVH, 16> InsertedPHIs;
260 void tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs);
261 void fixupDefs(const SmallVectorImpl<WeakVH> &);
H A DAssumptionCache.h49 WeakVH Assume;
H A DObjCARCAnalysisUtils.h83 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>> &Cache) { in GetUnderlyingObjCPtrCached() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h87 WeakVH Value1;
88 WeakVH Value2;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.h59 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>>
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.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-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLocal.h28 class WeakVH; variable
187 ArrayRef<WeakVH> LoopHeaders = {});
H A DScalarEvolutionExpander.h74 SmallVector<WeakVH, 2> InsertedIVs;
196 const SmallVectorImpl<WeakVH> &getInsertedIVs() const { return InsertedIVs; }
H A DDebugify.h31 llvm::MapVector<const llvm::Instruction *, llvm::WeakVH>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp2041 SmallVectorImpl<WeakVH> &DeletionCandidates) { in calcPredicateUsingBooleans()
2109 SmallVectorImpl<WeakVH> &DeletionCandidates, in convertToGuardPredicates()
2150 SmallVector<WeakVH, 8> DeletionCandidates; in CreateControlFlowHub()
H A DSimplifyCFG.cpp243 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 DAttributor.h2548 SmallSetVector<WeakVH, 16> ToBeChangedToUnreachableInsts;
2551 SmallSetVector<WeakVH, 16> InvokeWithDeadSuccessor;
2571 SmallSetVector<WeakVH, 8> ToBeDeletedInsts;