Home
last modified time | relevance | path

Searched refs:KnownConstants (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp131 if (KnownConstants.contains(&I)) in estimateBasicBlocks()
151 static Constant *findConstantFor(Value *V, ConstMap &KnownConstants) { in findConstantFor() argument
154 return KnownConstants.lookup(V); in findConstantFor()
186 if (KnownConstants.contains(User)) in getUserBonus()
190 LastVisited = Use ? KnownConstants.insert({Use, C}).first in getUserBonus()
191 : KnownConstants.end(); in getUserBonus()
207 KnownConstants.insert({User, C}); in getUserBonus()
231 assert(LastVisited != KnownConstants.end() && "Invalid iterator!"); in estimateSwitchInst()
256 assert(LastVisited != KnownConstants.end() && "Invalid iterator!"); in estimateBranchInst()
297 if (Constant *C = findConstantFor(V, KnownConstants)) { in discoverTransitivelyIncomingValues()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h181 ConstMap KnownConstants; in FunctionSpecializer()
128 ConstMap KnownConstants; global() variable