Lines Matching defs:CxtI
347 Instruction *CxtI);
350 Instruction *CxtI = nullptr);
364 std::optional<ConstantRange> getRangeFor(Value *V, Instruction *CxtI,
395 const APInt &Offset, Instruction *CxtI,
416 Instruction *CxtI = nullptr);
422 ValueLatticeElement getValueAt(Value *V, Instruction *CxtI);
428 Instruction *CxtI = nullptr);
522 Instruction *CxtI) {
529 intersectAssumeOrGuardBlockValueConstantRange(Val, *OptLatticeVal, CxtI);
880 LazyValueInfoImpl::getRangeFor(Value *V, Instruction *CxtI, BasicBlock *BB) {
881 std::optional<ValueLatticeElement> OptVal = getBlockValue(V, BB, CxtI);
1123 Instruction *CxtI,
1131 getBlockValue(RHS, CxtI->getParent(), CxtI);
1536 BasicBlock *BBTo, Instruction *CxtI) {
1564 intersectAssumeOrGuardBlockValueConstantRange(Val, InBlock, CxtI);
1570 Instruction *CxtI) {
1575 std::optional<ValueLatticeElement> OptResult = getBlockValue(V, BB, CxtI);
1578 OptResult = getBlockValue(V, BB, CxtI);
1587 ValueLatticeElement LazyValueInfoImpl::getValueAt(Value *V, Instruction *CxtI) {
1588 LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName()
1597 intersectAssumeOrGuardBlockValueConstantRange(V, Result, CxtI);
1605 Instruction *CxtI) {
1611 getEdgeValue(V, FromBB, ToBB, CxtI);
1617 Result = getEdgeValue(V, FromBB, ToBB, CxtI);
1626 auto *CxtI = cast<Instruction>(U.getUser());
1627 ValueLatticeElement VL = getValueInBlock(V, CxtI->getParent(), CxtI);
1764 Constant *LazyValueInfo::getConstant(Value *V, Instruction *CxtI) {
1769 BasicBlock *BB = CxtI->getParent();
1771 getOrCreateImpl(BB->getModule()).getValueInBlock(V, BB, CxtI);
1783 ConstantRange LazyValueInfo::getConstantRange(Value *V, Instruction *CxtI,
1785 BasicBlock *BB = CxtI->getParent();
1787 getOrCreateImpl(BB->getModule()).getValueInBlock(V, BB, CxtI);
1803 Instruction *CxtI) {
1806 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI);
1821 Instruction *CxtI) {
1824 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI);
1874 Instruction *CxtI) {
1877 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI);
1883 Constant *C, Instruction *CxtI,
1889 Module *M = CxtI->getModule();
1902 UseBlockValue ? Impl.getValueInBlock(V, CxtI->getParent(), CxtI)
1903 : Impl.getValueAt(V, CxtI);
1930 BasicBlock *BB = CxtI->getParent();
1950 getPredicateOnEdge(Pred, Incoming, C, PredBB, BB, CxtI);
1971 Constant *Baseline = getPredicateOnEdge(Pred, V, C, *PI, BB, CxtI);
1975 Constant *Ret = getPredicateOnEdge(Pred, V, C, *PI, BB, CxtI);
1990 Value *RHS, Instruction *CxtI,
1993 return getPredicateAt(Pred, LHS, C, CxtI, UseBlockValue);
1995 return getPredicateAt(CmpInst::getSwappedPredicate(Pred), RHS, C, CxtI,
2002 Module *M = CxtI->getModule();
2004 getOrCreateImpl(M).getValueInBlock(LHS, CxtI->getParent(), CxtI);
2009 getOrCreateImpl(M).getValueInBlock(RHS, CxtI->getParent(), CxtI);