Lines Matching refs:Ld
823 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCastInstrCost() local
824 if (Ld->hasOneUse()) in getCastInstrCost()
831 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCastInstrCost() local
832 if (Ld->hasOneUse()) in getCastInstrCost()
977 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCmpSelInstrCost() local
979 if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() && in getCmpSelInstrCost()
1071 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument
1072 if (!Ld->hasOneUse()) in isFoldableLoad()
1074 FoldedValue = Ld; in isFoldableLoad()
1075 const Instruction *UserI = cast<Instruction>(*Ld->user_begin()); in isFoldableLoad()
1076 unsigned LoadedBits = getScalarSizeInBits(Ld->getType()); in isFoldableLoad()