LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::rdf::NodeAllocator Struct Reference

#include "Target/Hexagon/RDFGraph.h"

Public Types

enum  { NodeMemSize = 32 }
 

Public Member Functions

 NodeAllocator (uint32_t NPB=4096)
 
NodeBaseptr (NodeId N) const
 
NodeId id (const NodeBase *P) const
 
NodeAddr< NodeBase * > New ()
 
void clear ()
 

Detailed Description

Definition at line 374 of file RDFGraph.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NodeMemSize 

Definition at line 376 of file RDFGraph.h.

Constructor & Destructor Documentation

◆ NodeAllocator()

llvm::rdf::NodeAllocator::NodeAllocator ( uint32_t  NPB = 4096)
inline

Definition at line 378 of file RDFGraph.h.

References assert(), and llvm::isPowerOf2_32().

Member Function Documentation

◆ clear()

void NodeAllocator::clear ( )

Definition at line 408 of file RDFGraph.cpp.

◆ id()

NodeId NodeAllocator::id ( const NodeBase P) const

Definition at line 396 of file RDFGraph.cpp.

References B, llvm_unreachable, and P.

◆ New()

NodeAddr< NodeBase * > NodeAllocator::New ( )

Definition at line 384 of file RDFGraph.cpp.

◆ ptr()

NodeBase* llvm::rdf::NodeAllocator::ptr ( NodeId  N) const
inline

Definition at line 384 of file RDFGraph.h.

References llvm::rdf::NodeAttrs::Block, clear(), and P.


The documentation for this struct was generated from the following files: