Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp943 bool IsConst0 = !V0; in scalarizeBinopOrCmp() local
945 if (IsConst0 && IsConst1) in scalarizeBinopOrCmp()
947 if (!IsConst0 && !IsConst1 && Index0 != Index1) in scalarizeBinopOrCmp()
954 if ((IsConst0 && I1 && I1->mayReadFromMemory()) || in scalarizeBinopOrCmp()
958 uint64_t Index = IsConst0 ? Index1 : Index0; in scalarizeBinopOrCmp()
959 Type *ScalarTy = IsConst0 ? V1->getType() : V0->getType(); in scalarizeBinopOrCmp()
962 (IsConst0 || IsConst1 || V0->getType() == V1->getType()) && in scalarizeBinopOrCmp()
986 (IsConst0 ? 0 : InsertCost) + (IsConst1 ? 0 : InsertCost) + VectorOpCost; in scalarizeBinopOrCmp()
988 (IsConst0 ? 0 : !Ins0->hasOneUse() * InsertCost) + in scalarizeBinopOrCmp()
1003 if (IsConst0) in scalarizeBinopOrCmp()