LLVM 19.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 chargetFailureReason () 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 180 of file InlineCost.h.

Member Function Documentation

◆ failure()

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

◆ getFailureReason()

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

Definition at line 190 of file InlineCost.h.

References assert(), and isSuccess().

Referenced by llvm::getInlineCost().

◆ isSuccess()

bool llvm::InlineResult::isSuccess ( ) const

Definition at line 189 of file InlineCost.h.

Referenced by getFailureReason(), llvm::getInlineCost(), and InsertSafepointPoll().

◆ success()

static InlineResult llvm::InlineResult::success ( )

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