Home
last modified time | relevance | path

Searched refs:FoldedValue (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp979 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument
982 FoldedValue = Ld; in isFoldableLoad()
998 FoldedValue = UserI; in isFoldableLoad()
1005 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()
1079 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local
1080 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()
H A DSystemZTargetTransformInfo.h110 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);