Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp219 auto *IncomingC = dyn_cast<ConstantInt>(PN.getIncomingValue(i)); in isSafeAndProfitableToSpeculateAroundPHI() local
220 if (!IncomingC) in isSafeAndProfitableToSpeculateAroundPHI()
227 auto InsertResult = CostsAndCounts.insert({IncomingC, {}}); in isSafeAndProfitableToSpeculateAroundPHI()
235 MatCost = TTI.getIntImmCost(IncomingC->getValue(), IncomingC->getType(), in isSafeAndProfitableToSpeculateAroundPHI()
283 ConstantInt *IncomingC = IncomingConstantAndCostsAndCount.first; in isSafeAndProfitableToSpeculateAroundPHI() local
289 TTI.getIntImmCostIntrin(IID, Idx, IncomingC->getValue(), in isSafeAndProfitableToSpeculateAroundPHI()
290 IncomingC->getType(), in isSafeAndProfitableToSpeculateAroundPHI()
295 IncomingC->getValue(), IncomingC->getType(), in isSafeAndProfitableToSpeculateAroundPHI()
303 LLVM_DEBUG(dbgs() << " Not profitable to fold imm: " << *IncomingC in isSafeAndProfitableToSpeculateAroundPHI()