Home
last modified time | relevance | path

Searched refs:OldV (Results 1 – 25 of 30) sorted by relevance

12

/external/compiler-rt/lib/profile/
DInstrProfilingPort.h59 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
61 (LONGLONG)OldV) == (LONGLONG)OldV)
66 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
67 (InterlockedCompareExchange((LONG volatile *)Ptr, (LONG)NewV, (LONG)OldV) == \
68 (LONG)OldV)
74 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
75 __sync_bool_compare_and_swap(Ptr, OldV, NewV)
81 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
82 lprofBoolCmpXchg((void **)Ptr, OldV, NewV)
DInstrProfilingUtil.c51 uint32_t lprofBoolCmpXchg(void **Ptr, void *OldV, void *NewV) { in lprofBoolCmpXchg() argument
53 if (R == OldV) { in lprofBoolCmpXchg()
DInstrProfilingUtil.h30 unsigned lprofBoolCmpXchg(void **Ptr, void *OldV, void *NewV);
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPort.h68 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
70 (LONGLONG)OldV) == (LONGLONG)OldV)
75 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
76 (InterlockedCompareExchange((LONG volatile *)Ptr, (LONG)NewV, (LONG)OldV) == \
77 (LONG)OldV)
83 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
84 __sync_bool_compare_and_swap(Ptr, OldV, NewV)
90 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \ argument
91 lprofBoolCmpXchg((void **)Ptr, OldV, NewV)
DInstrProfilingUtil.h65 unsigned lprofBoolCmpXchg(void **Ptr, void *OldV, void *NewV);
DInstrProfilingUtil.c84 uint32_t lprofBoolCmpXchg(void **Ptr, void *OldV, void *NewV) { in lprofBoolCmpXchg() argument
86 if (R == OldV) { in lprofBoolCmpXchg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DValueList.cpp80 WeakTrackingVH &OldV = ValuePtrs[Idx]; in assignValue() local
81 if (!OldV) { in assignValue()
82 OldV = V; in assignValue()
88 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) { in assignValue()
90 OldV = V; in assignValue()
93 Value *PrevVal = OldV; in assignValue()
94 OldV->replaceAllUsesWith(V); in assignValue()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DValueList.cpp77 WeakTrackingVH &OldV = ValuePtrs[Idx]; in assignValue() local
78 if (!OldV) { in assignValue()
79 OldV = V; in assignValue()
85 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) { in assignValue()
87 OldV = V; in assignValue()
90 Value *PrevVal = OldV; in assignValue()
91 OldV->replaceAllUsesWith(V); in assignValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp189 Value *OldV, Value *NewV) const;
264 Value *OldV, in rewriteIntrinsicOperands() argument
279 return TTI->rewriteIntrinsicWithAddressSpace(II, OldV, NewV); in rewriteIntrinsicOperands()
786 static bool handleMemIntrinsicPtrUse(MemIntrinsic *MI, Value *OldV, in handleMemIntrinsicPtrUse() argument
803 if (Src == OldV) in handleMemIntrinsicPtrUse()
806 if (Dest == OldV) in handleMemIntrinsicPtrUse()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp202 Value *OldV, Value *NewV) const;
330 Value *OldV, in rewriteIntrinsicOperands() argument
348 Value *Rewrite = TTI->rewriteIntrinsicWithAddressSpace(II, OldV, NewV); in rewriteIntrinsicOperands()
928 static bool handleMemIntrinsicPtrUse(MemIntrinsic *MI, Value *OldV, in handleMemIntrinsicPtrUse() argument
945 if (Src == OldV) in handleMemIntrinsicPtrUse()
948 if (Dest == OldV) in handleMemIntrinsicPtrUse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp233 Value *subst(Value *Tree, Value *OldV, Value *NewV);
234 void replace(Value *OldV, Value *NewV);
380 Value *Simplifier::Context::subst(Value *Tree, Value *OldV, Value *NewV) { in subst() argument
381 if (Tree == OldV) in subst()
383 if (OldV == NewV) in subst()
395 if (Op == OldV) { in subst()
397 unuse(OldV); in subst()
406 void Simplifier::Context::replace(Value *OldV, Value *NewV) { in replace() argument
407 if (Root == OldV) { in replace()
436 Root = subst(Root, OldV, NewV); in replace()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp252 Value *subst(Value *Tree, Value *OldV, Value *NewV);
253 void replace(Value *OldV, Value *NewV);
399 Value *Simplifier::Context::subst(Value *Tree, Value *OldV, Value *NewV) { in subst() argument
400 if (Tree == OldV) in subst()
402 if (OldV == NewV) in subst()
414 if (Op == OldV) { in subst()
416 unuse(OldV); in subst()
425 void Simplifier::Context::replace(Value *OldV, Value *NewV) { in replace() argument
426 if (Root == OldV) { in replace()
455 Root = subst(Root, OldV, NewV); in replace()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h200 Value *OldV, Value *NewV) const;
DAMDGPUTargetTransformInfo.cpp670 IntrinsicInst *II, Value *OldV, Value *NewV) const { in rewriteIntrinsicWithAddressSpace() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h388 Value *OldV, Value *NewV) const;
1207 IntrinsicInst *II, Value *OldV, Value *NewV) const = 0;
1473 IntrinsicInst *II, Value *OldV, Value *NewV) const override { in rewriteIntrinsicWithAddressSpace() argument
1474 return Impl.rewriteIntrinsicWithAddressSpace(II, OldV, NewV); in rewriteIntrinsicWithAddressSpace()
DTargetTransformInfoImpl.h169 Value *OldV, Value *NewV) const { in rewriteIntrinsicWithAddressSpace() argument
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h231 Value *rewriteIntrinsicWithAddressSpace(IntrinsicInst *II, Value *OldV,
DAMDGPUTargetTransformInfo.cpp992 Value *OldV, in rewriteIntrinsicWithAddressSpace() argument
1024 unsigned OldAS = OldV->getType()->getPointerAddressSpace(); in rewriteIntrinsicWithAddressSpace()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp1233 Value *OldV = U->get(); in cleanupIR() local
1238 if (auto *CI = dyn_cast<CallInst>(OldV->stripPointerCasts())) in cleanupIR()
1243 << " instead of " << *OldV << "\n"); in cleanupIR()
1246 if (auto *CB = dyn_cast<CallBase>(OldV)) in cleanupIR()
1249 if (Instruction *I = dyn_cast<Instruction>(OldV)) { in cleanupIR()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h392 Value *rewriteIntrinsicWithAddressSpace(IntrinsicInst *II, Value *OldV,
1389 Value *OldV,
1686 Value *rewriteIntrinsicWithAddressSpace(IntrinsicInst *II, Value *OldV, in rewriteIntrinsicWithAddressSpace() argument
1688 return Impl.rewriteIntrinsicWithAddressSpace(II, OldV, NewV); in rewriteIntrinsicWithAddressSpace()
DTargetTransformInfoImpl.h94 Value *rewriteIntrinsicWithAddressSpace(IntrinsicInst *II, Value *OldV, in rewriteIntrinsicWithAddressSpace() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp233 IntrinsicInst *II, Value *OldV, Value *NewV) const { in rewriteIntrinsicWithAddressSpace() argument
234 return TTIImpl->rewriteIntrinsicWithAddressSpace(II, OldV, NewV); in rewriteIntrinsicWithAddressSpace()
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp310 IntrinsicInst *II, Value *OldV, Value *NewV) const { in rewriteIntrinsicWithAddressSpace() argument
311 return TTIImpl->rewriteIntrinsicWithAddressSpace(II, OldV, NewV); in rewriteIntrinsicWithAddressSpace()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp950 WeakVH &OldV = ValuePtrs[Idx]; in assignValue() local
951 if (!OldV) { in assignValue()
952 OldV = V; in assignValue()
958 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) { in assignValue()
960 OldV = V; in assignValue()
963 Value *PrevVal = OldV; in assignValue()
964 OldV->replaceAllUsesWith(V); in assignValue()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp4061 Value *OldV = U; in clobberUse() local
4063 U = UndefValue::get(OldV->getType()); in clobberUse()
4068 if (Instruction *OldI = dyn_cast<Instruction>(OldV)) in clobberUse()

12