reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/Utils/Local.h
   64       if (IntPtrTy->isVectorTy() && !OpC->getType()->isVectorTy())
   64       if (IntPtrTy->isVectorTy() && !OpC->getType()->isVectorTy())
   77     if (IntPtrTy->isVectorTy() && !Op->getType()->isVectorTy())
   77     if (IntPtrTy->isVectorTy() && !Op->getType()->isVectorTy())
include/llvm/CodeGen/BasicTTIImpl.h
   85     assert(Ty->isVectorTy() && "Can only shuffle vectors");
  102     assert(Ty->isVectorTy() && "Can only shuffle vectors");
  123     assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() &&
  123     assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() &&
  145     assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() &&
  145     assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() &&
  561     assert(Ty->isVectorTy() && "Can only scalarize vectors");
  586         if (A->getType()->isVectorTy()) {
  603     assert(VecTy->isVectorTy());
  655     if (Ty->isVectorTy()) {
  735     if (!Src->isVectorTy() && !Dst->isVectorTy()) {
  735     if (!Src->isVectorTy() && !Dst->isVectorTy()) {
  750     if (Dst->isVectorTy() && Src->isVectorTy()) {
  750     if (Dst->isVectorTy() && Src->isVectorTy()) {
  804       return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true)
  806              (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false)
  834       if (CondTy->isVectorTy())
  839     if (!(ValTy->isVectorTy() && !LT.second.isVector()) &&
  849     if (ValTy->isVectorTy()) {
  881     if (Src->isVectorTy() &&
 1063     unsigned RetVF = (RetTy->isVectorTy() ? RetTy->getVectorNumElements() : 1);
 1073         assert(VF == 1 || !OpTy->isVectorTy());
 1181       if (RetTy->isVectorTy()) {
 1190         if (Ty->isVectorTy()) {
 1505     if (RetTy->isVectorTy()) {
 1514         if (Ty->isVectorTy())
 1521         if (Tys[i]->isVectorTy()) {
 1597     assert(Ty->isVectorTy() && "Expect a vector type");
 1647     assert(Ty->isVectorTy() && "Expect a vector type");
include/llvm/FuzzMutate/OpDescriptor.h
  184     return V->getType()->isVectorTy();
include/llvm/IR/DerivedTypes.h
  630   if (isVectorTy())
include/llvm/IR/Instructions.h
 1052     if (Ptr->getType()->isVectorTy()) {
 1057       if (Index->getType()->isVectorTy()) {
 2070     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
 2091     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
 2128     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
 2152     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
 2172     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
 2222     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
 2244     assert(Mask->getType()->isVectorTy() && "Shuffle needs vector constant.");
include/llvm/IR/PatternMatch.h
  162     if (V->getType()->isVectorTy())
  182     if (V->getType()->isVectorTy())
  227     if (V->getType()->isVectorTy()) {
  267     if (V->getType()->isVectorTy())
  286     if (V->getType()->isVectorTy()) {
  615     if (V->getType()->isVectorTy())
  654     if (!CI && V->getType()->isVectorTy())
include/llvm/IR/Type.h
  252            isPointerTy() || isVectorTy();
  308     if (isVectorTy())
lib/Analysis/CodeMetrics.cpp
  157     if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy())
lib/Analysis/ConstantFolding.cpp
  520     else if (LoadTy->isVectorTy()) {
  778       Type *NewType = Ops[i]->getType()->isVectorTy()
lib/Analysis/InlineCost.cpp
 1579     if (isa<ExtractElementInst>(I) || I->getType()->isVectorTy())
lib/Analysis/InstructionSimplify.cpp
  455   if (Cond->getType()->isVectorTy() != RHS->getType()->isVectorTy())
  455   if (Cond->getType()->isVectorTy() != RHS->getType()->isVectorTy())
  669   if (V->getType()->isVectorTy())
  908   if (Op1C && Ty->isVectorTy()) {
lib/Analysis/ScalarEvolutionExpander.cpp
  837         assert(!Ty->isVectorTy() && "vector types are not SCEVable");
lib/Analysis/TargetTransformInfo.cpp
  929   assert(I->getType()->isVectorTy() && "Expecting a vector type");
lib/Analysis/ValueTracking.cpp
 1152         !I->getType()->isVectorTy()) {
 1319         if (CIndex->getType()->isVectorTy())
 2340   if (!CV || !CV->getType()->isVectorTy())
 2958     if (CV->getType()->isVectorTy()) {
 3167   if (!V->getType()->isVectorTy() || !isa<Constant>(V))
 5137   assert(!LHS->getType()->isVectorTy() && "TODO: extend to handle vectors!");
 5364   if (OpTy->isVectorTy())
lib/Analysis/VectorUtils.cpp
  262   assert(V->getType()->isVectorTy() && "Not looking at a vector?");
  394           !I.getType()->isVectorTy() &&
lib/AsmParser/LLParser.cpp
 3584           BaseType->isVectorTy() ? BaseType->getVectorNumElements() : 0;
 3591         if (ValTy->isVectorTy()) {
 7208   unsigned GEPWidth = BaseType->isVectorTy() ?
 7220     if (Val->getType()->isVectorTy()) {
lib/Bitcode/Reader/BitcodeReader.cpp
 4132       if (!Vec->getType()->isVectorTy())
 4145       if (!Vec->getType()->isVectorTy())
 4165       if (!Vec1->getType()->isVectorTy() || !Vec2->getType()->isVectorTy())
 4165       if (!Vec1->getType()->isVectorTy() || !Vec2->getType()->isVectorTy())
lib/CodeGen/CodeGenPrepare.cpp
 1732   if (Ty->isVectorTy() || SizeInBits > DL->getLargestLegalIntTypeSizeInBits())
 3725   if (Inst->getType()->isVectorTy())
 5912   if (!Ty->isVectorTy() || !TLI->isVectorShiftByScalarCheap(Ty))
 5965   else if (SI->getType()->isVectorTy())
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1052   if (U.getType()->isVectorTy())
 2127     if (!CAZ->getType()->isVectorTy())
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  413   if (!Ty->isIntegerTy() || Ty->isVectorTy())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2928         if (CstTy->isVectorTy()) {
 2935         if (CstTy->isVectorTy() && BitWidth == CstTy->getScalarSizeInBits()) {
 3905           if (CstTy->isVectorTy() &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2980   if (!Inst || !Inst->getType()->isVectorTy())
 3140   if (!I.getType()->isVectorTy() && Op2.getValueType() != ShiftTy) {
 3847   unsigned VectorWidth = I.getType()->isVectorTy() ?
 4337   assert(Ptr->getType()->isVectorTy() && "Uexpected pointer type");
 4343   if (!GEPPtr->getType()->isVectorTy())
lib/CodeGen/ValueTypes.cpp
   59   return LLVMTy->isVectorTy();
lib/ExecutionEngine/Interpreter/Execution.cpp
   69   if (Ty->isVectorTy()) {
  446   if (Ty->isVectorTy())
  589   if(Ty->isVectorTy()) {
  620   if(Ty->isVectorTy()) {
  651     if(Ty->isVectorTy()) {
  742   if (Ty->isVectorTy()) {
  846     if(Ty->isVectorTy()) {
 1196   if (Ty->isVectorTy()) {
 1223   if (Ty->isVectorTy()) {
 1250   if (Ty->isVectorTy()) {
 1274   if (SrcTy->isVectorTy()) {
 1294   if (SrcTy->isVectorTy()) {
 1314   if (SrcTy->isVectorTy()) {
lib/IR/ConstantFold.cpp
  554                !CE->getType()->isVectorTy()) {
  573       DestTy->isVectorTy() &&
  645         if (DestTy->isVectorTy())
  707     if (V->getType()->isVectorTy())
  810         if (Op->getType()->isVectorTy()) {
  945   bool HasScalarUndef = !C->getType()->isVectorTy() && isa<UndefValue>(C);
  992   bool HasScalarUndef = !C1->getType()->isVectorTy() &&
 1920   } else if (C1->getType()->isVectorTy()) {
 2083           CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy() &&
 2083           CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy() &&
 2178     return GEPTy->isVectorTy() && !C->getType()->isVectorTy()
 2178     return GEPTy->isVectorTy() && !C->getType()->isVectorTy()
 2254                              ->isVectorTy();
 2405     bool IsCurrIdxVector = CurrIdx->getType()->isVectorTy();
 2406     bool IsPrevIdxVector = PrevIdx->getType()->isVectorTy();
lib/IR/Constants.cpp
  188   if (this->getType()->isVectorTy()) {
  205   if (!getType()->isVectorTy())
  218   if (!getType()->isVectorTy())
  231   if (!getType()->isVectorTy())
  244   if (!getType()->isVectorTy())
  269   if (!getType()->isVectorTy())
  279   if (!getType()->isVectorTy())
 1364   assert((Ty->isStructTy() || Ty->isArrayTy() || Ty->isVectorTy()) &&
 1400   assert(this->getType()->isVectorTy() && "Only valid for vectors!");
 2028   if (C->getType()->isVectorTy())
 2031     if (Idx->getType()->isVectorTy())
 2045     assert((!Idxs[i]->getType()->isVectorTy() ||
 2050     if (NumVecElts && !Idxs[i]->getType()->isVectorTy())
 2117   assert(Val->getType()->isVectorTy() &&
 2139   assert(Val->getType()->isVectorTy() &&
lib/IR/IRBuilder.cpp
  475   assert(DataTy->isVectorTy() && "Ptr should point to a vector");
  495   assert(DataTy->isVectorTy() && "Ptr should point to a vector");
lib/IR/Instructions.cpp
 1734   if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy())
 1774   if (!Vec->getType()->isVectorTy())
 1846   if (!V1->getType()->isVectorTy() || V1->getType() != V2->getType())
 2617       if (!SrcTy->isVectorTy() && DstTy->isIntegerTy())
 2845   assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast");
 2845   assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast");
 2846   assert((!Ty->isVectorTy() ||
 2863   assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast");
 2863   assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast");
 2864   assert((!Ty->isVectorTy() ||
 2992     if (SrcTy->isVectorTy())          // Casting from vector
 3002     if (SrcTy->isVectorTy())          // Casting from vector
 3007   if (DestTy->isVectorTy())         // Casting to vector
 3015     if (SrcTy->isVectorTy())
 3127     } else if (SrcTy->isVectorTy()) {
 3150     } else if (SrcTy->isVectorTy()) {
 3156   } else if (DestTy->isVectorTy()) {
 3170     if (SrcTy->isVectorTy()) {
 3203   unsigned SrcLength = SrcTy->isVectorTy() ?
 3205   unsigned DstLength = DstTy->isVectorTy() ?
lib/IR/Type.cpp
  563     if (C && V->getType()->isVectorTy())
lib/IR/Verifier.cpp
 2549   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2549   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2564   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2564   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2585   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2585   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2602   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2602   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2620   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2620   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(),
 2632   bool SrcVec = SrcTy->isVectorTy();
 2633   bool DstVec = DestTy->isVectorTy();
 2655   bool SrcVec = SrcTy->isVectorTy();
 2656   bool DstVec = DestTy->isVectorTy();
 2678   bool SrcVec = SrcTy->isVectorTy();
 2679   bool DstVec = DestTy->isVectorTy();
 2701   bool SrcVec = SrcTy->isVectorTy();
 2702   bool DstVec = DestTy->isVectorTy();
 2731   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "PtrToInt type mismatch",
 2731   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "PtrToInt type mismatch",
 2734   if (SrcTy->isVectorTy()) {
 2757   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "IntToPtr type mismatch",
 2757   Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "IntToPtr type mismatch",
 2759   if (SrcTy->isVectorTy()) {
 2785   if (SrcTy->isVectorTy())
 3292   if (GEP.getType()->isVectorTy()) {
 3295     if (GEP.getPointerOperandType()->isVectorTy())
 3300       if (IndexTy->isVectorTy()) {
 4593     Assert(ResultType->isVectorTy() == DerivedType->isVectorTy(),
 4593     Assert(ResultType->isVectorTy() == DerivedType->isVectorTy(),
 4610     Assert(Call.getType()->isVectorTy(), "masked_load: must return a vector",
 4617     Assert(Mask->getType()->isVectorTy(), "masked_load: mask must be vector",
 4638     Assert(Mask->getType()->isVectorTy(), "masked_store: mask must be vector",
 4731     Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(),
 4731     Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(),
 4788     Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(),
 4788     Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(),
 4801     Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(),
 4801     Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(),
 4844     Assert((NumSrcElem > 0) == Operand->getType()->isVectorTy(),
 4876     Assert(OperandTy->isVectorTy() == ResultTy->isVectorTy(),
 4876     Assert(OperandTy->isVectorTy() == ResultTy->isVectorTy(),
 4878     if (OperandTy->isVectorTy()) {
lib/Target/AArch64/AArch64FastISel.cpp
  311   assert(!I->getType()->isVectorTy() && I->getType()->isIntegerTy() &&
 1002   if (Ty->isVectorTy() && !IsVectorAllowed)
 2572   if (CI->getType()->isVectorTy())
lib/Target/AArch64/AArch64ISelLowering.cpp
 5960     if (type->isFloatingPointTy() || type->isVectorTy())
 8403       if (!ArgTy->isVectorTy())
 8573   if (Ext->getType()->isVectorTy())
 8684   if (!I->getType()->isVectorTy())
lib/Target/AArch64/AArch64PromoteConstant.cpp
  240   if (CstTy->isVectorTy())
  341   if (Cst->getType()->isVectorTy())
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  210   if (!DstTy->isVectorTy() || DstTy->getScalarSizeInBits() < 16)
  455   assert(Val->isVectorTy() && "This must be a vector type");
  548     if (Ty->isVectorTy()) {
  581   if (Ty->isVectorTy() && SE &&
  596   if (ValTy->isVectorTy() && ISD == ISD::SELECT) {
  651   if (Ty->isVectorTy() && Ty->getVectorElementType()->isIntegerTy(8)) {
  703     if (!I->isVectorTy())
lib/Target/AMDGPU/SIISelLowering.cpp
  870   if (Ty->getContainedType(0)->isVectorTy()) {
lib/Target/ARM/ARMFastISel.cpp
 3036     if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy())
lib/Target/ARM/ARMISelLowering.cpp
14753   if (!I->getType()->isVectorTy())
16296       if (!ArgTy->isVectorTy())
16318       if (!ArgTy->isVectorTy())
16583   assert(VectorTy->isVectorTy() && "VectorTy is not a vector type");
17049   if (!ArgTy->isVectorTy())
lib/Target/ARM/ARMTargetTransformInfo.cpp
  161   if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND ||
  400   int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy()
  411       ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32)
  423     if (ValTy->isVectorTy() &&
  446   if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) {
  467   int BaseCost = ST->hasMVEIntegerOps() && ValTy->isVectorTy()
  483     if (Ty->isVectorTy() && SE &&
  637   int BaseCost = ST->hasMVEIntegerOps() && Tp->isVectorTy()
  715   int BaseCost = ST->hasMVEIntegerOps() && Ty->isVectorTy()
  727   if (Ty->isVectorTy()) {
  743   if (ST->hasNEON() && Src->isVectorTy() &&
  750   int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy()
 1050       if (I.getType()->isVectorTy())
lib/Target/Hexagon/HexagonISelLowering.cpp
  924     if (CValTy->isVectorTy() &&
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
   47   assert(VecTy->isVectorTy());
   63   if (Ty->isVectorTy())
  162   if (Src->isVectorTy()) {
  231   if (ValTy->isVectorTy()) {
  243   if (Ty->isVectorTy()) {
  267   Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType()
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  417   if (I1->getType()->isVectorTy() && I2->getType()->isVectorTy()) {
  417   if (I1->getType()->isVectorTy() && I2->getType()->isVectorTy()) {
lib/Target/Mips/MipsCCState.cpp
   63   if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy())
  140     OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy());
  173     OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy());
lib/Target/Mips/MipsFastISel.cpp
  609   if (Ty->isVectorTy())
 1361     if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) {
lib/Target/Mips/MipsISelLowering.cpp
 3815     if (Subtarget.hasMSA() && type->isVectorTy() &&
lib/Target/Mips/MipsISelLowering.h
  310       if (ArgTy->isVectorTy())
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  364     } else if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 1472       if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
 1294     } else if (retTy->isAggregateType() || retTy->isVectorTy() ||
 1316       if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 1472       if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 2532       if (Ty->isVectorTy()) {
lib/Target/PowerPC/PPCISelLowering.cpp
14266            type->isVectorTy())
14292     if (type->isVectorTy())
14472   if (Ty->isVectorTy() && AM.BaseOffs != 0)
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  573         PtrValue->getType()->getPointerElementType()->isVectorTy())
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  207   if (U->getType()->isVectorTy()) {
  701   if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy())
  764   assert(Val->isVectorTy() && "This must be a vector type");
  902   if (Src->isVectorTy() && Opcode == Instruction::Store)
lib/Target/SystemZ/SystemZISelLowering.cpp
  880     bool IsVectorAccess = MemAccessTy->isVectorTy();
 1014     if ((type->isVectorTy() || type->isFloatingPointTy()) &&
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  344   assert(Ty->isVectorTy() && "Expected vector type");
  384           (C->getType()->isVectorTy()
  395   if (Ty->isVectorTy()) {
  516   assert (Tp->isVectorTy());
  565   assert (SrcTy->isVectorTy() && DstTy->isVectorTy());
  565   assert (SrcTy->isVectorTy() && DstTy->isVectorTy());
  605   assert (SrcTy->isVectorTy() && DstTy->isVectorTy() &&
  605   assert (SrcTy->isVectorTy() && DstTy->isVectorTy() &&
  640       assert (!OpTy->isVectorTy() && "Expected scalar type");
  657   assert (Dst->isVectorTy());
  676   if (Src->isVectorTy()) {
  678     assert (Dst->isVectorTy());
  764     assert (!Dst->isVectorTy());
  810   if (ValTy->isVectorTy()) {
 1002   if (!Src->isVectorTy() && Opcode == Instruction::Load && I != nullptr) {
 1031     (Src->isVectorTy() ? getNumVectorRegs(Src) : getNumberOfParts(Src));
 1034   if (((!Src->isVectorTy() && NumOps == 1) || ST->hasVectorEnhancements2()) &&
 1124   if (RetTy->isVectorTy() && ID == Intrinsic::bswap)
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  656     if (!Subtarget->hasSIMD128() && ArgTy->isVectorTy())
  768     if (!Subtarget->hasSIMD128() && Call->getType()->isVectorTy())
 1160   if (!Subtarget->hasSIMD128() && Load->getType()->isVectorTy())
 1218       Store->getValueOperand()->getType()->isVectorTy())
 1314   if (!Subtarget->hasSIMD128() && RV->getType()->isVectorTy())
lib/Target/X86/X86FastISel.cpp
 3091     if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy())
lib/Target/X86/X86ISelLowering.cpp
 6105     if (!CstTy->isVectorTy() || (CstSizeInBits % SizeInBits) != 0)
lib/Target/X86/X86InterleavedAccess.cpp
  175   assert(VecWidth->isVectorTy() &&
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
   38   if (!CstTy->isVectorTy())
lib/Target/X86/X86TargetTransformInfo.cpp
 2377   assert(Val->isVectorTy() && "This must be a vector type");
 2522   if (Ty->isVectorTy() && SE) {
 3127     if (Ptrs->getType()->isVectorTy() && !getSplatValue(Ptrs))
 3133       if (IndxTy->isVectorTy())
 3219   assert(SrcVTy->isVectorTy() && "Unexpected data type for Gather/Scatter");
 3222   if (!PtrTy && Ptr->getType()->isVectorTy())
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  208     if (DstTy->isVectorTy())
  222     if (!DstTy->isVectorTy() && FromLegal && !ToLegal)
  278   assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type");
lib/Transforms/IPO/GlobalOpt.cpp
 1616       GVElType->isPointerTy() || GVElType->isVectorTy())
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  431   if (I->getType()->isVectorTy())
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1659   if (C->getType()->isVectorTy()) {
 2148   if (!Ty->isVectorTy())
lib/Transforms/InstCombine/InstCombineCalls.cpp
  621   if (!ArgTy->isVectorTy())
 1861   if (II->getType()->isVectorTy()) {
 3067         BoolVec->getType()->isVectorTy() &&
lib/Transforms/InstCombine/InstCombineCasts.cpp
  695   if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) &&
 1478   if (!CV || !CV->getType()->isVectorTy())
 1765     if (CI.getType()->isVectorTy()) // Handle vectors of pointers.
 1815   if (Ty->isVectorTy()) // Handle vectors of pointers.
 2068   if (!DestTy->isVectorTy() || !BO->getType()->isVectorTy())
 2068   if (!DestTy->isVectorTy() || !BO->getType()->isVectorTy())
 2112   if (CondTy->isVectorTy()) {
 2113     if (!DestTy->isVectorTy())
 2123   if (DestTy->isVectorTy() != TVal->getType()->isVectorTy())
 2123   if (DestTy->isVectorTy() != TVal->getType()->isVectorTy())
 2362     if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) {
 2394       if (!DestTy->isVectorTy()) {
 2416     if (Shuf->hasOneUse() && DestTy->isVectorTy() &&
lib/Transforms/InstCombine/InstCombineCompares.cpp
  808   if (GEPLHS->getType()->isVectorTy())
  863       !GEPLHS->getType()->isVectorTy()) {
  899     if (GEPLHS->getType()->isVectorTy() && Base->getType()->isPointerTy()) {
  934           !GEPLHS->getType()->isVectorTy()) {
  964     if (!GEPLHS->getType()->isVectorTy() && GEPLHS->hasAllZeroIndices())
  970     if (!GEPRHS->getType()->isVectorTy() && GEPRHS->hasAllZeroIndices())
  985               (GEPLHS->getType()->isVectorTy() &&
  986                (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) {
  986                (!LHSType->isVectorTy() || !RHSType->isVectorTy()))) {
 1724   if (isICMP_NE && Cmp.getType()->isVectorTy() && C1.isNullValue() &&
 1770     if (!Cmp.getType()->isVectorTy()) {
 1866       if (And->getType()->isVectorTy())
 2152     if (ShType->isVectorTy())
 3542       Constant *NewShAmtSplat = NewShAmt->getType()->isVectorTy()
 5174   } else if (Type->isVectorTy()) {
 5596   if (I.getType()->isVectorTy())
 6108   if (I.getType()->isVectorTy())
lib/Transforms/InstCombine/InstCombineInternal.h
  247   assert(In->getType()->isVectorTy() && "Not expecting scalars here");
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  107   if (!Ty->isVectorTy())
lib/Transforms/InstCombine/InstCombineSelect.cpp
  132   if (SelType->isVectorTy() != Cmp->getType()->isVectorTy())
  132   if (SelType->isVectorTy() != Cmp->getType()->isVectorTy())
  304     if (CondTy->isVectorTy()) {
  305       if (!FIOpndTy->isVectorTy())
  389   if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() ||
  389   if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() ||
  390                                !OtherOpF->getType()->isVectorTy()))
  593       TrueVal->getType()->isVectorTy() != IC->getType()->isVectorTy())
  593       TrueVal->getType()->isVectorTy() != IC->getType()->isVectorTy())
  910   if (!SelEltTy || SelTy->isVectorTy() != Cmp.getType()->isVectorTy())
  910   if (!SelEltTy || SelTy->isVectorTy() != Cmp.getType()->isVectorTy())
 1801   if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC)))
 1841   if (!Ty->isVectorTy())
 2282       CondVal->getType()->isVectorTy() == SelType->isVectorTy()) {
 2282       CondVal->getType()->isVectorTy() == SelType->isVectorTy()) {
 2650   if (!CondVal->getType()->isVectorTy() && !AC.assumptions().empty()) {
lib/Transforms/InstCombine/InstCombineShifts.cpp
 1223         (Ty->isVectorTy() || shouldChangeType(Ty, X->getType()))) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  387     } else if (I->getOperand(0)->getType()->isVectorTy())
 1209       if (I->getOperand(i)->getType()->isVectorTy()) {
 1359     if (Sel->getCondition()->getType()->isVectorTy()) {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  168       !X->getType()->isVectorTy() ||
  610   assert(V->getType()->isVectorTy() && "Invalid shuffle!");
 1041       VecSrc->getType()->isVectorTy() && !ScalarSrc->getType()->isVectorTy() &&
 1041       VecSrc->getType()->isVectorTy() && !ScalarSrc->getType()->isVectorTy() &&
 1182       if (ITy->isVectorTy() && Mask.size() > ITy->getVectorNumElements())
 1292   assert(V->getType()->isVectorTy() && "can't reorder non-vector elements");
 1353         if (I->getOperand(i)->getType()->isVectorTy())
lib/Transforms/InstCombine/InstructionCombining.cpp
 1403   if (!Inst.getType()->isVectorTy()) return nullptr;
 1626   if (GEP.getType()->isVectorTy()) {
 1662         IndexTy->isVectorTy()
 1957   if (GEPType->isVectorTy())
 2162         ((GEPEltType->isArrayTy() && SrcEltType->isVectorTy() &&
 2164          (GEPEltType->isVectorTy() && SrcEltType->isArrayTy() &&
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2075     assert(!(Ty->isVectorTy() && Ty->getScalarType()->isPointerTy()) &&
 2077     return Ty->isVectorTy() ?
 2094     if (dstTy->isVectorTy() && srcTy->isVectorTy() &&
 2094     if (dstTy->isVectorTy() && srcTy->isVectorTy() &&
 2139     if (Ty->isVectorTy()) {
 2553         I.getArgOperand(1)->getType()->isVectorTy() &&
 2562         I.getType()->isVectorTy() &&
 2646     if (ConvertOp->getType()->isVectorTy()) {
 2664       assert(CopyOp->getType()->isVectorTy());
 2683     if (S->getType()->isVectorTy())
 2700     assert(T->isVectorTy());
 2783     assert(isX86_MMX || S1->getType()->isVectorTy());
 3541       if (B->getType()->isVectorTy()) {
 4450         } else if (A->getType()->isVectorTy()) {
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1383   if (SI.getCondition()->getType()->isVectorTy())
lib/Transforms/Instrumentation/PoisonChecking.cpp
  188   if (isa<BinaryOperator>(I) && !I.getType()->isVectorTy())
lib/Transforms/Scalar/ConstantHoisting.cpp
  396   if (ConstExpr->getType()->isVectorTy())
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  126   if (S->getType()->isVectorTy()) return false;
  231       if (!Condition->getType()->isVectorTy()) {
  567       if (V->getType()->isVectorTy()) continue;
  622   if (Instr->getType()->isVectorTy())
  660   if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI))
  682   if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI))
  700   if (SDI->getType()->isVectorTy())
  720   if (SDI->getType()->isVectorTy())
  746   if (BinOp->getType()->isVectorTy())
  784   if (BinOp->getType()->isVectorTy())
lib/Transforms/Scalar/InferAddressSpaces.cpp
  358       if (!GEP->getType()->isVectorTy())
  384       if (!ASC->getType()->isVectorTy())
lib/Transforms/Scalar/JumpThreading.cpp
  538       else if (!CI->getType()->isVectorTy())
  824     if (isa<Constant>(CmpRHS) && !CmpType->isVectorTy()) {
lib/Transforms/Scalar/LoopUnswitch.cpp
  433   if (Cond->getType()->isVectorTy())
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  496   if (I->getType()->isVectorTy())
 2610       if (I.getOperand(i)->getType()->isVectorTy()) {
 2618     if (!I.getOperand(0)->getType()->isVectorTy() && VF != 0) {
lib/Transforms/Scalar/SROA.cpp
 1775     if (OldTy->isVectorTy() && !NewTy->isVectorTy())
 1775     if (OldTy->isVectorTy() && !NewTy->isVectorTy())
 1780     if (!OldTy->isVectorTy() && NewTy->isVectorTy())
 1780     if (!OldTy->isVectorTy() && NewTy->isVectorTy())
 1791     if (OldTy->isVectorTy() && !NewTy->isVectorTy())
 1791     if (OldTy->isVectorTy() && !NewTy->isVectorTy())
 1796     if (!OldTy->isVectorTy() && NewTy->isVectorTy())
 1796     if (!OldTy->isVectorTy() && NewTy->isVectorTy())
lib/Transforms/Scalar/Scalarizer.cpp
  519     if (OpI->getType()->isVectorTy()) {
  566   if (SI.getOperand(0)->getType()->isVectorTy()) {
  610   if (!Op0->getType()->isVectorTy())
  621     if (!Op->getType()->isVectorTy())
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  932   if (GEP->getType()->isVectorTy())
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  520   if (GEP->getType()->isVectorTy())
lib/Transforms/Utils/IntegerDivision.cpp
  382   assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported");
  440   assert(!Div->getType()->isVectorTy() && "Div over vectors not supported");
  491   assert(!RemTy->isVectorTy() && "Div over vectors not supported");
  540   assert(!RemTy->isVectorTy() && "Div over vectors not supported");
  589   assert(!DivTy->isVectorTy() && "Div over vectors not supported");
  637   assert(!DivTy->isVectorTy() && "Div over vectors not supported");
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  326       PtrATy->isVectorTy() != PtrBTy->isVectorTy() ||
  326       PtrATy->isVectorTy() != PtrBTy->isVectorTy() ||
  771       if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy())
  812       if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy())
lib/Transforms/Vectorize/LoopVectorize.cpp
 1894   assert(Val->getType()->isVectorTy() && "Must be a vector");
 1990   assert(!V->getType()->isVectorTy() && "Can't widen a vector");
 2084   if (!U->getType()->isVectorTy()) {
 2098   assert(!V->getType()->isVectorTy() && "Can't pack a vector");
 2109   assert(Vec->getType()->isVectorTy() && "Invalid type");
 4127         assert((VF == 1 || NewGEP->getType()->isVectorTy()) &&
 5904       VF > 1 && VectorTy->isVectorTy() && TTI.getNumberOfParts(VectorTy) < VF;
 6281         VectorTy->isVectorTy() ? ToVectorTy(SrcScalarTy, VF) : SrcScalarTy;
 6567   assert(!Ty->isVectorTy() && "Val must be a scalar");
 7383     if (ConditionBit->getType()->isVectorTy())
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2184   if (S.OpValue->getType()->isVectorTy()) {
 2191     if (SI->getValueOperand()->getType()->isVectorTy()) {
 5488       if (GEP->getType()->isVectorTy())
lib/Transforms/Vectorize/VPlanSLP.cpp
   64       assert(!T->isVectorTy() && "Only scalar types supported for now");
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5217     assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy());
 5217     assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy());
tools/clang/lib/CodeGen/CGDecl.cpp
 1245   if (Ty->isStructTy() || Ty->isArrayTy() || Ty->isVectorTy())
 1257   if (!(Ty->isStructTy() || Ty->isArrayTy() || Ty->isVectorTy()))
 1270   assert(Ty->isVectorTy());
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1670   assert(SrcTy->isVectorTy() &&
 1672   assert(DstTy->isVectorTy() &&
tools/clang/lib/CodeGen/CGStmt.cpp
 2323       } else if (TruncTy->isVectorTy()) {
tools/clang/lib/CodeGen/PatternInit.cpp
   37                             Ty->isVectorTy() ? Ty->getVectorElementType() : Ty)
   46         Ty->isVectorTy() ? Ty->getVectorElementType() : Ty);
   57         (Ty->isVectorTy() ? Ty->getVectorElementType() : Ty)
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  334   if (Entries[index].Type && Entries[index].Type->isVectorTy()) {
  371     if (Entries[index].Type->isVectorTy() &&
  434   return (!type->isFloatingPointTy() && !type->isVectorTy());
tools/clang/lib/CodeGen/TargetInfo.cpp
  123       assert(type->isVectorTy() || type->isFloatingPointTy());
  926   return IRType->isVectorTy() && IRType->getPrimitiveSizeInBits() == 64 &&
  937   if (IsMMXCons && Ty->isVectorTy()) {
 5316   bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy();
 6704     IsVector = ArgTy->isVectorTy();
tools/llvm-stress/llvm-stress.cpp
  240     } else if (Tp->isVectorTy()) {
  271       if (V->getType()->isVectorTy())
  364     if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1)
  422     if (Ty->isVectorTy()) {
  546     if (VTy->isVectorTy()) {
  629     if (Val0->getType()->isVectorTy() && (getRandom() % 1)) {
unittests/AsmParser/AsmParserTest.cpp
   90   EXPECT_TRUE(V->getType()->isVectorTy());
  230   ASSERT_TRUE(Ty->isVectorTy());
  361   ASSERT_TRUE(Ty->isVectorTy());