Lines Matching refs:Ld
821 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCastInstrCost() local
822 if (Ld->hasOneUse()) in getCastInstrCost()
829 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCastInstrCost() local
830 if (Ld->hasOneUse()) in getCastInstrCost()
975 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCmpSelInstrCost() local
977 if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() && in getCmpSelInstrCost()
1069 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument
1070 if (!Ld->hasOneUse()) in isFoldableLoad()
1072 FoldedValue = Ld; in isFoldableLoad()
1073 const Instruction *UserI = cast<Instruction>(*Ld->user_begin()); in isFoldableLoad()
1074 unsigned LoadedBits = getScalarSizeInBits(Ld->getType()); in isFoldableLoad()