LLVM  12.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 134 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 144 of file InlineCost.h.

References assert(), and isSuccess().

Referenced by llvm::getInlineCost().

◆ isSuccess()

bool llvm::InlineResult::isSuccess ( ) const

◆ success()

static InlineResult llvm::InlineResult::success ( )

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