Searched refs:FoldedValue (Results 1 – 2 of 2) sorted by relevance
979 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument982 FoldedValue = Ld; in isFoldableLoad()998 FoldedValue = UserI; in isFoldableLoad()1005 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()1079 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local1080 if (isFoldableLoad(cast<LoadInst>(I), FoldedValue)) { in getMemoryOpCost()1081 const Instruction *UserI = cast<Instruction>(*FoldedValue->user_begin()); in getMemoryOpCost()1087 if (UserI->getOperand(i) == FoldedValue) in getMemoryOpCost()1096 if (OtherLoad && isFoldableLoad(OtherLoad, FoldedValue/*dummy*/)) in getMemoryOpCost()
110 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);