LLVM 22.0.0git
Classes | Public Types | Public Member Functions | Friends | List of all members
llvm::DXILResourceMap Class Reference

#include "llvm/Analysis/DXILResource.h"

Classes

struct  call_iterator
 

Public Types

using iterator = SmallVector< dxil::ResourceInfo >::iterator
 
using const_iterator = SmallVector< dxil::ResourceInfo >::const_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
bool empty () const
 
iterator find (const CallInst *Key)
 
const_iterator find (const CallInst *Key) const
 
iterator srv_begin ()
 
const_iterator srv_begin () const
 
iterator srv_end ()
 
const_iterator srv_end () const
 
iterator_range< iteratorsrvs ()
 
iterator_range< const_iteratorsrvs () const
 
iterator uav_begin ()
 
const_iterator uav_begin () const
 
iterator uav_end ()
 
const_iterator uav_end () const
 
iterator_range< iteratoruavs ()
 
iterator_range< const_iteratoruavs () const
 
iterator cbuffer_begin ()
 
const_iterator cbuffer_begin () const
 
iterator cbuffer_end ()
 
const_iterator cbuffer_end () const
 
iterator_range< iteratorcbuffers ()
 
iterator_range< const_iteratorcbuffers () const
 
iterator sampler_begin ()
 
const_iterator sampler_begin () const
 
iterator sampler_end ()
 
const_iterator sampler_end () const
 
iterator_range< iteratorsamplers ()
 
iterator_range< const_iteratorsamplers () const
 
call_iterator call_begin ()
 
call_iterator call_end ()
 
iterator_range< call_iteratorcalls ()
 
bool hasInvalidCounterDirection () const
 
LLVM_ABI void print (raw_ostream &OS, DXILResourceTypeMap &DRTM, const DataLayout &DL) const
 

Friends

class DXILResourceAnalysis
 
class DXILResourceWrapperPass
 

Detailed Description

Definition at line 470 of file DXILResource.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 496 of file DXILResource.h.

◆ iterator

Definition at line 495 of file DXILResource.h.

Member Function Documentation

◆ begin() [1/2]

iterator llvm::DXILResourceMap::begin ( )
inline

◆ begin() [2/2]

const_iterator llvm::DXILResourceMap::begin ( ) const
inline

◆ call_begin()

call_iterator llvm::DXILResourceMap::call_begin ( )
inline

◆ call_end()

call_iterator llvm::DXILResourceMap::call_end ( )
inline

◆ calls()

iterator_range< call_iterator > llvm::DXILResourceMap::calls ( )
inline

Definition at line 566 of file DXILResource.h.

References call_begin(), call_end(), and llvm::make_range().

Referenced by reportInvalidDirection().

◆ cbuffer_begin() [1/2]

iterator llvm::DXILResourceMap::cbuffer_begin ( )
inline

Definition at line 533 of file DXILResource.h.

References begin().

Referenced by cbuffers().

◆ cbuffer_begin() [2/2]

const_iterator llvm::DXILResourceMap::cbuffer_begin ( ) const
inline

Definition at line 534 of file DXILResource.h.

References begin().

◆ cbuffer_end() [1/2]

iterator llvm::DXILResourceMap::cbuffer_end ( )
inline

Definition at line 535 of file DXILResource.h.

References begin().

Referenced by cbuffers().

◆ cbuffer_end() [2/2]

const_iterator llvm::DXILResourceMap::cbuffer_end ( ) const
inline

Definition at line 536 of file DXILResource.h.

References begin().

◆ cbuffers() [1/2]

iterator_range< iterator > llvm::DXILResourceMap::cbuffers ( )
inline

Definition at line 537 of file DXILResource.h.

References cbuffer_begin(), cbuffer_end(), and llvm::make_range().

Referenced by emitResourceMetadata(), and reportOverlappingBinding().

◆ cbuffers() [2/2]

iterator_range< const_iterator > llvm::DXILResourceMap::cbuffers ( ) const
inline

Definition at line 540 of file DXILResource.h.

References cbuffer_begin(), cbuffer_end(), and llvm::make_range().

◆ empty()

bool llvm::DXILResourceMap::empty ( ) const
inline

Definition at line 503 of file DXILResource.h.

References llvm::SmallVectorBase< Size_T >::empty().

Referenced by emitResourceMetadata().

◆ end() [1/2]

iterator llvm::DXILResourceMap::end ( )
inline

Definition at line 500 of file DXILResource.h.

References llvm::SmallVectorTemplateCommon< T, typename >::end().

Referenced by sampler_end().

◆ end() [2/2]

