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

References

include/llvm/CodeGen/BasicTTIImpl.h
  839     if (!(ValTy->isVectorTy() && !LT.second.isVector()) &&
 1608         LT.second.isVector() ? LT.second.getVectorNumElements() : 1;
 1667         LT.second.isVector() ? LT.second.getVectorNumElements() : 1;
include/llvm/CodeGen/ValueTypes.h
  151       return isSimple() ? V.isVector() : isExtendedVector();
include/llvm/Support/MachineValueType.h
  421       return isVector() ? getVectorElementType() : *this;
lib/CodeGen/CallingConvLower.cpp
  190   if (VT.isVector())
lib/CodeGen/GlobalISel/Utils.cpp
  445   if (!Ty.isVector())
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 4196     if (OVT.isVector()) {
 4231     if (OVT.isVector()) {
 4417     assert(NVT.isVector() && OVT.getSizeInBits() == NVT.getSizeInBits() &&
 4450     assert(NVT.isVector() && OVT.getSizeInBits() == NVT.getSizeInBits() &&
 4496     assert(NVT.isVector() && OVT.getSizeInBits() == NVT.getSizeInBits() &&
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  552           NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())
  562       (VT.isVector() && VT.getVectorElementType().isFloatingPoint() &&
  563        NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()))
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  277              !PartVT.isVector() && "Unexpected split");
  676     } else if (PartVT.isVector() &&
 7206     if (LoadVT.isVector())
 7336   if (LoadVT.isVector()) {
lib/CodeGen/TargetLoweringBase.cpp
  688     if (VT.isVector()) {
  835             (NVT.isVector() ||
lib/Support/LowLevelType.cpp
   19   if (VT.isVector()) {
lib/Target/AArch64/AArch64CallLowering.cpp
  314           if (NewVT.isVector()) {
lib/Target/AArch64/AArch64FastISel.cpp
 1927   if (VT.isVector())
 1953   if (VT.isVector())
 2874   if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector())
 2907   if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector())
 2990     if (VT.isVector() &&
 3175     if (CopyVT.isVector() && !Subtarget->isLittleEndian())
 3246     if (VT.isVector() || VT.getSizeInBits() > 64)
 4683   if (VT.isVector())
 4756   if (RetVT.isVector())
lib/Target/AArch64/AArch64ISelLowering.cpp
  818   assert(VT.isVector() && "VT should be a vector type");
10037   if (!RHSTy.isVector())
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  242   if (!DstTyL.second.isVector() || DstElTySize != DstTy->getScalarSizeInBits())
  250   if (!SrcTyL.second.isVector() || SrcElTySize != SrcTy->getScalarSizeInBits())
  425   if (!VecLT.second.isVector() || !TLI->isTypeLegal(DstVT))
  462     if (!LT.second.isVector())
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  962       } else if (ArgVT.isVector() && RegisterVT.isVector() &&
  982         } else if (RegisterVT.isVector()) {
 2731   assert(VT.isVector());
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  356   unsigned NElts = LT.second.isVector() ?
lib/Target/AMDGPU/SIISelLowering.cpp
 1572     assert((!Arg->VT.isVector() || Arg->VT.getScalarSizeInBits() == 16) &&
 1585           assert((!Arg->VT.isVector() ||
 5394       if ((LoadVT.isVector() && LoadVT.getVectorNumElements() < DMaskLanes) ||
 5395           (!LoadVT.isVector() && DMaskLanes > 1))
 5664   unsigned NumElts = LoadVT.isVector() ? LoadVT.getVectorNumElements() : 1;
lib/Target/ARM/ARMFastISel.cpp
 1795   if (VT.isVector())
 1907     if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64)
 1958     assert((!ArgVT.isVector() && ArgVT.getSizeInBits() <= 64) &&
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 2008   assert(ResTy.isVector() && ResTy.getVectorElementType() == MVT::i8);
lib/Target/Hexagon/HexagonISelLowering.cpp
  829   if (ResTy.isVector())
 2271   assert(!ValTy.isVector() ||
 2452   if (Ty.isVector()) {
lib/Target/Hexagon/HexagonISelLowering.h
  383       if (!Ty.isVector())
  388       if (Ty.isVector() && Ty.getVectorElementType() == ElemTy)
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
  221   assert(VecTy.isVector());
 1269   assert(ResTy.isVector() && isHvxSingleTy(ResTy));
 1323   assert(ResTy.isVector());
lib/Target/Hexagon/HexagonSubtarget.h
  231     if (!VecTy.isVector() || !useHVXOps() || VecTy.isScalableVector())
lib/Target/Mips/MipsFastISel.cpp
 1033   if (VT.isInteger() && !VT.isVector() && VT.getSizeInBits() <= 32) {
 1536     if (VT.isVector() || VT.getSizeInBits() > 64)
lib/Target/Mips/MipsISelDAGToDAG.cpp
  285     if (Node->getSimpleValueType(0).isVector() &&
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  893   if (SimpleVT.isVector()) {
 1751   if (SimpleVT.isVector()) {
lib/Target/PowerPC/PPCFastISel.cpp
 1398     if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64 || ArgVT == MVT::i1 ||
 1622     if (ArgVT.isVector())
lib/Target/PowerPC/PPCISelLowering.cpp
14927   if (VT.getSimpleVT().isVector()) {
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  707   if (LT1.first != 1 || !LT1.second.isVector())
  716     if (LT2.first != 1 || !LT2.second.isVector())
lib/Target/SystemZ/SystemZISelLowering.cpp
 1223   if (ArgVT.isVector() && !VT.isVector())
 1258     assert(VA.getValVT().isVector());
 1282     assert(VA.getValVT().isVector());
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  483       if (Subtarget->hasSIMD128() && VT.isVector()) {
  487       if (VT.isInteger() && !VT.isVector()) {
 1517   assert(Op.getSimpleValueType().isVector());
lib/Target/X86/X86CallingConv.cpp
  143         (ValVT.isVector() && ValVT.getSizeInBits() >= 128))) {
  203         (ValVT.isVector() && ValVT.getSizeInBits() >= 128))) {
lib/Target/X86/X86FastISel.cpp
 3332       assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() &&
 3345       assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() &&
 3365       assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() &&
 3665     if (!SrcVT.isVector() || !DstVT.isVector() ||
 3665     if (!SrcVT.isVector() || !DstVT.isVector() ||
lib/Target/X86/X86ISelDAGToDAG.cpp
  811       if (!N->getSimpleValueType(0).isVector())
  904       if (VT.isVector() || VT == MVT::f128)
  996       if (SrcVT.isVector() || DstVT.isVector())
  996       if (SrcVT.isVector() || DstVT.isVector())
 1054       if (SrcVT.isVector() || DstVT.isVector())
 1054       if (SrcVT.isVector() || DstVT.isVector())
 4308   if (!NVT.isVector() || !Subtarget->hasAVX512())
 4479     if (NVT.isVector() && NVT.getVectorElementType() == MVT::i1) {
 4513     if ((Opcode == ISD::ADD || Opcode == ISD::SUB) && NVT.isVector() &&
 5183     if (NVT.isVector() && tryVPTESTM(Node, SDValue(Node, 0), SDValue()))
lib/Target/X86/X86ISelLowering.cpp
 2013     if (LegalVT.getSimpleVT().isVector() && Subtarget.hasVLX()) {
 2889       if (VA.getValVT().isVector() &&
 3110              ? (VA.getValVT().isVector()
 3291         else if (VA.getValVT().isVector() &&
 7182     if (!SrcVT.isVector())
12234   if (!NewVT.isVector() || NewVT.getScalarSizeInBits() != VT.getScalarSizeInBits())
18289   if (VT.isVector()) {
18431   if (SrcVT.isVector()) {
18802   if (DstVT.isVector())
19036   assert(VT.isVector() && InVT.isVector() && "Expected vector type");
19036   assert(VT.isVector() && InVT.isVector() && "Expected vector type");
19532   if (VT.isVector()) {
19562   assert(!VT.isVector());
19770   bool IsFakeVector = !VT.isVector() && !IsF128;
19789   if (VT.isVector() || IsF128)
19829   bool IsFakeVector = !VT.isVector() && !IsF128;
21061   if (VT.isVector()) return LowerVSETCC(Op, Subtarget, DAG);
21225       assert(!VT.isVector() && "Not a scalar type?");
21286   if (VT.isVector() && VT.getVectorElementType() == MVT::i1) {
21418     if (VT.isFloatingPoint() && !VT.isVector() &&
21713   assert(VT.isVector() && InVT.isVector() && "Expected vector type");
21713   assert(VT.isVector() && InVT.isVector() && "Expected vector type");
21872   assert(StoreVT.isVector() && StoreVT.getSizeInBits() == 64 &&
21911   assert(RegVT.isVector() && "We only custom lower vector loads.");
24771   if (VT.isVector())
24809   assert(!VT.isVector() && Op.getOpcode() == ISD::CTTZ &&
25774   assert(VT.isVector() && "Custom lowering only for vector shifts!");
26245   assert(VT.isVector() && "Custom lowering only for vector rotates!");
26778   if ((SrcVT == MVT::v32i16 || SrcVT == MVT::v64i8) && DstVT.isVector() &&
26804       !(DstVT == MVT::x86mmx && SrcVT.isVector()))
26809   if (SrcVT.isVector()) {
26995   assert(Op.getSimpleValueType().isVector() &&
27007   if (!VT.isVector()) {
28517     assert(VT.isVector() && VT.getSizeInBits() == 64 && "Unexpected VT");
33043   if (!VT.isVector())
33046   assert(Root.getSimpleValueType().isVector() &&
34493     if (!SrcVT.isVector())
39294   if (!VT.isVector() || (VT.getScalarSizeInBits() % 8) != 0)
41690   if (!VT.isVector() || !Subtarget.hasSSE2())
41824     if (V.getSimpleValueType().isVector())
42074   if (VT.isVector() && (VT.getScalarSizeInBits() % 8) == 0) {
45593   if (OpInfo.ConstraintVT.isVector() || !OpInfo.ConstraintVT.isInteger() ||
lib/Target/X86/X86TargetTransformInfo.cpp
  876   if (LT.second.isVector() && (ISD == ISD::SDIV || ISD == ISD::SREM ||
  906   if (Kind == TTI::SK_ExtractSubvector && LT.second.isVector()) {
  911     if (SubLT.second.isVector()) {
  956     if (LegalVT.isVector() &&
 1707     if (MTy.isVector() &&
 2386     if (!LT.second.isVector())
 3508   if (!LegalVT.isVector())
unittests/CodeGen/ScalableVectorMVTsTest.cpp
   24     ASSERT_TRUE(VecTy.isVector());
   36     ASSERT_TRUE(VecTy.isVector());
utils/TableGen/CodeGenDAGPatterns.cpp
   43   return VT.isVector();
   46   return !VT.isVector();
  513     if (A.isVector() != B.isVector())
  513     if (A.isVector() != B.isVector())
  613     if (!B.isVector() || !P.isVector())
  613     if (!B.isVector() || !P.isVector())
  687     return !Lengths.count(T.isVector() ? T.getVectorNumElements() : 0);
  696       VN.insert(T.isVector() ? T.getVectorNumElements() : 0);
  698       WN.insert(T.isVector() ? T.getVectorNumElements() : 0);
 1458       if (T.isVector())
utils/TableGen/DAGISelEmitter.cpp
   87     if (LHSVT.isVector() != RHSVT.isVector())
   87     if (LHSVT.isVector() != RHSVT.isVector())
   88       return RHSVT.isVector();
utils/TableGen/DAGISelMatcher.cpp
  340     return !MVT(T2).isInteger() || MVT(T2).isVector();
  343     return !MVT(T1).isInteger() || MVT(T1).isVector();
utils/TableGen/GlobalISelEmitter.cpp
  190   if (VT.isVector() && VT.getVectorNumElements() != 1)
utils/TableGen/IntrinsicEmitter.cpp
  350   if (MVT(VT).isVector()) {