Home
last modified time | relevance | path

Searched refs:CallbackVH (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/llvm/include/llvm/IR/
DValueHandle.h383 class CallbackVH : public ValueHandleBase {
386 ~CallbackVH() = default;
387 CallbackVH(const CallbackVH &) = default;
388 CallbackVH &operator=(const CallbackVH &) = default;
395 CallbackVH() : ValueHandleBase(Callback) {}
396 CallbackVH(Value *P) : ValueHandleBase(Callback, P) {}
397 CallbackVH(const Value *P) : CallbackVH(const_cast<Value *>(P)) {}
447 final : public CallbackVH
497 PoisoningVH(ValueTy *P) : CallbackVH(GetAsValue(P)) {}
499 : CallbackVH(RHS), Poisoned(RHS.Poisoned) {}
[all …]
DValueMap.h241 class ValueMapCallbackVH final : public CallbackVH {
251 : CallbackVH(const_cast<Value*>(static_cast<const Value*>(Key))),
255 ValueMapCallbackVH(Value *V) : CallbackVH(V), Map(nullptr) {}
/external/llvm/unittests/IR/
DValueHandleTest.cpp32 class ConcreteCallbackVH final : public CallbackVH {
34 ConcreteCallbackVH(Value *V) : CallbackVH(V) {} in ConcreteCallbackVH()
238 class RecordingVH final : public CallbackVH { in TEST_F()
244 RecordingVH(Value *V) : CallbackVH(V), DeletedCalls(0), AURWCalls(0) {} in TEST_F()
249 CallbackVH::deleted(); in TEST_F()
264 class RecordingVH final : public CallbackVH { in TEST_F()
271 : CallbackVH(V), DeletedCalls(0), AURWArgument(nullptr) {} in TEST_F()
276 CallbackVH::deleted(); in TEST_F()
294 class RecoveringVH final : public CallbackVH { in TEST_F()
304 : CallbackVH(V), DeletedCalls(0), AURWArgument(nullptr), in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueHandle.h399 class CallbackVH : public ValueHandleBase {
402 ~CallbackVH() = default;
403 CallbackVH(const CallbackVH &) = default;
404 CallbackVH &operator=(const CallbackVH &) = default;
411 CallbackVH() : ValueHandleBase(Callback) {}
412 CallbackVH(Value *P) : ValueHandleBase(Callback, P) {}
462 final : public CallbackVH
512 PoisoningVH(ValueTy *P) : CallbackVH(GetAsValue(P)) {}
514 : CallbackVH(RHS), Poisoned(RHS.Poisoned) {}
524 CallbackVH::operator=(RHS);
/external/llvm-project/llvm/unittests/IR/
DValueHandleTest.cpp31 class ConcreteCallbackVH final : public CallbackVH {
33 ConcreteCallbackVH(Value *V) : CallbackVH(V) {} in ConcreteCallbackVH()
255 class RecordingVH final : public CallbackVH { in TEST_F()
261 RecordingVH(Value *V) : CallbackVH(V), DeletedCalls(0), AURWCalls(0) {} in TEST_F()
266 CallbackVH::deleted(); in TEST_F()
281 class RecordingVH final : public CallbackVH { in TEST_F()
288 : CallbackVH(V), DeletedCalls(0), AURWArgument(nullptr) {} in TEST_F()
293 CallbackVH::deleted(); in TEST_F()
311 class RecoveringVH final : public CallbackVH { in TEST_F()
321 : CallbackVH(V), DeletedCalls(0), AURWArgument(nullptr), in TEST_F()
[all …]
/external/llvm/include/llvm/IR/
DValueHandle.h344 class CallbackVH : public ValueHandleBase {
347 ~CallbackVH() = default;
348 CallbackVH(const CallbackVH &) = default;
349 CallbackVH &operator=(const CallbackVH &) = default;
356 CallbackVH() : ValueHandleBase(Callback) {}
357 CallbackVH(Value *P) : ValueHandleBase(Callback, P) {}
DValueMap.h237 class ValueMapCallbackVH final : public CallbackVH {
246 : CallbackVH(const_cast<Value*>(static_cast<const Value*>(Key))),
250 ValueMapCallbackVH(Value *V) : CallbackVH(V), Map(nullptr) {}
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DAssumptionCache.h51 class AffectedValueCallbackVH final : public CallbackVH {
61 : CallbackVH(V), AC(AC) {} in CallbackVH() function
188 class FunctionCallbackVH final : public CallbackVH {
197 : CallbackVH(V), ACT(ACT) {} in CallbackVH() function
DCFLAliasAnalysisUtils.h23 template <typename AAResult> struct FunctionHandle final : public CallbackVH {
25 : CallbackVH(Fn), Result(Result) { in FunctionHandle()
DDomTreeUpdater.h244 class CallBackOnDeletion final : public CallbackVH {
248 : CallbackVH(V), DelBB(V), Callback_(Callback) {} in CallBackOnDeletion()
256 CallbackVH::deleted(); in deleted()
DPhiValues.h93 class PhiValuesCallbackVH final : public CallbackVH {
100 : CallbackVH(V), PV(PV) {} in CallbackVH() function
DGlobalsModRef.h62 struct DeletionCallbackHandle final : CallbackVH {
67 : CallbackVH(V), GAR(&GAR) {} in DeletionCallbackHandle()
DIVUsers.h37 class IVStrideUse final : public CallbackVH, public ilist_node<IVStrideUse> {
41 : CallbackVH(U), Parent(P), OperandValToReplace(O) { in IVStrideUse()
DBranchProbabilityInfo.h152 class BasicBlockCallbackVH final : public CallbackVH {
163 : CallbackVH(const_cast<Value *>(V)), BPI(BPI) {} in CallbackVH() function
/external/llvm-project/llvm/include/llvm/Analysis/
DAssumptionCache.h66 class AffectedValueCallbackVH final : public CallbackVH {
76 : CallbackVH(V), AC(AC) {} in CallbackVH() function
203 class FunctionCallbackVH final : public CallbackVH {
212 : CallbackVH(V), ACT(ACT) {} in CallbackVH() function
DCFLAliasAnalysisUtils.h23 template <typename AAResult> struct FunctionHandle final : public CallbackVH {
25 : CallbackVH(Fn), Result(Result) { in FunctionHandle()
DDomTreeUpdater.h246 class CallBackOnDeletion final : public CallbackVH {
250 : CallbackVH(V), DelBB(V), Callback_(Callback) {} in CallBackOnDeletion()
258 CallbackVH::deleted(); in deleted()
DPhiValues.h91 class PhiValuesCallbackVH final : public CallbackVH {
98 : CallbackVH(V), PV(PV) {} in CallbackVH() function
DGlobalsModRef.h62 struct DeletionCallbackHandle final : CallbackVH {
67 : CallbackVH(V), GAR(&GAR) {} in DeletionCallbackHandle()
DIVUsers.h37 class IVStrideUse final : public CallbackVH, public ilist_node<IVStrideUse> {
41 : CallbackVH(U), Parent(P), OperandValToReplace(O) { in IVStrideUse()
/external/llvm-project/llvm/include/llvm/Passes/
DStandardInstrumentations.h102 struct BBGuard final : public CallbackVH {
103 BBGuard(const BasicBlock *BB) : CallbackVH(BB) {} in BBGuard()
104 void deleted() override { CallbackVH::deleted(); } in deleted()
105 void allUsesReplacedWith(Value *) override { CallbackVH::deleted(); } in allUsesReplacedWith()
/external/llvm/include/llvm/Analysis/
DAssumptionCache.h134 class FunctionCallbackVH final : public CallbackVH {
142 : CallbackVH(V), ACT(ACT) {} in CallbackVH() function
DGlobalsModRef.h60 struct DeletionCallbackHandle final : CallbackVH {
65 : CallbackVH(V), GAR(&GAR) {} in DeletionCallbackHandle()
DCFLSteensAliasAnalysis.h95 struct FunctionHandle final : public CallbackVH {
97 : CallbackVH(Fn), Result(Result) { in FunctionHandle()
DIVUsers.h37 class IVStrideUse final : public CallbackVH, public ilist_node<IVStrideUse> {
41 : CallbackVH(U), Parent(P), OperandValToReplace(O) { in IVStrideUse()

123