Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DFlattenCFGPass.cpp51 std::vector<WeakVH> Blocks; in iterativelyFlattenCFG()
60 for (WeakVH &BlockHandle : Blocks) { in iterativelyFlattenCFG()
H A DLowerConstantIntrinsics.cpp62 SmallVector<WeakVH, 8> Worklist(UnsimplifiedUsers.begin(), in replaceConditionalBranchesOnConstant()
H A DSimplifyCFGPass.cpp234 SmallVector<WeakVH, 16> LoopHeaders(UniqueLoopHeaders.begin(), in iterativelySimplifyCFG()
H A DStructurizeCFG.cpp250 SmallVector<WeakVH, 8> AffectedPhis;
682 for (WeakVH VH : AffectedPhis) { in simplifyAffectedPhis()
H A DLoopStrengthReduce.cpp1991 SmallVector<llvm::WeakVH, 2> ScalarEvolutionIVs;
2094 const SmallVectorImpl<WeakVH> &getScalarEvolutionIVs() const { in getScalarEvolutionIVs()
5640 for (const WeakVH &IV : Rewriter.getInsertedIVs()) in ImplementSolution()
6219 SmallVector<WeakVH, 2> LocationOps;
6311 static Value *getValueOrUndef(WeakVH &VH, LLVMContext &C) { in getValueOrUndef()
6335 for (WeakVH VH : DVIRec.LocationOps) { in restorePreTransformState()
6367 WeakVH VH = DVIRec.LocationOps[i]; in SalvageDVI()
6558 for (const WeakVH &IV : LSR.getScalarEvolutionIVs()) { in GetInductionVariable()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h60 SmallVector<WeakVH, 16> InsertedPHIs;
263 void tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs);
264 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
H A DAliasSetTracker.h146 std::vector<WeakVH> UnknownInsts;
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h87 WeakVH Value1;
88 WeakVH Value2;
H A DSROA.h81 SmallVector<WeakVH, 8> DeadInsts;
/llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.h58 DenseMap<const Value *, std::pair<WeakVH, WeakTrackingVH>>
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceGlobalVars.cpp37 std::vector<WeakVH> InstToRemove; in extractGVsFromModule()
H A DReduceArguments.cpp78 std::vector<WeakVH> InstToDelete; in extractArgumentsFromModule()
/llvm-project-15.0.7/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()
1002 SmallVector<WeakVH, 8> InsertedPhis; in applyInsertUpdates()
1360 SmallVector<WeakVH, 16> PhisToOptimize{PhisToCheck.begin(), in removeMemoryAccess()
1402 void MemorySSAUpdater::tryRemoveTrivialPhis(ArrayRef<WeakVH> UpdatedPHIs) { in tryRemoveTrivialPhis()
1417 SmallVector<WeakVH, 16> UpdatedPHIs; in changeToUnreachable()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DLocal.h28 class WeakVH; variable
177 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>;
/llvm-project-15.0.7/llvm/unittests/IR/
H A DValueHandleTest.cpp37 WeakVH WVH(BitcastV.get()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1672 SmallVectorImpl<WeakVH> &DeletionCandidates, const BBSetVector &Incoming, in convertToGuardPredicates()
1784 SmallVector<WeakVH, 8> DeletionCandidates; in CreateControlFlowHub()
H A DSimplifyCFG.cpp236 ArrayRef<WeakVH> LoopHeaders;
281 const DataLayout &DL, ArrayRef<WeakVH> LoopHeaders, in SimplifyCFGOpt()
7172 ArrayRef<WeakVH> LoopHeaders) { in simplifyCFG()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h2194 SmallSetVector<WeakVH, 16> ToBeChangedToUnreachableInsts;
2197 SmallSetVector<WeakVH, 16> InvokeWithDeadSuccessor;
2217 SmallSetVector<WeakVH, 8> ToBeDeletedInsts;
/llvm-project-15.0.7/llvm/docs/
H A DProgrammersManual.rst2300 the same value, just as if the key were a WeakVH. You can configure exactly how