Home
last modified time | relevance | path

Searched refs:WeakTrackingVH (Results 1 – 25 of 93) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DAssumptionCache.h49 SmallVector<WeakTrackingVH, 4> AssumeHandles;
69 DenseMap<AffectedValueCallbackVH, SmallVector<WeakTrackingVH, 1>,
74 SmallVector<WeakTrackingVH, 1> &getOrInsertAffectedValues(Value *V);
131 MutableArrayRef<WeakTrackingVH> assumptions() { in assumptions()
138 MutableArrayRef<WeakTrackingVH> assumptionsFor(const Value *V) { in assumptionsFor()
144 return MutableArrayRef<WeakTrackingVH>(); in assumptionsFor()
DCGSCCPassManager.h572 SmallVector<WeakTrackingVH, 8> CallHandles;
584 SmallVectorImpl<WeakTrackingVH> &CallHandles) {
599 CallHandles.push_back(WeakTrackingVH(&I));
634 auto IsDevirtualizedHandle = [&](WeakTrackingVH &CallH) {
/external/llvm-project/llvm/include/llvm/IR/
DValueHandle.h204 class WeakTrackingVH : public ValueHandleBase {
206 WeakTrackingVH() : ValueHandleBase(WeakTracking) {}
207 WeakTrackingVH(Value *P) : ValueHandleBase(WeakTracking, P) {}
208 WeakTrackingVH(const WeakTrackingVH &RHS)
211 WeakTrackingVH &operator=(const WeakTrackingVH &RHS) = default;
231 template <> struct simplify_type<WeakTrackingVH> {
234 static SimpleType getSimplifiedValue(WeakTrackingVH &WVH) { return WVH; }
236 template <> struct simplify_type<const WeakTrackingVH> {
239 static SimpleType getSimplifiedValue(const WeakTrackingVH &WVH) {
332 WeakTrackingVH InnerHandle;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueHandle.h200 class WeakTrackingVH : public ValueHandleBase {
202 WeakTrackingVH() : ValueHandleBase(WeakTracking) {}
203 WeakTrackingVH(Value *P) : ValueHandleBase(WeakTracking, P) {}
204 WeakTrackingVH(const WeakTrackingVH &RHS)
207 WeakTrackingVH &operator=(const WeakTrackingVH &RHS) = default;
227 template <> struct simplify_type<WeakTrackingVH> {
230 static SimpleType getSimplifiedValue(WeakTrackingVH &WVH) { return WVH; }
232 template <> struct simplify_type<const WeakTrackingVH> {
235 static SimpleType getSimplifiedValue(const WeakTrackingVH &WVH) {
348 WeakTrackingVH InnerHandle;
/external/llvm-project/llvm/unittests/IR/
DValueHandleTest.cpp55 WeakTrackingVH WVH(BitcastV.get()); in TEST_F()
67 WeakTrackingVH BitcastWVH(BitcastV.get()); in TEST_F()
68 WeakTrackingVH ConstantWVH(ConstantV); in TEST_F()
100 WeakTrackingVH WVH(BitcastV.get()); in TEST_F()
101 WeakTrackingVH WVH_Copy(WVH); in TEST_F()
102 WeakTrackingVH WVH_Recreated(BitcastV.get()); in TEST_F()
110 WeakTrackingVH WVH(BitcastV.get()); in TEST_F()
111 WeakTrackingVH WVH_Copy(WVH); in TEST_F()
112 WeakTrackingVH WVH_Recreated(BitcastV.get()); in TEST_F()
363 std::unique_ptr<WeakTrackingVH> ToClear[2]; in TEST_F()
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSimplifyIndVar.h53 SmallVectorImpl<WeakTrackingVH> &Dead,
60 SmallVectorImpl<WeakTrackingVH> &Dead);
79 DominatorTree *DT, SmallVectorImpl<WeakTrackingVH> &DeadInsts,
DCloning.h76 std::vector<WeakTrackingVH> OperandBundleCallSites;
196 SmallVector<WeakTrackingVH, 8> InlinedCalls;
269 const ValueMap<const Value *, WeakTrackingVH> *VMap = nullptr);
DLocal.h110 SmallVectorImpl<WeakTrackingVH> &DeadInsts,
120 SmallVectorImpl<WeakTrackingVH> &DeadInsts,
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp131 SmallVector<WeakTrackingVH, 8> WUsers(CE->user_begin(), CE->user_end()); in replaceConstantExprOp()
135 if (WeakTrackingVH WU = WUsers.pop_back_val()) { in replaceConstantExprOp()
162 SmallVector<WeakTrackingVH, 8> WUsers; in rewriteNonInstructionUses()
165 WUsers.push_back(WeakTrackingVH(U)); in rewriteNonInstructionUses()
167 if (WeakTrackingVH WU = WUsers.pop_back_val()) { in rewriteNonInstructionUses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp131 SmallVector<WeakTrackingVH, 8> WUsers(CE->user_begin(), CE->user_end()); in replaceConstantExprOp()
135 if (WeakTrackingVH WU = WUsers.pop_back_val()) { in replaceConstantExprOp()
162 SmallVector<WeakTrackingVH, 8> WUsers; in rewriteNonInstructionUses()
165 WUsers.push_back(WeakTrackingVH(U)); in rewriteNonInstructionUses()
167 if (WeakTrackingVH WU = WUsers.pop_back_val()) { in rewriteNonInstructionUses()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSimplifyIndVar.h49 LoopInfo *LI, SmallVectorImpl<WeakTrackingVH> &Dead,
55 LoopInfo *LI, SmallVectorImpl<WeakTrackingVH> &Dead);
DCloning.h77 std::vector<WeakTrackingVH> OperandBundleCallSites;
197 SmallVector<WeakTrackingVH, 8> InlinedCalls;
273 const ValueMap<const Value *, WeakTrackingVH> *VMap = nullptr);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerConstantIntrinsics.cpp89 SmallVector<WeakTrackingVH, 8> Worklist; in lowerConstantIntrinsics()
102 Worklist.push_back(WeakTrackingVH(&I)); in lowerConstantIntrinsics()
107 for (WeakTrackingVH &VH: Worklist) { in lowerConstantIntrinsics()
DInferAddressSpaces.cpp172 void inferAddressSpaces(ArrayRef<WeakTrackingVH> Postorder,
181 const TargetTransformInfo &TTI, ArrayRef<WeakTrackingVH> Postorder,
195 std::vector<WeakTrackingVH> collectFlatAddressExpressions(Function &F) const;
340 std::vector<WeakTrackingVH>
389 std::vector<WeakTrackingVH> Postorder; // The resultant postorder. in collectFlatAddressExpressions()
636 std::vector<WeakTrackingVH> Postorder = collectFlatAddressExpressions(F); in runOnFunction()
651 ArrayRef<WeakTrackingVH> Postorder, in inferAddressSpaces()
871 const TargetTransformInfo &TTI, ArrayRef<WeakTrackingVH> Postorder, in rewriteWithNewAddressSpaces()
902 for (const WeakTrackingVH &WVH : Postorder) { in rewriteWithNewAddressSpaces()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerConstantIntrinsics.cpp91 SmallVector<WeakTrackingVH, 8> Worklist; in lowerConstantIntrinsics()
104 Worklist.push_back(WeakTrackingVH(&I)); in lowerConstantIntrinsics()
109 for (WeakTrackingVH &VH: Worklist) { in lowerConstantIntrinsics()
DNaryReassociate.cpp222 SmallVector<WeakTrackingVH, 16> DeadInsts; in doOneIteration()
233 DeadInsts.push_back(WeakTrackingVH(OrigI)); in doOneIteration()
237 SeenExprs[NewSCEV].push_back(WeakTrackingVH(NewI)); in doOneIteration()
259 SeenExprs[OrigSCEV].push_back(WeakTrackingVH(NewI)); in doOneIteration()
261 SeenExprs[OrigSCEV].push_back(WeakTrackingVH(OrigI)); in doOneIteration()
DInferAddressSpaces.cpp180 void inferAddressSpaces(ArrayRef<WeakTrackingVH> Postorder,
194 const TargetTransformInfo &TTI, ArrayRef<WeakTrackingVH> Postorder,
207 std::vector<WeakTrackingVH> collectFlatAddressExpressions(Function &F) const;
416 std::vector<WeakTrackingVH>
469 std::vector<WeakTrackingVH> Postorder; // The resultant postorder. in collectFlatAddressExpressions()
769 std::vector<WeakTrackingVH> Postorder = collectFlatAddressExpressions(F); in runOnFunction()
784 ArrayRef<WeakTrackingVH> Postorder, in inferAddressSpaces()
1013 const TargetTransformInfo &TTI, ArrayRef<WeakTrackingVH> Postorder, in rewriteWithNewAddressSpaces()
1055 for (const WeakTrackingVH &WVH : Postorder) { in rewriteWithNewAddressSpaces()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp230 std::vector<WeakTrackingVH> Deferred;
235 bool doSanityCheck(std::vector<WeakTrackingVH> &Worklist);
334 bool MergeFunctions::doSanityCheck(std::vector<WeakTrackingVH> &Worklist) { in doSanityCheck()
342 for (std::vector<WeakTrackingVH>::iterator I = Worklist.begin(), in doSanityCheck()
346 for (std::vector<WeakTrackingVH>::iterator J = I; J != E && j < Max; in doSanityCheck()
365 for (std::vector<WeakTrackingVH>::iterator K = J; K != E && k < Max; in doSanityCheck()
432 Deferred.push_back(WeakTrackingVH(I->second)); in runOnModule()
437 std::vector<WeakTrackingVH> Worklist; in runOnModule()
446 for (WeakTrackingVH &I : Worklist) { in runOnModule()
/external/llvm-project/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp229 std::vector<WeakTrackingVH> Deferred;
234 bool doSanityCheck(std::vector<WeakTrackingVH> &Worklist);
333 bool MergeFunctions::doSanityCheck(std::vector<WeakTrackingVH> &Worklist) { in doSanityCheck()
341 for (std::vector<WeakTrackingVH>::iterator I = Worklist.begin(), in doSanityCheck()
345 for (std::vector<WeakTrackingVH>::iterator J = I; J != E && j < Max; in doSanityCheck()
364 for (std::vector<WeakTrackingVH>::iterator K = J; K != E && k < Max; in doSanityCheck()
431 Deferred.push_back(WeakTrackingVH(I->second)); in runOnModule()
436 std::vector<WeakTrackingVH> Worklist; in runOnModule()
445 for (WeakTrackingVH &I : Worklist) { in runOnModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAssumptionCache.cpp44 SmallVector<WeakTrackingVH, 1> &
53 {AffectedValueCallbackVH(V, this), SmallVector<WeakTrackingVH, 1>()}); in getOrInsertAffectedValues()
136 remove_if(AssumeHandles, [CI](WeakTrackingVH &VH) { return CI == VH; }), in unregisterAssumption()
/external/llvm-project/llvm/include/llvm/Analysis/
DCallGraph.h186 using CallRecord = std::pair<Optional<WeakTrackingVH>, CallGraphNode *>;
255 Call ? Optional<WeakTrackingVH>(Call) : Optional<WeakTrackingVH>(), M); in addCalledFunction()
/external/llvm-project/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysis.h59 DenseMap<const Value *, WeakTrackingVH> UnderlyingObjCPtrCache;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysis.h59 DenseMap<const Value *, WeakTrackingVH> UnderlyingObjCPtrCache;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DValueList.h29 std::vector<WeakTrackingVH> ValuePtrs;
/external/llvm-project/llvm/lib/Bitcode/Reader/
DValueList.h29 std::vector<WeakTrackingVH> ValuePtrs;

1234