Searched refs:FoldedValue (Results 1 – 2 of 2) sorted by relevance
889 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument892 FoldedValue = Ld; in isFoldableLoad()908 FoldedValue = UserI; in isFoldableLoad()915 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()983 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local984 if (isFoldableLoad(cast<LoadInst>(I), FoldedValue)) { in getMemoryOpCost()985 const Instruction *UserI = cast<Instruction>(*FoldedValue->user_begin()); in getMemoryOpCost()991 if (UserI->getOperand(i) == FoldedValue) in getMemoryOpCost()1000 if (OtherLoad && isFoldableLoad(OtherLoad, FoldedValue/*dummy*/)) in getMemoryOpCost()
90 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);