HomeSort by: relevance | last modified time | path
    Searched refs:Storage (Results 1 - 25 of 92) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/clang/lib/AST/
TemplateName.cpp 65 Storage = StorageType::getFromOpaqueValue(Ptr);
68 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {}
69 TemplateName::TemplateName(OverloadedTemplateStorage *Storage)
70 : Storage(Storage) {}
71 TemplateName::TemplateName(AssumedTemplateStorage *Storage)
72 : Storage(Storage) {}
73 TemplateName::TemplateName(SubstTemplateTemplateParmStorage *Storage)
74 : Storage(Storage) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
MetadataImpl.h 28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) {
29 switch (Storage) {
42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
43 switch (Storage) {
User.cpp 128 uint8_t *Storage = static_cast<uint8_t *>(
130 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate);
140 auto *DescInfo = reinterpret_cast<DescriptorInfo *>(Storage + DescBytes);
157 void *Storage = ::operator new(Size + sizeof(Use *));
158 Use **HungOffOperandList = static_cast<Use **>(Storage);
190 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes;
191 ::operator delete(Storage);
193 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands;
194 Use::zap(Storage, Storage + Obj->NumUserOperands
    [all...]
DebugInfoMetadata.cpp 36 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
39 : MDNode(C, DILocationKind, Storage, MDs) {
61 StorageType Storage, bool ShouldCreate) {
65 if (Storage == Uniqued) {
80 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column,
82 Storage, Context.pImpl->DILocations);
287 StorageType Storage, bool ShouldCreate) {
289 if (Storage == Uniqued) {
304 Context, Storage, Hash, Tag, PreOps, DwarfOps),
305 Storage, Context.pImpl->GenericDINodes)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
ModuleLoader.h 49 llvm::PointerIntPair<Module *, 2, LoadResultKind> Storage;
52 ModuleLoadResult(Module *M) : Storage(M, Normal) {}
53 ModuleLoadResult(LoadResultKind Kind) : Storage(nullptr, Kind) {}
55 operator Module *() const { return Storage.getPointer(); }
59 bool isNormal() const { return Storage.getInt() == Normal; }
65 bool isMissingExpected() const { return Storage.getInt() == MissingExpected; }
69 bool isConfigMismatch() const { return Storage.getInt() == ConfigMismatch; }
ModuleMap.h 140 // Adjust the number of bits for KnownHeader::Storage.
156 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage;
159 KnownHeader() : Storage(nullptr, NormalHeader) {}
160 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {}
163 return A.Storage == B.Storage;
166 return A.Storage != B.Storage;
170 Module *getModule() const { return Storage.getPointer(); }
173 ModuleHeaderRole getRole() const { return Storage.getInt();
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
DJB.cpp 37 static StringRef toUTF8(UTF32 C, MutableArrayRef<UTF8> Storage) {
39 UTF8 *Begin8 = Storage.begin();
44 Storage.end(), strictConversion);
47 return StringRef(reinterpret_cast<char *>(Storage.begin()),
48 Begin8 - Storage.begin());
75 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage;
78 StringRef Folded = toUTF8(C, Storage);
Chrono.cpp 26 struct tm Storage;
30 struct tm *LT = ::localtime_r(&OurTime, &Storage);
35 int Error = ::localtime_s(&Storage, &OurTime);
40 return Storage;
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
Any.h 62 : Storage(Other.Storage ? Other.Storage->clone() : nullptr) {}
85 Storage =
89 Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
92 std::swap(Storage, Other.Storage);
97 Storage = std::move(Other.Storage);
    [all...]
Optional.h 34 /// Storage for any type.
239 optional_detail::OptionalStorage<T> Storage;
247 constexpr Optional(const T &y) : Storage(in_place, y) {}
250 constexpr Optional(T &&y) : Storage(in_place, std::move(y)) {}
255 : Storage(in_place, std::forward<ArgTypes>(Args)...) {}
258 Storage = std::move(y);
265 Storage.emplace(std::forward<ArgTypes>(Args)...);
273 Storage = y;
278 void reset() { Storage.reset(); }
280 constexpr const T *getPointer() const { return &Storage.getValue();
    [all...]
PointerSumType.h 53 /// support by comparing the underlying storage of the pointer values. It
65 /// address of that internal storage. This is especially useful when building an
80 // when we *read* a value, we copy the underlying storage out to avoid relying
93 StorageT Storage;
104 Storage.Value = reinterpret_cast<uintptr_t>(V) | N;
152 // Store the initial value of the pointer when read out of our storage.
157 Storage.MinTagPointer = InitialPtr;
159 // out using the same underlying-storage read as above.
161 "Switching to typed storage changed the pointer returned!");
162 // Now we can correctly return an address to typed storage
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ParentMapContext.h 93 llvm::AlignedCharArrayUnion<DynTypedNode, ArrayRef<DynTypedNode>> Storage;
98 new (&Storage) DynTypedNode(N);
102 new (&Storage) ArrayRef<DynTypedNode>(A);
107 return reinterpret_cast<const ArrayRef<DynTypedNode> *>(&Storage)
109 return reinterpret_cast<const DynTypedNode *>(&Storage);
114 return reinterpret_cast<const ArrayRef<DynTypedNode> *>(&Storage)->end();
115 return reinterpret_cast<const DynTypedNode *>(&Storage) + 1;
ASTTypeTraits.h 10 // that can be used to store an AST base node at runtime in the same storage in
251 /// the storage inside DynTypedNode. For those nodes, do not
254 return BaseConverter<T>::get(NodeKind, &Storage);
262 return BaseConverter<T>::getUnchecked(NodeKind, &Storage);
274 ? *reinterpret_cast<void *const *>(&Storage)
396 static const T *get(ASTNodeKind NodeKind, const void *Storage) {
398 return &getUnchecked(NodeKind, Storage);
401 static const T &getUnchecked(ASTNodeKind NodeKind, const void *Storage) {
404 *reinterpret_cast<const void *const *>(Storage)));
409 new (&Result.Storage) const void *(&Node)
    [all...]
TemplateName.h 197 StorageType Storage;
234 explicit TemplateName(OverloadedTemplateStorage *Storage);
235 explicit TemplateName(AssumedTemplateStorage *Storage);
236 explicit TemplateName(SubstTemplateTemplateParmStorage *Storage);
237 explicit TemplateName(SubstTemplateTemplateParmPackStorage *Storage);
272 /// \returns The storage for the substituted template template parameter,
279 /// \returns The storage for the substituted template template parameter pack,
331 ID.AddPointer(Storage.getOpaqueValue());
335 void *getAsVoidPointer() const { return Storage.getOpaqueValue(); }
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
ExplodedGraph.cpp 192 // An NodeGroup's storage type is actually very much like a TinyPtrVector:
199 // 2. The group is empty, in which case the storage value is null.
214 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P);
215 assert(Storage.is<ExplodedNode *>());
216 Storage = node;
217 assert(Storage.is<ExplodedNode *>());
223 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P);
224 if (Storage.isNull()) {
225 Storage = N;
226 assert(Storage.is<ExplodedNode *>())
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
SymbolSerializer.h 28 BumpPtrAllocator &Storage;
48 SymbolSerializer(BumpPtrAllocator &Storage, CodeViewContainer Container);
51 static CVSymbol writeOneSymbol(SymType &Sym, BumpPtrAllocator &Storage,
55 SymbolSerializer Serializer(Storage, Container);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
LookupResult.cpp 26 llvm::SmallString<64> Storage;
27 llvm::sys::path::append(Storage, Locations[Index].Dir,
29 Fullpath.assign(Storage.begin(), Storage.end());
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
yaml2obj.cpp 59 yaml2ObjectFile(SmallVectorImpl<char> &Storage, StringRef Yaml,
61 Storage.clear();
62 raw_svector_ostream OS(Storage);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
Minidump.h 110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride)
111 : Storage(Storage), Stride(Stride) {
112 assert(Storage.size() % Stride == 0);
116 return Storage.size() == R.Storage.size();
120 assert(Storage.size() >= sizeof(minidump::MemoryInfo));
121 return *reinterpret_cast<const minidump::MemoryInfo *>(Storage.data());
125 Storage = Storage.drop_front(Stride)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
DebugInfoMetadata.h 132 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
134 : MDNode(C, ID, Storage, Ops1, Ops2) {
229 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
232 : DINode(C, GenericDINodeKind, Storage, Tag, Ops1, Ops2) {
242 StorageType Storage, bool ShouldCreate = true) {
244 DwarfOps, Storage, ShouldCreate);
249 StorageType Storage, bool ShouldCreate = true);
300 DISubrange(LLVMContext &C, StorageType Storage, ArrayRef<Metadata *> Ops)
301 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, Ops) {}
306 int64_t LowerBound, StorageType Storage,
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
SymbolSerializer.cpp 23 : Storage(Allocator), Stream(RecordBuffer, support::little), Writer(Stream),
53 uint8_t *StableStorage = Storage.Allocate<uint8_t>(RecordEnd);
TypeStreamMerger.cpp 136 MutableArrayRef<uint8_t> Storage);
195 /// Temporary storage that we use to copy a record's data while re-writing
360 [this, Type](MutableArrayRef<uint8_t> Storage) -> ArrayRef<uint8_t> {
361 return remapIndices(Type, Storage);
390 MutableArrayRef<uint8_t> Storage) {
392 assert(Storage.size() == alignTo(OriginalType.RecordData.size(), 4) &&
393 "The storage buffer size is not a multiple of 4 bytes which will "
401 ::memcpy(Storage.data(), OriginalType.RecordData.data(),
404 uint8_t *DestContent = Storage.data() + sizeof(RecordPrefix);
421 reinterpret_cast<RecordPrefix *>(Storage.data())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCSymbol.cpp 34 // space for the storage type and not the name pointer.
42 void *Storage = Ctx.allocate(Size, alignof(NameEntryStorageTy));
43 NameEntryStorageTy *Start = static_cast<NameEntryStorageTy*>(Storage);
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Descriptor.h 31 using BlockCtorFn = void (*)(Block *Storage, char *FieldPtr, bool IsConst,
37 using BlockDtorFn = void (*)(Block *Storage, char *FieldPtr,
44 using BlockMoveFn = void (*)(Block *Storage, char *SrcFieldPtr,
57 /// Size of the storage, in host bytes.
59 /// Size of the allocation (storage + metadata), in host bytes.
82 /// Storage management methods.
167 /// Flag indicating if the storage is constant or not.
171 /// Primitive fields in static storage are always initialized.
199 /// Returns a pointer to storage.
  /src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
DifferenceEngine.cpp 38 llvm::SmallVector<T, InlineCapacity> Storage;
44 bool empty() const { return Storage.empty(); }
48 unsigned Index = Storage.size();
49 Storage.push_back(V);
52 T *data = Storage.data();
65 T tmp = Storage[0];
67 unsigned NewSize = Storage.size() - 1;
71 Storage[0] = Storage[NewSize];
73 std::swap(Storage[0], Storage[NewSize])
    [all...]

Completed in 53 milliseconds

1 2 3 4