Searched refs:PointerUnion (Results 1 - 25 of 50) sorted by relevance

12

/external/llvm/include/llvm/ADT/
H A DPointerUnion.h1 //===- llvm/ADT/PointerUnion.h - Discriminated Union of 2 Ptrs --*- C++ -*-===//
10 // This file defines the PointerUnion class, which is a discriminated union of
51 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion
65 /// PointerUnion - This implements a discriminated union of two pointer types,
71 /// PointerUnion<int*, float*> P;
81 class PointerUnion {
98 PointerUnion() {}
100 PointerUnion(PT1 V) : Val(
103 PointerUnion(PT2 V) : Val(
111 // we recursively strip off low bits if we have a nested PointerUnion
204 getAsVoidPointer(const PointerUnion<PT1, PT2> &P) argument
[all...]
H A DTinyPtrVector.h14 #include "llvm/ADT/PointerUnion.h"
31 llvm::PointerUnion<EltTy, VecTy*> Val;
/external/clang/include/clang/ARCMigrate/
H A DFileRemapper.h15 #include "llvm/ADT/PointerUnion.h"
35 typedef llvm::PointerUnion<const FileEntry *, llvm::MemoryBuffer *> Target;
/external/llvm/unittests/ADT/
H A DPointerUnionTest.cpp11 #include "llvm/ADT/PointerUnion.h"
16 typedef PointerUnion<int *, float *> PU;
/external/clang/include/clang/Sema/
H A DTemplate.h189 const Decl *, llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4>
291 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored =
324 llvm::PointerUnion<Decl *, DeclArgumentPack *> *
/external/clang/tools/libclang/
H A DCIndexCXX.cpp100 llvm::PointerUnion<ClassTemplateDecl *,
/external/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h19 #include "llvm/ADT/PointerUnion.h"
38 PointerUnion<const Value *, const PseudoSourceValue *> V;
/external/clang/include/clang/AST/
H A DRedeclarable.h41 typedef llvm::PointerUnion<Previous, UninitializedLatest> NotKnownLatest;
43 mutable llvm::PointerUnion<NotKnownLatest, KnownLatest> Next;
H A DDeclFriend.h43 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
H A DDeclTemplate.h21 #include "llvm/ADT/PointerUnion.h"
1403 llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *>
1528 llvm::PointerUnion<ClassTemplateDecl *,
1532 return llvm::PointerUnion<ClassTemplateDecl *,
1540 llvm::PointerUnion<ClassTemplateDecl *,
2013 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
2266 llvm::PointerUnion<VarTemplateDecl *, SpecializedPartialSpecialization *>
2383 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
2388 return llvm::PointerUnion<VarTemplateDecl *,
2400 llvm::PointerUnion<VarTemplateDec
[all...]
H A DDeclContextInternals.h22 #include "llvm/ADT/PointerUnion.h"
44 llvm::PointerUnion<NamedDecl*, DeclsAndHasExternalTy> Data;
102 "PointerUnion mangles the NamedDecl pointer!");
H A DAPValue.h21 #include "llvm/ADT/PointerUnion.h"
56 typedef llvm::PointerUnion<const ValueDecl *, const Expr *> LValueBase;
H A DExternalASTSource.h388 typedef llvm::PointerUnion<T, LazyData*> ValueType;
450 /// placed into a PointerUnion.
H A DDecl.h534 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo;
2412 llvm::PointerUnion<TypeSourceInfo*, ModedTInfo*> MaybeModedTInfo;
2584 llvm::PointerUnion<NamedDecl *, ExtInfo *> NamedDeclOrQualifier;
2827 llvm::PointerUnion<const Type*, TypeSourceInfo*> IntegerType;
H A DExprCXX.h529 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
674 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
1849 llvm::PointerUnion<TypeSourceInfo *, IdentifierInfo *> Type;
3715 llvm::PointerUnion<Stmt *, ExtraState *> State;
/external/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h23 #include "llvm/ADT/PointerUnion.h"
31 typedef llvm::PointerUnion<const Diagnostic *,
/external/clang/test/SemaCXX/
H A Doverloaded-operator.cpp450 template <typename PT1, typename PT2> class PointerUnion;
451 void foo(PointerUnion<int*, float*> &Result) {
452 Result = 1; // expected-error {{no viable overloaded '='}} // expected-note {{type 'PointerUnion<int *, float *>' is incomplete}}
/external/llvm/include/llvm/Analysis/
H A DLazyCallGraph.h39 #include "llvm/ADT/PointerUnion.h"
107 typedef SmallVector<PointerUnion<Function *, Node *>, 4> NodeVectorT;
108 typedef SmallVectorImpl<PointerUnion<Function *, Node *>> NodeVectorImplT;
/external/clang/include/clang/Basic/
H A DModule.h21 #include "llvm/ADT/PointerUnion.h"
71 llvm::PointerUnion<const DirectoryEntry *, const FileEntry *> Umbrella;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp32 typedef llvm::PointerUnion<const Stmt *, const VarDecl *> ExprParent;
/external/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp38 typedef PointerUnion<const Value *, const PseudoSourceValue *> ValueType;
/external/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp216 typedef llvm::PointerUnion<ExplodedNode *, ExplodedNodeVector *> GroupStorage;
/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h161 llvm::PointerUnion<IdentifierInfo *, MacroDefinition *> NameOrDef;
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp568 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation
659 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation
H A DSemaTemplateInstantiate.cpp79 llvm::PointerUnion<VarTemplateDecl*,
1252 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Found
2668 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> *
2709 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D];
2727 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D];

Completed in 8524 milliseconds

12