Searched refs:Cache (Results 1 - 25 of 80) sorted by relevance

1234

/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutcache.c182 ACPI_MEMORY_LIST *Cache; local
195 Cache = AcpiOsAllocate (sizeof (ACPI_MEMORY_LIST));
196 if (!Cache)
203 memset (Cache, 0, sizeof (ACPI_MEMORY_LIST));
204 Cache->ListName = CacheName;
205 Cache->ObjectSize = ObjectSize;
206 Cache->MaxDepth = MaxDepth;
208 *ReturnCache = Cache;
217 * PARAMETERS: Cache - Handle to cache object
227 ACPI_MEMORY_LIST *Cache)
226 AcpiOsPurgeCache( ACPI_MEMORY_LIST *Cache) argument
279 AcpiOsDeleteCache( ACPI_MEMORY_LIST *Cache) argument
318 AcpiOsReleaseObject( ACPI_MEMORY_LIST *Cache, void *Object) argument
383 AcpiOsAcquireObject( ACPI_MEMORY_LIST *Cache) argument
[all...]
H A Duttrack.c215 ACPI_MEMORY_LIST *Cache; local
218 Cache = AcpiOsAllocateZeroed (sizeof (ACPI_MEMORY_LIST));
219 if (!Cache)
224 Cache->ListName = ListName;
225 Cache->ObjectSize = ObjectSize;
227 *ReturnCache = Cache;
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Daslcache.c182 ASL_CACHE_INFO *Cache; local
192 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize);
196 Cache->Next = Gbl_StringCacheList->Next;
197 Gbl_StringCacheList->Next = Cache;
204 return (Cache->Buffer);
212 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize);
216 Cache->Next = Gbl_StringCacheList;
217 Gbl_StringCacheList = Cache;
252 ASL_CACHE_INFO *Cache; local
296 ASL_CACHE_INFO *Cache; local
340 ASL_CACHE_INFO *Cache; local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h34 void *allocatePrimary(AllocatorCache *Cache, uptr ClassId) { argument
35 return Cache->Allocate(&Primary, ClassId);
38 // Secondary allocations do not require a Cache, but do require an Alignment
44 void deallocatePrimary(AllocatorCache *Cache, void *Ptr, uptr ClassId) { argument
45 Cache->Deallocate(&Primary, ClassId, Ptr);
52 void initCache(AllocatorCache *Cache) { argument
53 Cache->Init(&Stats);
56 void destroyCache(AllocatorCache *Cache) { argument
57 Cache->Destroy(&Primary, &Stats);
H A Dscudo_tsd.h26 AllocatorCacheT Cache; variable
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h38 typedef DenseSlabAllocCache Cache; typedef in class:__tsan::DenseSlabAlloc
39 typedef typename Cache::IndexT IndexT;
61 IndexT Alloc(Cache *c) {
67 void Free(Cache *c, IndexT idx) {
69 if (c->pos == Cache::kSize)
80 void FlushCache(Cache *c) {
89 void InitCache(Cache *c) {
101 void Refill(Cache *c) {
122 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) {
129 void Drain(Cache *
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd.h27 typename Allocator::CacheT Cache; variable
32 Instance->initCache(&Cache);
H A Dquarantine.h187 Cache.initLinkerInitialized();
206 Cache.transfer(C);
208 if (Cache.getSize() > getMaxSize() && RecycleMutex.tryLock())
215 Cache.transfer(C);
223 Cache.getStats(Str);
242 CacheT Cache; member in class:scudo::GlobalQuarantine
258 const uptr CacheSize = Cache.getSize();
259 const uptr OverheadSize = Cache.getOverheadSize();
268 Cache.mergeBatches(&Tmp);
272 while (Cache
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp776 static void AssertSorted(MemoryDependenceResults::NonLocalDepInfo &Cache, argument
779 Count = Cache.size();
780 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) &&
781 "Cache isn't sorted!");
791 NonLocalDepInfo &Cache = CacheP.first; local
798 if (!Cache.empty()) {
803 return Cache;
808 for (auto &Entry : Cache)
813 llvm::sort(Cache);
978 GetNonLocalInfoForBlock( Instruction *QueryInst, const MemoryLocation &Loc, bool isLoad, BasicBlock *BB, NonLocalDepInfo *Cache, unsigned NumSortedEntries) argument
1048 SortNonLocalDepInfoCache(MemoryDependenceResults::NonLocalDepInfo &Cache, unsigned NumSortedEntries) argument
1169 NonLocalDepInfo *Cache = &CacheInfo->NonLocalDeps; local
[all...]
H A DCFLSteensAliasAnalysis.cpp228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>()));
233 // Note that we can't do Cache[Fn] = buildSetsFrom(Fn) here: the function call
237 Cache[Fn] = std::move(FunInfo);
242 void CFLSteensAAResult::evict(Function *Fn) { Cache.erase(Fn); }
248 auto Iter = Cache.find(Fn);
249 if (Iter == Cache.end()) {
251 Iter = Cache.find(Fn);
252 assert(Iter != Cache.end());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h128 llvm::StringMap<SharedFileSystemEntry, llvm::BumpPtrAllocator> Cache; member in struct:clang::tooling::dependencies::DependencyScanningFilesystemSharedCache::CacheShard
161 bool IsInserted = Cache.try_emplace(Filename, Entry).second;
167 auto It = Cache.find(Filename);
168 return It == Cache.end() ? nullptr : It->getValue();
177 llvm::StringMap<const CachedFileSystemEntry *, llvm::BumpPtrAllocator> Cache; member in class:clang::tooling::dependencies::DependencyScanningWorkerFilesystem
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h1 //==- SymbolCache.h - Cache of native symbols and ids ------------*- C++ -*-==//
31 /// Cache of all stable symbols, indexed by SymIndexId. Just because a
36 std::vector<std::unique_ptr<NativeRawSymbol>> Cache; member in class:llvm::pdb::SymbolCache
56 SymIndexId Id = Cache.size();
57 Cache.push_back(nullptr);
86 SymIndexId Id = Cache.size();
95 Cache.push_back(std::move(Result));
118 SymIndexId SymId = Cache.size();
H A DNativeSession.h101 SymbolCache &getSymbolCache() { return Cache; }
102 const SymbolCache &getSymbolCache() const { return Cache; }
110 SymbolCache Cache; member in class:llvm::pdb::NativeSession
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DFileSystemStatCache.cpp36 FileSystemStatCache *Cache,
42 if (Cache)
43 RetCode = Cache->getStat(Path, Status, isFile, F, FS);
115 // Cache file 'stat' results and directories with absolutely paths.
34 get(StringRef Path, llvm::vfs::Status &Status, bool isFile, std::unique_ptr<llvm::vfs::File> *F, FileSystemStatCache *Cache, llvm::vfs::FileSystem &FS) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp153 SplitBlockCache *Cache) {
202 if (!Cache)
203 Cache = &LocalBlockSymbolsCache; member in namespace:llvm::__anon1875
204 if (*Cache == None) {
205 *Cache = SplitBlockCache::value_type();
208 (*Cache)->push_back(Sym);
210 llvm::sort(**Cache, [](const Symbol *LHS, const Symbol *RHS) {
214 auto &BlockSymbols = **Cache;
152 splitBlock(Block &B, size_t SplitIndex, SplitBlockCache *Cache) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp84 DenseMap<const MDNode *, MDNode *> &Cache,
93 if (auto *Found = Cache[IA]) {
108 Cache[MD] = Last = DILocation::getDistinct(
82 appendInlinedAt(DebugLoc DL, DILocation *InlinedAt, LLVMContext &Ctx, DenseMap<const MDNode *, MDNode *> &Cache, bool ReplaceLast) argument
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h78 typedef QuarantineCache<Callback> Cache; typedef in class:__sanitizer::Quarantine
102 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
115 void NOINLINE Drain(Cache *c, Callback cb) {
124 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) {
149 Cache cache_;
153 Cache tmp;
183 void NOINLINE DoRecycle(Cache *c, Callback cb) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp67 Cache.push_back(nullptr);
124 NativeRawSymbol &UnmodifiedNRS = *Cache[UnmodifiedId];
232 assert(SymbolId < Cache.size());
235 if (SymbolId == 0 || SymbolId >= Cache.size())
240 NativeRawSymbol *NRS = Cache[SymbolId].get();
248 return *Cache[SymbolId];
H A DNativeSession.cpp55 Cache(*this, getDbiStreamPtr(*Pdb)) {}
93 return Cache.getSymbolById(SymbolId);
220 ExeSymbol = Cache.createSymbol<NativeExeSymbol>();
226 return Cache.getNativeSymbolById<NativeExeSymbol>(ExeSymbol);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.h203 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache; typedef in class:lldb_private::AppleObjCRuntimeV2::TaggedPointerVendorRuntimeAssisted
204 typedef Cache::iterator CacheIterator;
205 Cache m_cache;
241 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache; typedef in class:lldb_private::AppleObjCRuntimeV2::TaggedPointerVendorExtended
242 typedef Cache::iterator CacheIterator;
243 Cache m_ext_cache;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DPtrState.h173 bool InitBottomUp(ARCMDKindCache &Cache, Instruction *I);
199 bool MatchWithRelease(ARCMDKindCache &Cache, Instruction *Release);
/freebsd-11-stable/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h381 * Memory/Object Cache
395 ACPI_CACHE_T *Cache);
401 ACPI_CACHE_T *Cache);
407 ACPI_CACHE_T *Cache);
413 ACPI_CACHE_T *Cache,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DFileSystemStatCache.h53 FileSystemStatCache *Cache, llvm::vfs::FileSystem &FS);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h90 DenseMap<const MDNode *, MDNode *> &Cache,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterferenceCache.h49 /// Tag - Cache tag is changed when any of the underlying LiveIntervalUnions
212 void setPhysReg(InterferenceCache &Cache, unsigned PhysReg) { argument
217 setEntry(Cache.get(PhysReg));

Completed in 431 milliseconds

1234