Searched refs:SingleUser (Results 1 – 2 of 2) sorted by relevance
2486 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local2487 SmallVector<const Value *, 4> Operands(SingleUser->operand_values()); in getCastInstrCost()2488 if (isWideningInstruction(Dst, SingleUser->getOpcode(), Operands, Src)) { in getCastInstrCost()2492 if (SingleUser->getOpcode() == Instruction::Add) { in getCastInstrCost()2493 if (I == SingleUser->getOperand(1) || in getCastInstrCost()2494 (isa<CastInst>(SingleUser->getOperand(1)) && in getCastInstrCost()2495 cast<CastInst>(SingleUser->getOperand(1))->getOpcode() == Opcode)) in getCastInstrCost()2503 isExtPartOfAvgExpr(SingleUser, Dst, Src)) in getCastInstrCost()
1027 auto *SingleUser = cast<Instruction>(*I->user_begin()); in supportedAddressingMode() local1028 if (SingleUser->getParent() == I->getParent()) { in supportedAddressingMode()1029 if (isa<ICmpInst>(SingleUser)) { in supportedAddressingMode()1030 if (auto *C = dyn_cast<ConstantInt>(SingleUser->getOperand(1))) in supportedAddressingMode()1035 } else if (isa<StoreInst>(SingleUser)) in supportedAddressingMode()