LLVM 22.0.0git
CodeMetrics.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "code-metrics"

Functions

static void appendSpeculatableOperands (const Value *V, SmallPtrSetImpl< const Value * > &Visited, SmallVectorImpl< const Value * > &Worklist)
static void completeEphemeralValues (SmallPtrSetImpl< const Value * > &Visited, SmallVectorImpl< const Value * > &Worklist, SmallPtrSetImpl< const Value * > &EphValues)
static bool extendsConvergenceOutsideLoop (const Instruction &I, const Loop *L)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "code-metrics"

Definition at line 23 of file CodeMetrics.cpp.

Function Documentation

◆ appendSpeculatableOperands()

◆ completeEphemeralValues()

◆ extendsConvergenceOutsideLoop()

bool extendsConvergenceOutsideLoop ( const Instruction & I,
const Loop * L )
static

Definition at line 115 of file CodeMetrics.cpp.

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

Referenced by llvm::CodeMetrics::analyzeBasicBlock().