Searched refs:SingleUser (Results 1 – 2 of 2) sorted by relevance
2238 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local2239 SmallVector<const Value *, 4> Operands(SingleUser->operand_values()); in getCastInstrCost()2240 if (isWideningInstruction(Dst, SingleUser->getOpcode(), Operands, Src)) { in getCastInstrCost()2244 if (SingleUser->getOpcode() == Instruction::Add) { in getCastInstrCost()2245 if (I == SingleUser->getOperand(1) || in getCastInstrCost()2246 (isa<CastInst>(SingleUser->getOperand(1)) && in getCastInstrCost()2247 cast<CastInst>(SingleUser->getOperand(1))->getOpcode() == Opcode)) in getCastInstrCost()2255 isExtPartOfAvgExpr(SingleUser, Dst, Src)) in getCastInstrCost()
1004 auto *SingleUser = cast<Instruction>(*I->user_begin()); in supportedAddressingMode() local1005 if (SingleUser->getParent() == I->getParent()) { in supportedAddressingMode()1006 if (isa<ICmpInst>(SingleUser)) { in supportedAddressingMode()1007 if (auto *C = dyn_cast<ConstantInt>(SingleUser->getOperand(1))) in supportedAddressingMode()1012 } else if (isa<StoreInst>(SingleUser)) in supportedAddressingMode()