Searched refs:SingleUser (Results 1 – 2 of 2) sorted by relevance
1792 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local1793 SmallVector<const Value *, 4> Operands(SingleUser->operand_values()); in getCastInstrCost()1794 if (isWideningInstruction(Dst, SingleUser->getOpcode(), Operands)) { in getCastInstrCost()1797 if (I == SingleUser->getOperand(1)) in getCastInstrCost()1802 if (auto *Cast = dyn_cast<CastInst>(SingleUser->getOperand(1))) in getCastInstrCost()
918 auto *SingleUser = cast<Instruction>(*I->user_begin()); in supportedAddressingMode() local919 if (SingleUser->getParent() == I->getParent()) { in supportedAddressingMode()920 if (isa<ICmpInst>(SingleUser)) { in supportedAddressingMode()921 if (auto *C = dyn_cast<ConstantInt>(SingleUser->getOperand(1))) in supportedAddressingMode()926 } else if (isa<StoreInst>(SingleUser)) in supportedAddressingMode()