LLVM 19.0.0git
Macros | Functions
CodeMetrics.cpp File Reference
#include "llvm/Analysis/CodeMetrics.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/InstructionCost.h"

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)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "code-metrics"

Definition at line 22 of file CodeMetrics.cpp.

Function Documentation

◆ appendSpeculatableOperands()

static void appendSpeculatableOperands ( const Value V,
SmallPtrSetImpl< const Value * > &  Visited,
SmallVectorImpl< const Value * > &  Worklist 
)
static

◆ completeEphemeralValues()

static void completeEphemeralValues ( SmallPtrSetImpl< const Value * > &  Visited,
SmallVectorImpl< const Value * > &  Worklist,
SmallPtrSetImpl< const Value * > &  EphValues 
)
static