Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostSelectOptimize.cpp102 MachineInstr *FirstCmp = nullptr, *LastCmp = nullptr; in optimizeNZCVDefs() local
106 if (!FirstCmp) in optimizeNZCVDefs()
107 FirstCmp = &MI; in optimizeNZCVDefs()
127 if (InsideCmpRange && &II == FirstCmp) in optimizeNZCVDefs()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp613 const BCECmpBlock &FirstCmp = Comparisons[0]; in mergeComparisons() local
621 Value *const Lhs = Builder.Insert(FirstCmp.Lhs().GEP->clone()); in mergeComparisons()
622 Value *const Rhs = Builder.Insert(FirstCmp.Rhs().GEP->clone()); in mergeComparisons()
642 Builder.CreateLoad(FirstCmp.Lhs().LoadI->getType(), Lhs); in mergeComparisons()
644 Builder.CreateLoad(FirstCmp.Rhs().LoadI->getType(), Rhs); in mergeComparisons()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp613 const BCECmpBlock &FirstCmp = Comparisons[0]; in mergeComparisons() local
621 Value *const Lhs = Builder.Insert(FirstCmp.Lhs().GEP->clone()); in mergeComparisons()
622 Value *const Rhs = Builder.Insert(FirstCmp.Rhs().GEP->clone()); in mergeComparisons()
630 Builder.CreateLoad(FirstCmp.Lhs().LoadI->getType(), Lhs); in mergeComparisons()
632 Builder.CreateLoad(FirstCmp.Rhs().LoadI->getType(), Rhs); in mergeComparisons()