Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp535 bool IsConst1 = !V1; in scalarizeBinopOrCmp() local
536 if (IsConst0 && IsConst1) in scalarizeBinopOrCmp()
538 if (!IsConst0 && !IsConst1 && Index0 != Index1) in scalarizeBinopOrCmp()
546 (IsConst1 && I0 && I0->mayReadFromMemory())) in scalarizeBinopOrCmp()
553 (IsConst0 || IsConst1 || V0->getType() == V1->getType()) && in scalarizeBinopOrCmp()
572 int OldCost = (IsConst0 ? 0 : InsertCost) + (IsConst1 ? 0 : InsertCost) + in scalarizeBinopOrCmp()
576 (IsConst1 ? 0 : !Ins1->hasOneUse() * InsertCost); in scalarizeBinopOrCmp()
592 if (IsConst1) in scalarizeBinopOrCmp()