LLVM  9.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::InlineResult Struct Reference

InlineResult is basically true or false. More...

#include "llvm/Analysis/InlineCost.h"

Collaboration diagram for llvm::InlineResult:
Collaboration graph
[legend]

Public Member Functions

 InlineResult (bool result, const char *message=nullptr)
 
 InlineResult (const char *message=nullptr)
 
 operator bool () const
 
 operator const char * () const
 

Public Attributes

const charmessage = nullptr
 

Detailed Description

InlineResult is basically true or false.

For false results the message describes a reason why it is decided not to inline.

Definition at line 135 of file InlineCost.h.

Constructor & Destructor Documentation

◆ InlineResult() [1/2]

llvm::InlineResult::InlineResult ( bool  result,
const char message = nullptr 
)
inline

Definition at line 137 of file InlineCost.h.

◆ InlineResult() [2/2]

llvm::InlineResult::InlineResult ( const char message = nullptr)
inline

Definition at line 139 of file InlineCost.h.

Member Function Documentation

◆ operator bool()

llvm::InlineResult::operator bool ( ) const
inline

Definition at line 140 of file InlineCost.h.

◆ operator const char *()

llvm::InlineResult::operator const char * ( ) const
inline

Definition at line 141 of file InlineCost.h.

Member Data Documentation

◆ message

const char* llvm::InlineResult::message = nullptr

Definition at line 136 of file InlineCost.h.

Referenced by llvm::getInlineCost(), and llvm::InlinerPass::run().


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