Home
last modified time | relevance | path

Searched defs:Allocator (Results 1 – 25 of 163) sorted by relevance

1234567

/openbsd/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_allocator.h164 template <size_t N> struct Allocator { struct
166 struct Block {
174 unsigned char *BackingStore = nullptr;
175 unsigned char *AlignedNextBlock = nullptr;
176 size_t AllocatedBlocks = 0;
177 bool Owned;
180 void *Alloc() XRAY_NEVER_INSTRUMENT { in Alloc()
225 explicit Allocator(size_t M) XRAY_NEVER_INSTRUMENT in Allocator() function
233 explicit Allocator(void *P, size_t M) XRAY_NEVER_INSTRUMENT in Allocator() function
244 Allocator(Allocator &&O) XRAY_NEVER_INSTRUMENT { in Allocator() argument
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp247 struct Allocator { struct
250 MemprofAllocator allocator;
257 MIBMapTy MIBMap;
259 atomic_uint8_t destructing;
260 atomic_uint8_t constructed;
261 bool print_text;
264 explicit Allocator(LinkerInitialized) : print_text(flags()->print_text) { in Allocator() argument
269 ~Allocator() { in ~Allocator()
280 void FinishAndWrite() { in FinishAndWrite()
308 void InsertLiveBlocks() { in InsertLiveBlocks()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_allocator.cpp296 struct Allocator { struct
300 AsanAllocator allocator;
301 AsanQuarantine quarantine;
302 StaticSpinMutex fallback_mutex;
306 uptr max_user_defined_malloc_size;
309 atomic_uint16_t min_redzone;
310 atomic_uint16_t max_redzone;
314 explicit Allocator(LinkerInitialized) in Allocator() function
346 void RePoisonChunk(uptr chunk) { in RePoisonChunk()
792 uptr AllocationSize(uptr p) { in AllocationSize()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp104 std::unique_ptr<AllocatorT> Allocator; member
133 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
148 auto *Allocator = this->Allocator.get(); in BasicTest() local
199 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
216 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
234 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
261 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
279 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
300 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
321 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
[all …]
H A Dtsd_test.cpp80 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
94 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() local
130 template <typename AllocatorT> static void stressCache(AllocatorT *Allocator) { in stressCache()
162 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() local
186 static void stressSharedRegistry(MockAllocator<SharedCaches> *Allocator) { in stressSharedRegistry()
217 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
H A Dprimary_test.cpp144 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST() local
188 Primary Allocator; in TEST() local
228 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST() local
264 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST() local
314 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST() local
330 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST() local
/openbsd/gnu/llvm/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp47 BumpPtrAllocator &Allocator) in MappedBlockStream()
53 BumpPtrAllocator &Allocator) { in createStream()
60 BumpPtrAllocator &Allocator) { in createIndexedStream()
72 BumpPtrAllocator &Allocator) { in createDirectoryStream()
82 BumpPtrAllocator &Allocator) { in createFpmStream()
311 WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator) in WritableMappedBlockStream()
319 BumpPtrAllocator &Allocator) { in createStream()
328 BumpPtrAllocator &Allocator) { in createIndexedStream()
339 BumpPtrAllocator &Allocator) { in createDirectoryStream()
349 BumpPtrAllocator &Allocator, in createFpmStream()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DRecycler.h68 void clear(AllocatorType &Allocator) { in clear()
83 SubClass *Allocate(AllocatorType &Allocator) { in Allocate()
93 T *Allocate(AllocatorType &Allocator) { in Allocate()
H A DRecyclingAllocator.h34 AllocatorType Allocator; variable
64 T, Size, Align> &Allocator) { in new()
H A DArrayRecycler.h104 void clear(AllocatorType &Allocator) { in clear()
125 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate()
H A DAllocator.h81 BumpPtrAllocatorImpl(T &&Allocator) in BumpPtrAllocatorImpl()
383 BumpPtrAllocator Allocator; variable
442 GrowthDelay> &Allocator) { in new()
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp402 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
413 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
444 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
465 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
475 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
489 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
500 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
509 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
532 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
748 BumpPtrAllocator &Allocator, ArrayRef<YAMLDebugSubsection> Subsections, in toCodeViewSubsectionList()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DTargetRegistry.h1162 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function
1229 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function
1260 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function
1293 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function
1326 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function
1360 static TargetMachine *Allocator(const Target &T, const Triple &TT, in Allocator() function
1383 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function
1404 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function
1425 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function
1445 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp66 std::unique_ptr<BumpPtrAllocator> Allocator) in NativeSession()
78 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdb() local
92 loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) { in loadPdbFile()
121 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdbPath() local
161 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromExe() local
188 auto Allocator = std::make_unique<BumpPtrAllocator>(); in searchForPdb() local
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
H A Dnode_metadata_selector.hpp99 Allocator>, enumerator
104 Allocator> >::value enumerator
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/tree_policy/
H A Dnode_metadata_selector.hpp99 Allocator>, enumerator
104 Allocator> >::value enumerator
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/benchmarks/
H A Dmalloc_benchmark.cpp29 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free() local
69 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free_loop() local
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DLiveInterval.h245 LiveRange(const LiveRange &Other, BumpPtrAllocator &Allocator) { in LiveRange()
252 void assign(const LiveRange &Other, BumpPtrAllocator &Allocator) { in assign()
703 BumpPtrAllocator &Allocator) in SubRange()
785 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
794 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonMachineFunctionInfo.cpp17 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/openbsd/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kMachineFunction.cpp23 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430MachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/openbsd/gnu/llvm/llvm/lib/Target/ARC/
H A DARCMachineFunctionInfo.cpp16 ARCFunctionInfo::clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/openbsd/gnu/llvm/llvm/lib/Target/VE/
H A DVEMachineFunctionInfo.cpp16 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.cpp18 BumpPtrAllocator &Allocator, MachineFunction &DestMF, in clone()

1234567