const_iterator llvm::DXILResourceMap::end ( ) const
inline

◆ find() [1/2]

iterator llvm::DXILResourceMap::find ( const CallInst Key)
inline

◆ find() [2/2]

const_iterator llvm::DXILResourceMap::find ( const CallInst Key) const
inline

◆ hasInvalidCounterDirection()

bool llvm::DXILResourceMap::hasInvalidCounterDirection ( ) const
inline

Definition at line 570 of file DXILResource.h.

Referenced by reportErrors().

◆ print()

void DXILResourceMap::print ( raw_ostream OS,
DXILResourceTypeMap DRTM,
const DataLayout DL 
) const

◆ sampler_begin() [1/2]

iterator llvm::DXILResourceMap::sampler_begin ( )
inline

Definition at line 544 of file DXILResource.h.

References begin().

Referenced by samplers().

◆ sampler_begin() [2/2]

const_iterator llvm::DXILResourceMap::sampler_begin ( ) const
inline

Definition at line 545 of file DXILResource.h.

References begin().

◆ sampler_end() [1/2]

iterator llvm::DXILResourceMap::sampler_end ( )
inline

Definition at line 546 of file DXILResource.h.

References end().

Referenced by samplers().

◆ sampler_end() [2/2]

const_iterator llvm::DXILResourceMap::sampler_end ( ) const
inline

Definition at line 547 of file DXILResource.h.

References end().

◆ samplers() [1/2]

iterator_range< iterator > llvm::DXILResourceMap::samplers ( )
inline

Definition at line 548 of file DXILResource.h.

References llvm::make_range(), sampler_begin(), and sampler_end().

Referenced by emitResourceMetadata(), and reportOverlappingBinding().

◆ samplers() [2/2]

iterator_range< const_iterator > llvm::DXILResourceMap::samplers ( ) const
inline

Definition at line 551 of file DXILResource.h.

References llvm::make_range(), sampler_begin(), and sampler_end().

◆ srv_begin() [1/2]

iterator llvm::DXILResourceMap::srv_begin ( )
inline

Definition at line 515 of file DXILResource.h.

References begin().

Referenced by srvs().

◆ srv_begin() [2/2]

const_iterator llvm::DXILResourceMap::srv_begin ( ) const
inline

Definition at line 516 of file DXILResource.h.

References begin().

◆ srv_end() [1/2]

iterator llvm::DXILResourceMap::srv_end ( )
inline

Definition at line 517 of file DXILResource.h.

References begin().

Referenced by srvs().

◆ srv_end() [2/2]

const_iterator llvm::DXILResourceMap::srv_end ( ) const
inline

Definition at line 518 of file DXILResource.h.

References begin().

◆ srvs() [1/2]

iterator_range< iterator > llvm::DXILResourceMap::srvs ( )
inline

Definition at line 519 of file DXILResource.h.

References llvm::make_range(), srv_begin(), and srv_end().

Referenced by emitResourceMetadata(), and reportOverlappingBinding().

◆ srvs() [2/2]

iterator_range< const_iterator > llvm::DXILResourceMap::srvs ( ) const
inline

Definition at line 520 of file DXILResource.h.

References llvm::make_range(), srv_begin(), and srv_end().

◆ uav_begin() [1/2]

iterator llvm::DXILResourceMap::uav_begin ( )
inline

Definition at line 524 of file DXILResource.h.

References begin().

Referenced by uavs().

◆ uav_begin() [2/2]

const_iterator llvm::DXILResourceMap::uav_begin ( ) const
inline

Definition at line 525 of file DXILResource.h.

References begin().

◆ uav_end() [1/2]

iterator llvm::DXILResourceMap::uav_end ( )
inline

Definition at line 526 of file DXILResource.h.

References begin().

Referenced by uavs().

◆ uav_end() [2/2]

const_iterator llvm::DXILResourceMap::uav_end ( ) const
inline

Definition at line 527 of file DXILResource.h.

References begin().

◆ uavs() [1/2]

iterator_range< iterator > llvm::DXILResourceMap::uavs ( )
inline

◆ uavs() [2/2]

iterator_range< const_iterator > llvm::DXILResourceMap::uavs ( ) const
inline

Definition at line 529 of file DXILResource.h.

References llvm::make_range(), uav_begin(), and uav_end().

Friends And Related Function Documentation

◆ DXILResourceAnalysis

friend class DXILResourceAnalysis
friend

Definition at line 575 of file DXILResource.h.

◆ DXILResourceWrapperPass

friend class DXILResourceWrapperPass
friend

Definition at line 576 of file DXILResource.h.


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