Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp122 static bool isUseMIInFoldList(const std::vector<FoldCandidate> &FoldList, in isUseMIInFoldList() argument
124 for (auto Candidate : FoldList) { in isUseMIInFoldList()
131 static bool tryAddToFoldList(std::vector<FoldCandidate> &FoldList, in tryAddToFoldList() argument
144 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold, TII); in tryAddToFoldList()
155 if (isUseMIInFoldList(FoldList, MI)) in tryAddToFoldList()
187 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
193 std::vector<FoldCandidate> &FoldList, in foldOperand() argument
267 foldOperand(OpToFold, RSUseMI, RSUse.getOperandNo(), FoldList, in foldOperand()
283 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &ImmOp, TII); in foldOperand()
287 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &OpToFold, TII); in foldOperand()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp97 SmallVectorImpl<FoldCandidate> &FoldList,
306 static bool isUseMIInFoldList(ArrayRef<FoldCandidate> FoldList, in isUseMIInFoldList() argument
308 for (auto Candidate : FoldList) { in isUseMIInFoldList()
315 static void appendFoldCandidate(SmallVectorImpl<FoldCandidate> &FoldList, in appendFoldCandidate() argument
320 for (FoldCandidate &Fold : FoldList) in appendFoldCandidate()
325 FoldList.push_back(FoldCandidate(MI, OpNo, FoldOp, Commuted, ShrinkOp)); in appendFoldCandidate()
328 static bool tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList, in tryAddToFoldList() argument
349 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold, TII); in tryAddToFoldList()
360 appendFoldCandidate(FoldList, MI, OpNo, OpToFold); in tryAddToFoldList()
367 if (isUseMIInFoldList(FoldList, MI)) in tryAddToFoldList()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp97 SmallVectorImpl<FoldCandidate> &FoldList,
306 static bool isUseMIInFoldList(ArrayRef<FoldCandidate> FoldList, in isUseMIInFoldList() argument
308 for (auto Candidate : FoldList) { in isUseMIInFoldList()
315 static void appendFoldCandidate(SmallVectorImpl<FoldCandidate> &FoldList, in appendFoldCandidate() argument
320 for (FoldCandidate &Fold : FoldList) in appendFoldCandidate()
325 FoldList.push_back(FoldCandidate(MI, OpNo, FoldOp, Commuted, ShrinkOp)); in appendFoldCandidate()
328 static bool tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList, in tryAddToFoldList() argument
349 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold, TII); in tryAddToFoldList()
366 appendFoldCandidate(FoldList, MI, OpNo, OpToFold); in tryAddToFoldList()
374 if (isUseMIInFoldList(FoldList, MI)) in tryAddToFoldList()
[all …]
/external/google-fruit/include/fruit/impl/meta/
Dlist.h38 struct FoldList { struct
49 using type = FoldList(Tail, F, F(InitialValue, Head));
/external/google-fruit/include/fruit/impl/
Dcomponent_functors.defn.h838 …using type = Call(FoldList(DeferredBindingFunctors, Compose2ComponentFunctors, ComponentFunctorIde…