Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp889 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument
892 FoldedValue = Ld; in isFoldableLoad()
908 FoldedValue = UserI; in isFoldableLoad()
915 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()
983 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local
984 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()
H A DSystemZTargetTransformInfo.h90 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);