LLVM 20.0.0git
|
#include "llvm/Transforms/IPO/FunctionSpecialization.h"
Friends | |
class | InstVisitor< InstCostVisitor, Constant * > |
Definition at line 175 of file FunctionSpecialization.h.
|
inline |
Definition at line 195 of file FunctionSpecialization.h.
References DL.
Bonus InstCostVisitor::getBonusFromPendingPHIs | ( | ) |
Definition at line 157 of file FunctionSpecialization.cpp.
References B, and isBlockExecutable().
Compute a bonus for replacing argument A
with constant C
.
Definition at line 169 of file FunctionSpecialization.cpp.
References A, B, llvm::CallingConv::C, llvm::dbgs(), isBlockExecutable(), and LLVM_DEBUG.
|
inline |
Definition at line 199 of file FunctionSpecialization.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), and llvm::SCCPSolver::isBlockExecutable().
Referenced by getBonusFromPendingPHIs(), and getSpecializationBonus().
|
friend |
Definition at line 205 of file FunctionSpecialization.h.