LLVM 22.0.0git
FunctionLoweringInfo.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "function-lowering-info"

Functions

static bool isUsedOutsideOfDefiningBlock (const Instruction *I)
 isUsedOutsideOfDefiningBlock - Return true if this instruction is used by PHI nodes or outside of the basic block that defines it, or used by a switch or atomic instruction, which may expand to multiple basic blocks.
static ISD::NodeType getPreferredExtendForValue (const Instruction *I)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "function-lowering-info"

Definition at line 41 of file FunctionLoweringInfo.cpp.

Function Documentation

◆ getPreferredExtendForValue()

ISD::NodeType getPreferredExtendForValue ( const Instruction * I)
static

◆ isUsedOutsideOfDefiningBlock()

bool isUsedOutsideOfDefiningBlock ( const Instruction * I)
static

isUsedOutsideOfDefiningBlock - Return true if this instruction is used by PHI nodes or outside of the basic block that defines it, or used by a switch or atomic instruction, which may expand to multiple basic blocks.

Definition at line 46 of file FunctionLoweringInfo.cpp.

References llvm::cast(), getParent(), I, and llvm::isa().

Referenced by llvm::FunctionLoweringInfo::set().