LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::sandboxir::LegalityResultWithReason Class Reference

Base class for results with reason. More...

#include "llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h"

Inheritance diagram for llvm::sandboxir::LegalityResultWithReason:
Inheritance graph
[legend]

Public Member Functions

ResultReason getReason () const
 
void print (raw_ostream &OS) const override
 
- Public Member Functions inherited from llvm::sandboxir::LegalityResult
virtual ~LegalityResult ()
 
LegalityResultID getSubclassID () const
 
virtual void print (raw_ostream &OS) const
 
LLVM_DUMP_METHOD void dump () const
 

Friends

class Pack
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::sandboxir::LegalityResult
 LegalityResult (LegalityResultID ID)
 Only Legality can create LegalityResults.
 
 LegalityResult (const LegalityResult &)=delete
 We shouldn't need copies.
 
LegalityResultoperator= (const LegalityResult &)=delete
 
- Protected Attributes inherited from llvm::sandboxir::LegalityResult
LegalityResultID ID
 

Detailed Description

Base class for results with reason.

Definition at line 114 of file Legality.h.

Member Function Documentation

◆ getReason()

ResultReason llvm::sandboxir::LegalityResultWithReason::getReason ( ) const
inline

Definition at line 121 of file Legality.h.

◆ print()

void llvm::sandboxir::LegalityResultWithReason::print ( raw_ostream OS) const
inlineoverridevirtual

Friends And Related Function Documentation

◆ Pack

friend class Pack
friend

Definition at line 118 of file Legality.h.


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