Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp453 const Constant *ConstOp = dyn_cast<Constant>(Op); in ConstHasGlobalValuePredicate() local
454 if (!ConstOp) in ConstHasGlobalValuePredicate()
456 if (Visited.insert(ConstOp).second) in ConstHasGlobalValuePredicate()
457 WorkList.push_back(ConstOp); in ConstHasGlobalValuePredicate()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2382 const SCEVConstant *ConstOp = getConstantPart(Product); in gcdMIVtest() local
2383 if (!ConstOp) in gcdMIVtest()
2385 APInt ConstOpValue = ConstOp->getAPInt(); in gcdMIVtest()
H A DScalarEvolution.cpp3847 auto *ConstOp = dyn_cast<SCEVConstant>(Add->getOperand(0)); in splitAddExpr() local
3848 if (!ConstOp) in splitAddExpr()
3851 return {Add->getOperand(1), ConstOp->getValue()}; in splitAddExpr()
9280 const SCEV *NonConstOp, *ConstOp; in isKnownPredicateViaNoOverflow() local
9283 if (!splitBinaryAdd(Result, ConstOp, NonConstOp, FlagsPresent) || in isKnownPredicateViaNoOverflow()
9284 !isa<SCEVConstant>(ConstOp) || NonConstOp != X) in isKnownPredicateViaNoOverflow()
9287 OutY = cast<SCEVConstant>(ConstOp)->getAPInt(); in isKnownPredicateViaNoOverflow()