Lines Matching refs:CxtI
397 Instruction *CxtI);
400 Instruction *CxtI = nullptr);
414 std::optional<ConstantRange> getRangeFor(Value *V, Instruction *CxtI,
443 const APInt &Offset, Instruction *CxtI,
464 Instruction *CxtI = nullptr);
470 ValueLatticeElement getValueAt(Value *V, Instruction *CxtI);
476 Instruction *CxtI = nullptr);
570 Instruction *CxtI) { in getBlockValue() argument
577 intersectAssumeOrGuardBlockValueConstantRange(Val, *OptLatticeVal, CxtI); in getBlockValue()
931 LazyValueInfoImpl::getRangeFor(Value *V, Instruction *CxtI, BasicBlock *BB) { in getRangeFor() argument
932 std::optional<ValueLatticeElement> OptVal = getBlockValue(V, BB, CxtI); in getRangeFor()
1107 Instruction *CxtI, in getValueFromSimpleICmpCondition() argument
1115 getBlockValue(RHS, CxtI->getParent(), CxtI); in getValueFromSimpleICmpCondition()
1487 BasicBlock *BBTo, Instruction *CxtI) { in getEdgeValue() argument
1515 intersectAssumeOrGuardBlockValueConstantRange(Val, InBlock, CxtI); in getEdgeValue()
1521 Instruction *CxtI) { in getValueInBlock() argument
1526 std::optional<ValueLatticeElement> OptResult = getBlockValue(V, BB, CxtI); in getValueInBlock()
1529 OptResult = getBlockValue(V, BB, CxtI); in getValueInBlock()
1538 ValueLatticeElement LazyValueInfoImpl::getValueAt(Value *V, Instruction *CxtI) { in getValueAt() argument
1539 LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName() in getValueAt()
1548 intersectAssumeOrGuardBlockValueConstantRange(V, Result, CxtI); in getValueAt()
1556 Instruction *CxtI) { in getValueOnEdge() argument
1562 getEdgeValue(V, FromBB, ToBB, CxtI); in getValueOnEdge()
1568 Result = getEdgeValue(V, FromBB, ToBB, CxtI); in getValueOnEdge()
1577 auto *CxtI = cast<Instruction>(U.getUser()); in getValueAtUse() local
1578 ValueLatticeElement VL = getValueInBlock(V, CxtI->getParent(), CxtI); in getValueAtUse()
1714 Constant *LazyValueInfo::getConstant(Value *V, Instruction *CxtI) { in getConstant() argument
1719 BasicBlock *BB = CxtI->getParent(); in getConstant()
1721 getOrCreateImpl(BB->getModule()).getValueInBlock(V, BB, CxtI); in getConstant()
1733 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() argument
1736 BasicBlock *BB = CxtI->getParent(); in getConstantRange()
1738 getOrCreateImpl(BB->getModule()).getValueInBlock(V, BB, CxtI); in getConstantRange()
1754 Instruction *CxtI) { in getConstantOnEdge() argument
1757 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantOnEdge()
1772 Instruction *CxtI) { in getConstantRangeOnEdge() argument
1775 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantRangeOnEdge()
1848 Instruction *CxtI) { in getPredicateOnEdge() argument
1851 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getPredicateOnEdge()
1858 Instruction *CxtI, bool UseBlockValue) { in getPredicateAt() argument
1863 Module *M = CxtI->getModule(); in getPredicateAt()
1875 UseBlockValue ? Impl.getValueInBlock(V, CxtI->getParent(), CxtI) in getPredicateAt()
1876 : Impl.getValueAt(V, CxtI); in getPredicateAt()
1903 BasicBlock *BB = CxtI->getParent(); in getPredicateAt()
1923 getPredicateOnEdge(Pred, Incoming, C, PredBB, BB, CxtI); in getPredicateAt()
1944 Tristate Baseline = getPredicateOnEdge(Pred, V, C, *PI, BB, CxtI); in getPredicateAt()
1948 Tristate Ret = getPredicateOnEdge(Pred, V, C, *PI, BB, CxtI); in getPredicateAt()
1964 Instruction *CxtI, in getPredicateAt() argument
1969 return getPredicateAt(P, LHS, C, CxtI, UseBlockValue); in getPredicateAt()
1971 return getPredicateAt(CmpInst::getSwappedPredicate(Pred), RHS, C, CxtI, in getPredicateAt()
1978 Module *M = CxtI->getModule(); in getPredicateAt()
1980 getOrCreateImpl(M).getValueInBlock(LHS, CxtI->getParent(), CxtI); in getPredicateAt()
1985 getOrCreateImpl(M).getValueInBlock(RHS, CxtI->getParent(), CxtI); in getPredicateAt()