Home
last modified time | relevance | path

Searched refs:CachePtr (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp63 ValueVector *CachePtr; member in __anonc24c07cc0111::Scatterer
186 : BB(bb), BBI(bbi), V(v), CachePtr(cachePtr) { in Scatterer()
192 if (!CachePtr) in Scatterer()
194 else if (CachePtr->empty()) in Scatterer()
195 CachePtr->resize(Size, nullptr); in Scatterer()
197 assert(Size == CachePtr->size() && "Inconsistent vector sizes"); in Scatterer()
202 ValueVector &CV = (CachePtr ? *CachePtr : Tmp); in operator []()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp97 ValueVector *CachePtr; member in __anon41e449ae0111::Scatterer
250 : BB(bb), BBI(bbi), V(v), CachePtr(cachePtr) { in INITIALIZE_PASS_DEPENDENCY()
256 if (!CachePtr) in INITIALIZE_PASS_DEPENDENCY()
258 else if (CachePtr->empty()) in INITIALIZE_PASS_DEPENDENCY()
259 CachePtr->resize(Size, nullptr); in INITIALIZE_PASS_DEPENDENCY()
261 assert(Size == CachePtr->size() && "Inconsistent vector sizes"); in INITIALIZE_PASS_DEPENDENCY()
266 ValueVector &CV = (CachePtr ? *CachePtr : Tmp); in operator []()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DScalarizer.cpp103 ValueVector *CachePtr; member in __anon37ece03a0111::Scatterer
260 : BB(bb), BBI(bbi), V(v), CachePtr(cachePtr) { in INITIALIZE_PASS_DEPENDENCY()
266 if (!CachePtr) in INITIALIZE_PASS_DEPENDENCY()
268 else if (CachePtr->empty()) in INITIALIZE_PASS_DEPENDENCY()
269 CachePtr->resize(Size, nullptr); in INITIALIZE_PASS_DEPENDENCY()
271 assert(Size == CachePtr->size() && "Inconsistent vector sizes"); in INITIALIZE_PASS_DEPENDENCY()
276 ValueVector &CV = (CachePtr ? *CachePtr : Tmp); in operator []()
/external/clang/lib/Basic/
DSourceManager.cpp1788 void SourceManager::computeMacroArgsCache(MacroArgsMap *&CachePtr, in computeMacroArgsCache() argument
1791 assert(!CachePtr); in computeMacroArgsCache()
1793 CachePtr = new MacroArgsMap(); in computeMacroArgsCache()
1794 MacroArgsMap &MacroArgsCache = *CachePtr; in computeMacroArgsCache()