Lines Matching refs:CxtI

399                                                    Instruction *CxtI);
402 Instruction *CxtI = nullptr);
416 std::optional<ConstantRange> getRangeFor(Value *V, Instruction *CxtI,
447 const APInt &Offset, Instruction *CxtI,
468 Instruction *CxtI = nullptr);
474 ValueLatticeElement getValueAt(Value *V, Instruction *CxtI);
480 Instruction *CxtI = nullptr);
574 Instruction *CxtI) { in getBlockValue() argument
581 intersectAssumeOrGuardBlockValueConstantRange(Val, *OptLatticeVal, CxtI); in getBlockValue()
932 LazyValueInfoImpl::getRangeFor(Value *V, Instruction *CxtI, BasicBlock *BB) { in getRangeFor() argument
933 std::optional<ValueLatticeElement> OptVal = getBlockValue(V, BB, CxtI); in getRangeFor()
1121 Instruction *CxtI, in getValueFromSimpleICmpCondition() argument
1129 getBlockValue(RHS, CxtI->getParent(), CxtI); in getValueFromSimpleICmpCondition()
1496 BasicBlock *BBTo, Instruction *CxtI) { in getEdgeValue() argument
1524 intersectAssumeOrGuardBlockValueConstantRange(Val, InBlock, CxtI); in getEdgeValue()
1530 Instruction *CxtI) { in getValueInBlock() argument
1535 std::optional<ValueLatticeElement> OptResult = getBlockValue(V, BB, CxtI); in getValueInBlock()
1538 OptResult = getBlockValue(V, BB, CxtI); in getValueInBlock()
1547 ValueLatticeElement LazyValueInfoImpl::getValueAt(Value *V, Instruction *CxtI) { in getValueAt() argument
1548 LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName() in getValueAt()
1557 intersectAssumeOrGuardBlockValueConstantRange(V, Result, CxtI); in getValueAt()
1565 Instruction *CxtI) { in getValueOnEdge() argument
1571 getEdgeValue(V, FromBB, ToBB, CxtI); in getValueOnEdge()
1577 Result = getEdgeValue(V, FromBB, ToBB, CxtI); in getValueOnEdge()
1586 auto *CxtI = cast<Instruction>(U.getUser()); in getValueAtUse() local
1587 ValueLatticeElement VL = getValueInBlock(V, CxtI->getParent(), CxtI); in getValueAtUse()
1723 Constant *LazyValueInfo::getConstant(Value *V, Instruction *CxtI) { in getConstant() argument
1728 BasicBlock *BB = CxtI->getParent(); in getConstant()
1730 getOrCreateImpl(BB->getModule()).getValueInBlock(V, BB, CxtI); in getConstant()
1742 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI, in getConstantRange() argument
1744 BasicBlock *BB = CxtI->getParent(); in getConstantRange()
1746 getOrCreateImpl(BB->getModule()).getValueInBlock(V, BB, CxtI); in getConstantRange()
1762 Instruction *CxtI) { in getConstantOnEdge() argument
1765 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantOnEdge()
1780 Instruction *CxtI) { in getConstantRangeOnEdge() argument
1783 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantRangeOnEdge()
1833 Instruction *CxtI) { in getPredicateOnEdge() argument
1836 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getPredicateOnEdge()
1842 Constant *C, Instruction *CxtI, in getPredicateAt() argument
1848 Module *M = CxtI->getModule(); in getPredicateAt()
1861 UseBlockValue ? Impl.getValueInBlock(V, CxtI->getParent(), CxtI) in getPredicateAt()
1862 : Impl.getValueAt(V, CxtI); in getPredicateAt()
1889 BasicBlock *BB = CxtI->getParent(); in getPredicateAt()
1909 getPredicateOnEdge(Pred, Incoming, C, PredBB, BB, CxtI); in getPredicateAt()
1930 Constant *Baseline = getPredicateOnEdge(Pred, V, C, *PI, BB, CxtI); in getPredicateAt()
1934 Constant *Ret = getPredicateOnEdge(Pred, V, C, *PI, BB, CxtI); in getPredicateAt()
1949 Value *RHS, Instruction *CxtI, in getPredicateAt() argument
1952 return getPredicateAt(Pred, LHS, C, CxtI, UseBlockValue); in getPredicateAt()
1954 return getPredicateAt(CmpInst::getSwappedPredicate(Pred), RHS, C, CxtI, in getPredicateAt()
1961 Module *M = CxtI->getModule(); in getPredicateAt()
1963 getOrCreateImpl(M).getValueInBlock(LHS, CxtI->getParent(), CxtI); in getPredicateAt()
1968 getOrCreateImpl(M).getValueInBlock(RHS, CxtI->getParent(), CxtI); in getPredicateAt()