LLVM 22.0.0git
llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT > Class Template Reference

#include "llvm/SandboxIR/Instruction.h"

Inheritance diagram for llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >:
[legend]

Public Member Functions

 CaseHandleImpl (Context &Ctx, LLVMCaseItT LLVMCaseIt)
ConstT * getCaseValue () const
BlockT * getCaseSuccessor () const
unsigned getCaseIndex () const
unsigned getSuccessorIndex () const

Friends

template<typename T1, typename T2, typename T3>
class CaseItImpl

Detailed Description

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
class llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >

Definition at line 1893 of file Instruction.h.

Constructor & Destructor Documentation

◆ CaseHandleImpl()

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >::CaseHandleImpl ( Context & Ctx,
LLVMCaseItT LLVMCaseIt )
inline

Definition at line 1902 of file Instruction.h.

Member Function Documentation

◆ getCaseIndex()

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
unsigned llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >::getCaseIndex ( ) const
inline

Definition at line 1906 of file Instruction.h.

◆ getCaseSuccessor()

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
BlockT * llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >::getCaseSuccessor ( ) const

Definition at line 1139 of file Instruction.cpp.

References llvm::cast().

◆ getCaseValue()

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
ConstT * llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >::getCaseValue ( ) const

Definition at line 1131 of file Instruction.cpp.

References llvm::cast().

◆ getSuccessorIndex()

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
unsigned llvm::sandboxir::SwitchInst::CaseHandleImpl< LLVMCaseItT, BlockT, ConstT >::getSuccessorIndex ( ) const
inline

Definition at line 1910 of file Instruction.h.

◆ CaseItImpl

template<typename LLVMCaseItT, typename BlockT, typename ConstT>
template<typename T1, typename T2, typename T3>
friend class CaseItImpl
friend

Definition at line 1899 of file Instruction.h.


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