Home
last modified time | relevance | path

Searched refs:getValPtr (Results 1 – 25 of 35) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DValueHandle.h44 : PrevPair(nullptr, Kind), Val(RHS.getValPtr()) { in ValueHandleBase()
45 if (isValid(getValPtr())) in ValueHandleBase()
61 if (isValid(getValPtr())) in ValueHandleBase()
66 if (isValid(getValPtr())) in ~ValueHandleBase()
71 if (getValPtr() == RHS)
73 if (isValid(getValPtr()))
76 if (isValid(getValPtr()))
82 if (getValPtr() == RHS.getValPtr())
83 return RHS.getValPtr();
84 if (isValid(getValPtr()))
[all …]
DValueMap.h264 KeyT Unwrap() const { return cast_or_null<KeySansPointerT>(getValPtr()); }
328 return LHS == RHS.getValPtr();
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DValueHandle.h93 Value *operator->() const { return getValPtr(); }
94 Value &operator*() const { return *getValPtr(); }
97 Value *getValPtr() const { return VP; } in getValPtr() function
149 return getValPtr();
185 ValueTy *getValPtr() const {
186 return static_cast<ValueTy*>(ValueHandleBase::getValPtr());
193 ValueTy *getValPtr() const { return ThePtr; }
213 return getValPtr();
218 return getValPtr();
221 setValPtr(RHS.getValPtr());
[all …]
/external/llvm/include/llvm/IR/
DValueHandle.h104 Value *getValPtr() const { return V; } in getValPtr() function
162 return getValPtr();
201 Value *getRawValPtr() const { return ValueHandleBase::getValPtr(); }
212 ValueTy *getValPtr() const { return static_cast<ValueTy *>(getRawValPtr()); }
226 return getValPtr();
231 return getValPtr();
234 setValPtr(RHS.getValPtr());
235 return getValPtr();
238 ValueTy *operator->() const { return getValPtr(); }
239 ValueTy &operator*() const { return *getValPtr(); }
[all …]
DValueMap.h253 KeyT Unwrap() const { return cast_or_null<KeySansPointerT>(getValPtr()); }
311 return LHS == RHS.getValPtr();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DValue.cpp758 assert(getValPtr() == Next->getValPtr() && "Added to wrong list?"); in AddToExistingUseList()
773 assert(getValPtr() && "Null pointer doesn't have a use list!"); in AddToUseList()
775 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList()
777 if (getValPtr()->HasValueHandle) { in AddToUseList()
780 ValueHandleBase *&Entry = pImpl->ValueHandles[getValPtr()]; in AddToUseList()
794 ValueHandleBase *&Entry = Handles[getValPtr()]; in AddToUseList()
797 getValPtr()->HasValueHandle = true; in AddToUseList()
809 assert(I->second && I->first == I->second->getValPtr() && in AddToUseList()
816 assert(getValPtr() && getValPtr()->HasValueHandle && in RemoveFromUseList()
833 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAssumptionCache.cpp121 auto AVI = AC->AffectedValues.find(getValPtr()); in deleted()
144 AC->copyAffectedValuesInCache(getValPtr(), NV); in allUsesReplacedWith()
221 auto I = ACT->AssumptionCaches.find_as(cast<Function>(getValPtr())); in deleted()
DAliasSetTracker.cpp672 AST->deleteValue(getValPtr()); in deleted()
677 AST->copyValue(getValPtr(), V); in allUsesReplacedWith()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCFLAliasAnalysisUtils.h39 auto *Val = getValPtr(); in removeSelfFromCache()
DIVUsers.h47 return cast<Instruction>(getValPtr()); in getUser()
DBranchProbabilityInfo.h157 BPI->eraseBlock(cast<BasicBlock>(getValPtr())); in deleted()
/external/swiftshader/third_party/LLVM/unittests/Support/
DValueHandleTest.cpp306 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); in TEST_F()
310 ASSERT_TRUE(NULL != getValPtr()); in TEST_F()
311 EXPECT_EQ(1U, getValPtr()->getNumUses()); in TEST_F()
/external/llvm/unittests/IR/
DValueHandleTest.cpp309 getValPtr()->replaceAllUsesWith( in TEST_F()
314 ASSERT_TRUE(nullptr != getValPtr()); in TEST_F()
315 EXPECT_EQ(1U, getValPtr()->getNumUses()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineModuleInfo.cpp190 Map->UpdateForDeletedBlock(cast<BasicBlock>(getValPtr())); in deleted()
194 Map->UpdateForRAUWBlock(cast<BasicBlock>(getValPtr()), cast<BasicBlock>(V2)); in allUsesReplacedWith()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DScalarEvolutionExpressions.h436 Value *getValue() const { return getValPtr(); } in getValue()
448 Type *getType() const { return getValPtr()->getType(); } in getType()
DIVUsers.h46 return cast<Instruction>(getValPtr()); in getUser()
/external/llvm/lib/Analysis/
DAssumptionCache.cpp92 auto I = ACT->AssumptionCaches.find_as(cast<Function>(getValPtr())); in deleted()
/external/llvm/include/llvm/Analysis/
DCFLSteensAliasAnalysis.h110 auto *Val = getValPtr(); in removeSelfFromCache()
DIVUsers.h46 return cast<Instruction>(getValPtr()); in getUser()
DScalarEvolutionExpressions.h414 Value *getValue() const { return getValPtr(); } in getValue()
428 Type *getType() const { return getValPtr()->getType(); } in getType()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DValueHandleTest.cpp327 getValPtr()->replaceAllUsesWith( in TEST_F()
332 ASSERT_TRUE(nullptr != getValPtr()); in TEST_F()
333 EXPECT_EQ(1U, getValPtr()->getNumUses()); in TEST_F()
/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp179 Map->UpdateForDeletedBlock(cast<BasicBlock>(getValPtr())); in deleted()
183 Map->UpdateForRAUWBlock(cast<BasicBlock>(getValPtr()), cast<BasicBlock>(V2)); in allUsesReplacedWith()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineModuleInfo.cpp244 Map->UpdateForDeletedBlock(cast<BasicBlock>(getValPtr())); in deleted()
248 Map->UpdateForRAUWBlock(cast<BasicBlock>(getValPtr()), cast<BasicBlock>(V2)); in allUsesReplacedWith()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContextImpl.h108 return cast_or_null<MDNode>(getValPtr()); in get()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasSetTracker.cpp600 AST->deleteValue(getValPtr()); in deleted()
605 AST->copyValue(getValPtr(), V); in allUsesReplacedWith()

12