LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::InlineResult Class Reference

InlineResult is basically true or false. More...

#include "llvm/Analysis/InlineCost.h"

Public Member Functions

bool isSuccess () const
 
const char * getFailureReason () const
 

Static Public Member Functions

static InlineResult success ()
 
static InlineResult failure (const char *Reason)
 

Detailed Description

InlineResult is basically true or false.

For false results the message describes a reason.

Definition at line 159 of file InlineCost.h.

Member Function Documentation

◆ failure()

static InlineResult llvm::InlineResult::failure ( const char *  Reason)
inlinestatic

◆ getFailureReason()

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

Definition at line 169 of file InlineCost.h.

References assert(), and isSuccess().

Referenced by llvm::getInlineCost().

◆ isSuccess()

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

◆ success()

static InlineResult llvm::InlineResult::success ( )
inlinestatic

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