SVF
Public Member Functions | Private Attributes | List of all members
SVF::PTAType Class Reference

#include <PTAType.h>

Public Member Functions

 PTAType (const Type *ty)
 Constructor. More...
 
const TypegetLLVMType () const
 Get the contained llvm type. More...
 
void dump () const
 Dump the type. More...
 
bool operator== (const PTAType &ty) const
 Operator overloading. More...
 
bool operator!= (const PTAType &ty) const
 
bool operator< (const PTAType &ty) const
 
bool operator> (const PTAType &ty) const
 

Private Attributes

const Typetype
 

Detailed Description

Definition at line 43 of file PTAType.h.

Constructor & Destructor Documentation

◆ PTAType()

SVF::PTAType::PTAType ( const Type ty)
inline

Constructor.

Definition at line 47 of file PTAType.h.

47 : type(ty) {}
const Type * type
Definition: PTAType.h:85

Member Function Documentation

◆ dump()

void SVF::PTAType::dump ( ) const
inline

Dump the type.

Definition at line 56 of file PTAType.h.

57  {
58  type->dump();
59  }
const Type * type
Definition: PTAType.h:85

◆ getLLVMType()

const Type* SVF::PTAType::getLLVMType ( ) const
inline

Get the contained llvm type.

Definition at line 50 of file PTAType.h.

51  {
52  return type;
53  }
const Type * type
Definition: PTAType.h:85

◆ operator!=()

bool SVF::PTAType::operator!= ( const PTAType ty) const
inline

Definition at line 68 of file PTAType.h.

69  {
70  return type != ty.getLLVMType();
71  }
const Type * type
Definition: PTAType.h:85

◆ operator<()

bool SVF::PTAType::operator< ( const PTAType ty) const
inline

Definition at line 73 of file PTAType.h.

74  {
75  return type < ty.getLLVMType();
76  }
const Type * type
Definition: PTAType.h:85

◆ operator==()

bool SVF::PTAType::operator== ( const PTAType ty) const
inline

Operator overloading.

Definition at line 63 of file PTAType.h.

64  {
65  return type == ty.getLLVMType();
66  }
const Type * type
Definition: PTAType.h:85

◆ operator>()

bool SVF::PTAType::operator> ( const PTAType ty) const
inline

Definition at line 78 of file PTAType.h.

79  {
80  return type > ty.getLLVMType();
81  }
const Type * type
Definition: PTAType.h:85

Member Data Documentation

◆ type

const Type* SVF::PTAType::type
private

Definition at line 85 of file PTAType.h.


The documentation for this class was generated from the following file: