Lines Matching refs:hasOneUse
487 if (isa<LoadInst>(Op) && Op->hasOneUse()) { in isFreeEltLoad()
607 if (I->hasOneUse() && in getArithmeticInstrCost()
620 if ((I->hasOneUse() && I->getOpcode() == Instruction::Xor) && in getArithmeticInstrCost()
951 if (Ld->hasOneUse()) in getCastInstrCost()
959 if (Ld->hasOneUse()) in getCastInstrCost()
1106 if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() && in getCmpSelInstrCost()
1217 if (!Ld->hasOneUse()) in isFoldableLoad()
1225 if (UserI->hasOneUse()) { in isFoldableLoad()
1358 if (Opcode == Instruction::Load && I->hasOneUse()) { in getMemoryOpCost()
1362 (!LdUser->hasOneUse() || !isa<StoreInst>(*LdUser->user_begin()))) in getMemoryOpCost()
1367 if (StoredVal->hasOneUse() && isBswapIntrinsicCall(StoredVal)) in getMemoryOpCost()