reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/FunctionExtras.h
   97       PointerUnion<TrivialCallback *, NonTrivialCallbacks *>;
include/llvm/ADT/PointerUnion.h
  158           PointerUnion<PTs...>,
  158           PointerUnion<PTs...>,
  158           PointerUnion<PTs...>,
  169   using Base = typename PointerUnion::PointerUnionMembers;
  174   PointerUnion(std::nullptr_t) : PointerUnion() {}
  226   const PointerUnion &operator=(std::nullptr_t) {
  235   static inline PointerUnion getFromOpaqueValue(void *VP) {
  236     PointerUnion V;
  243 bool operator==(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {
  243 bool operator==(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {
  248 bool operator!=(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {
  248 bool operator!=(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {
  253 bool operator<(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {
  253 bool operator<(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {
  260 struct PointerLikeTypeTraits<PointerUnion<PTs...>> {
  261   static inline void *getAsVoidPointer(const PointerUnion<PTs...> &P) {
  265   static inline PointerUnion<PTs...> getFromVoidPointer(void *P) {
  266     return PointerUnion<PTs...>::getFromOpaqueValue(P);
  272       PointerUnion<PTs...>::Val)>::NumLowBitsAvailable;
  278 using PointerUnion3 = PointerUnion<PT1, PT2, PT3>;
  283 using PointerUnion4 = PointerUnion<PT1, PT2, PT3, PT4>;
  286 template <typename ...PTs> struct DenseMapInfo<PointerUnion<PTs...>> {
  287   using Union = PointerUnion<PTs...>;
include/llvm/ADT/TinyPtrVector.h
   38   using PtrUnion = PointerUnion<EltTy, VecTy *>;
include/llvm/CodeGen/DIE.h
  731   PointerUnion<DIE *, DIEUnit *> Owner;
include/llvm/CodeGen/MachineMemOperand.h
   40   PointerUnion<const Value *, const PseudoSourceValue *> V;
   66     PointerUnion<const Value *, const PseudoSourceValue *> v,
include/llvm/CodeGen/MachineRegisterInfo.h
   47     PointerUnion<const TargetRegisterClass *, const RegisterBank *>;
include/llvm/CodeGen/ScheduleDAGInstrs.h
  106   using ValueType = PointerUnion<const Value *, const PseudoSourceValue *>;
include/llvm/CodeGen/SelectionDAGNodes.h
 2486   PointerUnion<MachineMemOperand *, MachineMemOperand **> MemRefs = {};
include/llvm/CodeGen/TargetLowering.h
  838     PointerUnion<const Value *, const PseudoSourceValue *> ptrVal;
include/llvm/CodeGen/WasmEHFuncInfo.h
   25 using BBOrMBB = PointerUnion<const BasicBlock *, MachineBasicBlock *>;
include/llvm/CodeGen/WinEHFuncInfo.h
   38 using MBBOrBasicBlock = PointerUnion<const BasicBlock *, MachineBasicBlock *>;
include/llvm/IR/DebugInfoMetadata.h
  326   typedef PointerUnion<ConstantInt*, DIVariable*> CountType;
include/llvm/IR/GetElementPtrTypeIterator.h
   36     PointerUnion<StructType *, Type *> CurTy;
include/llvm/IR/Metadata.h
  264   using OwnerTy = PointerUnion<MetadataAsValue *, Metadata *>;
  770   PointerUnion<LLVMContext *, ReplaceableMetadataImpl *> Ptr;
include/llvm/Object/ModuleSymbolTable.h
   35   using Symbol = PointerUnion<GlobalValue *, AsmSymbol *>;
include/llvm/Support/SourceMgr.h
   64     using VariableSizeOffsets = PointerUnion4<std::vector<uint8_t> *,
include/llvm/Transforms/Scalar/ConstantHoisting.h
  146   using ConstPtrUnionType = PointerUnion<ConstantInt *, ConstantExpr *>;
lib/CodeGen/AsmPrinter/CodeViewDebug.h
  104     PointerUnion<const GlobalVariable *, const DIExpression *> GVInfo;
lib/Target/Mips/MipsDelaySlotFiller.cpp
  189     using ValueType = PointerUnion<const Value *, const PseudoSourceValue *>;
lib/Target/Mips/MipsOptimizePICCall.cpp
   57 using ValueType = PointerUnion<const Value *, const PseudoSourceValue *>;
lib/Transforms/IPO/LowerTypeTests.cpp
 1813       PointerUnion3<GlobalTypeMember *, Metadata *, ICallBranchFunnel *>>;
tools/clang/include/clang/ARCMigrate/FileRemapper.h
   34   typedef llvm::PointerUnion<const FileEntry *, llvm::MemoryBuffer *> Target;
tools/clang/include/clang/AST/APValue.h
  139     typedef llvm::PointerUnion<const ValueDecl *, const Expr *, TypeInfoLValue,
tools/clang/include/clang/AST/ASTContext.h
  432       llvm::PointerUnion<VarTemplateDecl *, MemberSpecializationInfo *>;
tools/clang/include/clang/AST/Decl.h
  704   llvm::PointerUnion<TypeSourceInfo *, ExtInfo *> DeclInfo;
  867   using InitType = llvm::PointerUnion<Stmt *, EvaluatedStmt *>;
 1840   llvm::PointerUnion4<FunctionTemplateDecl *,
 3001       llvm::PointerUnion<TypeSourceInfo *, ModedTInfo *>, 2>
 3164   llvm::PointerUnion<TypedefNameDecl *, ExtInfo *> TypedefNameDeclOrQualifier;
 3420   llvm::PointerUnion<const Type *, TypeSourceInfo *> IntegerType;
tools/clang/include/clang/AST/DeclBase.h
  267   llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx;
tools/clang/include/clang/AST/DeclCXX.h
  456   llvm::PointerUnion<ClassTemplateDecl *, MemberSpecializationInfo *>
 2141   llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
tools/clang/include/clang/AST/DeclContextInternals.h
   45   llvm::PointerUnion<NamedDecl *, DeclsAndHasExternalTy> Data;
tools/clang/include/clang/AST/DeclFriend.h
   59   using FriendUnion = llvm::PointerUnion<NamedDecl *, TypeSourceInfo *>;
tools/clang/include/clang/AST/DeclTemplate.h
   60     llvm::PointerUnion3<TemplateTypeParmDecl *, NonTypeTemplateParmDecl *,
  312   llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited;
 1656   llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *>
 1782   llvm::PointerUnion<ClassTemplateDecl *,
 1794   llvm::PointerUnion<ClassTemplateDecl *,
 2269   using FriendUnion = llvm::PointerUnion<NamedDecl *,TypeSourceInfo *>;
 2502   llvm::PointerUnion<VarTemplateDecl *, SpecializedPartialSpecialization *>
 2628   llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
 2639   llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
tools/clang/include/clang/AST/Expr.h
 4395   llvm::PointerUnion<Expr *, FieldDecl *> ArrayFillerOrUnionFieldInit;
tools/clang/include/clang/AST/ExprCXX.h
  766   llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
 1002   llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
 2431   llvm::PointerUnion<TypeSourceInfo *, IdentifierInfo *> Type;
 4435   llvm::PointerUnion<Stmt *, ExtraState *> State;
tools/clang/include/clang/AST/ExprObjC.h
  645   llvm::PointerUnion3<Stmt *, const Type *, ObjCInterfaceDecl *> Receiver;
tools/clang/include/clang/AST/ExternalASTSource.h
  427   using ValueType = llvm::PointerUnion<T, LazyData*>;
tools/clang/include/clang/AST/Redeclarable.h
  103     using NotKnownLatest = llvm::PointerUnion<Previous, UninitializedLatest>;
  105     mutable llvm::PointerUnion<NotKnownLatest, KnownLatest> Link;
tools/clang/include/clang/AST/TemplateName.h
  189       llvm::PointerUnion4<TemplateDecl *, UncommonTemplateNameStorage *,
tools/clang/include/clang/AST/Type.h
  647   llvm::PointerIntPair<llvm::PointerUnion<const Type *, const ExtQuals *>,
tools/clang/include/clang/Analysis/PathDiagnostic.h
  155     llvm::PointerUnion<const LocationContext *, AnalysisDeclContext *>;
tools/clang/include/clang/Basic/FileManager.h
  214       llvm::PointerUnion<FileEntry *, const StringRef *>;
tools/clang/include/clang/Basic/Module.h
  104   llvm::PointerUnion<const DirectoryEntry *, const FileEntry *> Umbrella;
tools/clang/include/clang/CodeGen/ConstantInitFuture.h
   48   using PairTy = llvm::PointerUnion<ConstantInitBuilderBase*, llvm::Constant*>;
tools/clang/include/clang/Frontend/DiagnosticRenderer.h
   33     llvm::PointerUnion<const Diagnostic *, const StoredDiagnostic *>;
tools/clang/include/clang/Lex/PreprocessingRecord.h
  173     llvm::PointerUnion<IdentifierInfo *, MacroDefinitionRecord *> NameOrDef;
tools/clang/include/clang/Lex/Preprocessor.h
  579     mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State;
tools/clang/include/clang/Sema/ParsedAttr.h
  105 using ArgsUnion = llvm::PointerUnion<Expr *, IdentifierLoc *>;
tools/clang/include/clang/Sema/Sema.h
  229 typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType*, NamedDecl*>,
tools/clang/include/clang/Sema/Template.h
  239                             llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4>;
  342         llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored =
  377     llvm::PointerUnion<Decl *, DeclArgumentPack *> *
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
  145   llvm::PointerUnion<const Expr *, const Decl *> Origin;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
  529       llvm::PointerUnion<const DeclaratorDecl *, const PointerToMemberData *>;
tools/clang/lib/AST/ASTContext.cpp
  338       llvm::PointerUnion<ClassTemplateDecl *,
  898       llvm::PointerUnion4<const Decl *, const Stmt *,
  905       llvm::PointerUnion4<const Decl *, const Stmt *,
tools/clang/lib/AST/DeclTemplate.cpp
  837     llvm::PointerUnion<ClassTemplateDecl *,
tools/clang/lib/AST/Interp/Descriptor.h
   26 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>;
tools/clang/lib/AST/Interp/Source.h
   96   llvm::PointerUnion<const Decl *, const Stmt *> Source;
tools/clang/lib/CodeGen/CGCXXABI.h
  425       llvm::PointerUnion<const CXXDeleteExpr *, const CXXMemberCallExpr *>;
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7151   llvm::PointerUnion<const OMPExecutableDirective *,
 7808         llvm::PointerUnion<const CXXRecordDecl *, const FieldDecl *>, 4>
 7847     for (const llvm::PointerUnion<const CXXRecordDecl *, const FieldDecl *>
tools/clang/lib/Index/IndexDecl.cpp
  199     llvm::PointerUnion<ClassTemplateDecl *,
  636     llvm::PointerUnion<ClassTemplateDecl *,
tools/clang/lib/Sema/SemaCodeComplete.cpp
   79     llvm::PointerUnion<const NamedDecl *, DeclIndexPairVector *> DeclOrVector;
  567   llvm::PointerUnion<const NamedDecl *, const DeclIndexPair *> DeclOrIterator;
tools/clang/lib/Sema/SemaDecl.cpp
14762   llvm::PointerUnion<const Type*, TypeSourceInfo*> EnumUnderlying;
17226   typedef llvm::PointerUnion<EnumConstantDecl*, ECDVector*> DeclOrVector;
tools/clang/lib/Sema/SemaDeclCXX.cpp
 7247   typedef llvm::PointerUnion<CXXBaseSpecifier*, FieldDecl*> Subobject;
tools/clang/lib/Sema/SemaDeclObjC.cpp
 1534   typedef llvm::PointerUnion<TypeDecl *, ObjCInterfaceDecl *> TypeOrClassDecl;
tools/clang/lib/Sema/SemaOpenMP.cpp
  105     llvm::PointerUnion<const Expr *, BOKPtrType> ReductionOp;
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
   86       llvm::PointerUnion<VarTemplateDecl*,
 1441   llvm::PointerUnion<Decl *, DeclArgumentPack *> *Found
 2495   llvm::PointerUnion<ClassTemplateDecl *,
 2994 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> *
 3045   llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D];
 3081   llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D];
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 4880       llvm::PointerUnion<VarTemplateDecl *,
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  686       llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation
  804         llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation
tools/clang/lib/Serialization/ASTWriterDecl.cpp
 1482   llvm::PointerUnion<ClassTemplateDecl *,
 1542   llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
tools/clang/lib/Serialization/MultiOnDiskHashTable.h
   78   using Table = llvm::PointerUnion<OnDiskTable *, MergedTable *>;
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
   31 typedef llvm::PointerUnion<const Stmt *, const VarDecl *> ExprParent;
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  204 using GroupStorage = llvm::PointerUnion<ExplodedNode *, ExplodedNodeVector *>;
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  818 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
  878     llvm::PointerUnion<const StackFrameContext *, const VarRegion *> V =
tools/clang/tools/libclang/CIndexCXX.cpp
   97       llvm::PointerUnion<ClassTemplateDecl *,
tools/clang/tools/libclang/CXCursor.h
  231 typedef llvm::PointerUnion3<const OverloadExpr *, const Decl *,
tools/clang/unittests/CodeGen/IRMatchers.h
   61     PointerUnion3<const Value *, const Metadata *, const Type *> Entity;
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  268 typedef llvm::PointerUnion<RecordVec*, RecordSet*> VecOrSet;
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  120   typedef llvm::PointerUnion<ELFRel *, ELFRela *> RelocUnion;
tools/llvm-pdbutil/InputFile.h
   46   PointerUnion3<PDBFile *, object::COFFObjectFile *, MemoryBuffer *> PdbOrObj;
tools/llvm-pdbutil/llvm-pdbutil.h
   31 typedef llvm::PointerUnion<object::COFFObjectFile *, pdb::PDBFile *>
unittests/ADT/PointerUnionTest.cpp
   15 typedef PointerUnion<int *, float *> PU;
   16 typedef PointerUnion3<int *, float *, long long *> PU3;
   17 typedef PointerUnion4<int *, float *, long long *, double *> PU4;
  119 typedef PointerUnion<Aligned<0> *, Aligned<1> *, Aligned<2> *, Aligned<3> *,
usr/include/c++/7.4.0/bits/ptr_traits.h
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
utils/TableGen/AsmMatcherEmitter.cpp
  504   PointerUnion<const CodeGenInstruction*, const CodeGenInstAlias*> DefRec;