Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp83 bool tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList,
93 SmallVectorImpl<FoldCandidate> &FoldList) const;
97 SmallVectorImpl<FoldCandidate> &FoldList,
315 static bool isUseMIInFoldList(ArrayRef<FoldCandidate> FoldList, in isUseMIInFoldList() argument
317 return any_of(FoldList, [&](const auto &C) { return C.UseMI == MI; }); in isUseMIInFoldList()
320 static void appendFoldCandidate(SmallVectorImpl<FoldCandidate> &FoldList, in appendFoldCandidate() argument
325 for (FoldCandidate &Fold : FoldList) in appendFoldCandidate()
330 FoldList.emplace_back(MI, OpNo, FoldOp, Commuted, ShrinkOp); in appendFoldCandidate()
333 bool SIFoldOperands::tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList, in tryAddToFoldList() argument
347 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold); in tryAddToFoldList()
[all …]