| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | MatrixBuilder.h | 39 assert((LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()) && in splatScalarOperandIfNeeded() 41 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in splatScalarOperandIfNeeded() 47 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in splatScalarOperandIfNeeded() 162 assert(LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()); in CreateAdd() 163 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in CreateAdd() 169 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in CreateAdd() 187 assert(LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()); in CreateSub() 188 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in CreateSub() 194 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in CreateSub() 221 assert(LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()); in CreateScalarDiv()
|
| D | Type.h | 237 inline bool isVectorTy() const { in isVectorTy() function 261 isPointerTy() || isVectorTy() || isX86_AMXTy(); in isSingleValueType() 282 if (getTypeID() != StructTyID && getTypeID() != ArrayTyID && !isVectorTy()) 320 if (isVectorTy()) in getScalarType()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/ |
| D | Local.h | 64 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy()) 76 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| D | MipsCCState.cpp | 63 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat() 137 OriginalArgWasFloatVector.push_back(ArgTy->isVectorTy()); in PreAnalyzeCallOperand() 152 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands() 175 OriginalArgWasFloatVector.push_back(ArgTy->isVectorTy()); in PreAnalyzeFormalArgument() 206 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| D | SystemZTargetTransformInfo.cpp | 423 (C->getType()->isVectorTy() in getArithmeticInstrCost() 434 if (!Ty->isVectorTy()) { in getArithmeticInstrCost() 612 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost() 654 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost() 689 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType() 734 if (!Src->isVectorTy()) { in getCastInstrCost() 735 assert (!Dst->isVectorTy()); in getCastInstrCost() 880 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost() 1077 if (!Src->isVectorTy() && Opcode == Instruction::Load && I != nullptr) { in getMemoryOpCost() 1106 (Src->isVectorTy() ? getNumVectorRegs(Src) : getNumberOfParts(Src)); in getMemoryOpCost() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| D | CorrelatedValuePropagation.cpp | 131 if (S->getType()->isVectorTy()) return false; in processSelect() 231 if (!Condition->getType()->isVectorTy()) { in processPHI() 604 if (V->getType()->isVectorTy()) continue; in processCallSite() 675 if (Instr->getType()->isVectorTy()) in narrowSDivOrSRem() 729 if (Instr->getType()->isVectorTy()) in processUDivOrURem() 770 if (SDI->getType()->isVectorTy()) in processSRem() 826 if (SDI->getType()->isVectorTy()) in processSDiv() 879 if (Instr->getType()->isVectorTy()) in processSDivOrSRem() 894 if (SDI->getType()->isVectorTy()) in processAShr() 912 if (SDI->getType()->isVectorTy()) in processSExt() [all …]
|
| D | Scalarizer.cpp | 547 if (OpI->getType()->isVectorTy()) { in splitCall() 596 if (SI.getOperand(0)->getType()->isVectorTy()) { in visitSelectInst() 647 if (!Op0->getType()->isVectorTy()) in visitGetElementPtrInst() 658 if (!Op->getType()->isVectorTy()) in visitGetElementPtrInst()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | IntegerDivision.cpp | 382 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder() 440 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision() 491 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits() 540 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits() 589 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits() 637 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| D | HexagonTargetTransformInfo.cpp | 173 if (Src->isVectorTy()) { in getMemoryOpCost() 254 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 274 if (Ty->isVectorTy()) { in getArithmeticInstrCost() 308 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | Verifier.cpp | 2776 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst() 2791 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst() 2812 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst() 2829 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst() 2847 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst() 2859 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst() 2860 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst() 2882 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst() 2883 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst() 2905 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst() [all …]
|
| D | ConstantFold.cpp | 388 !CE->getType()->isVectorTy()) { in ConstantFoldCastInstruction() 407 DestTy->isVectorTy() && in ConstantFoldCastInstruction() 503 if (V->getType()->isVectorTy()) in ConstantFoldCastInstruction() 595 if (C->getType()->isVectorTy()) in ConstantFoldSelectInstruction() 648 if (Op->getType()->isVectorTy()) { in ConstantFoldExtractElementInstruction() 819 (!C->getType()->isVectorTy() || IsScalableVector) && isa<UndefValue>(C); in ConstantFoldUnaryInstruction() 893 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction() 2025 CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy() && in ConstantFoldCompareInstruction() 2161 if (LastIdxTy->isVectorTy()) in foldGEPOfGEP() 2215 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr() [all …]
|
| D | Constants.cpp | 46 if (getType()->isVectorTy()) in isNegativeZeroValue() 66 if (getType()->isVectorTy()) in isZeroValue() 101 if (getType()->isVectorTy()) in isAllOnesValue() 118 if (getType()->isVectorTy()) in isOneValue() 145 if (getType()->isVectorTy()) in isNotOneValue() 163 if (getType()->isVectorTy()) in isMinSignedValue() 190 if (getType()->isVectorTy()) in isNotMinSignedValue() 211 if (getType()->isVectorTy()) in isFiniteNonZeroFP() 232 if (getType()->isVectorTy()) in isNormalFP() 253 if (getType()->isVectorTy()) in hasExactInverseFP() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| D | ARMTargetTransformInfo.cpp | 556 if (Src->isVectorTy() && ST->hasNEON() && in getCastInstrCost() 798 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost() 810 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 822 if (ValTy->isVectorTy() && in getVectorInstrCost() 850 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost() 879 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost() 919 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost() 941 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost() 980 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost() 998 if (Ty->isVectorTy() && SE && in getAddressComputationCost() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| D | TruncInstCombine.cpp | 220 if (DstTy->isVectorTy()) in getMinBitWidth() 234 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth() 290 assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type"); in getReducedType()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-stress/ |
| D | llvm-stress.cpp | 243 } else if (Tp->isVectorTy()) { in getRandomValue() 274 if (V->getType()->isVectorTy()) in getRandomVectorValue() 368 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 426 if (Ty->isVectorTy()) { in Act() 556 if (VTy->isVectorTy()) { in Act()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| D | Execution.cpp | 69 if (Ty->isVectorTy()) { in visitUnaryOperator() 420 if (TY->isVectorTy()) { \ 448 if (Ty->isVectorTy()) in executeFCMP_ONE() 524 if (TY->isVectorTy()) { \ 591 if(Ty->isVectorTy()) { in executeFCMP_ORD() 622 if(Ty->isVectorTy()) { in executeFCMP_UNO() 653 if(Ty->isVectorTy()) { in executeFCMP_BOOL() 744 if (Ty->isVectorTy()) { in visitBinaryOperator() 848 if(Ty->isVectorTy()) { in executeSelectInst() 1193 if (Ty->isVectorTy()) { in visitShl() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSelect.cpp | 134 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) in foldSelectICmpAnd() 287 if (!FIOpndTy->isVectorTy() || in foldSelectOpOp() 396 if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() || in foldSelectOpOp() 397 !OtherOpF->getType()->isVectorTy())) in foldSelectOpOp() 602 TrueVal->getType()->isVectorTy() != IC->getType()->isVectorTy()) in foldSelectICmpAndOr() 961 if (!SelEltTy || SelTy->isVectorTy() != Cmp.getType()->isVectorTy()) in adjustMinMax() 1126 if (!Cmp.isEquality() || Cmp.getType()->isVectorTy()) in foldSelectValueEquivalence() 2732 if (!SelType->isVectorTy()) { in visitSelectInst() 2818 CondVal->getType()->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst() 3188 if (!CondVal->getType()->isVectorTy() && !AC.assumptions().empty()) { in visitSelectInst()
|
| D | InstCombineVectorOps.cpp | 179 !X->getType()->isVectorTy() || in foldBitcastExtElt() 691 assert(V->getType()->isVectorTy() && "Invalid shuffle!"); in collectShuffleElements() 1434 VecSrc->getType()->isVectorTy() && !ScalarSrc->getType()->isVectorTy() && in visitInsertElementInst() 1582 if (ITy->isVectorTy() && in canEvaluateShuffled() 1693 assert(V->getType()->isVectorTy() && "can't reorder non-vector elements"); in evaluateInDifferentElementOrder() 1748 if (I->getOperand(i)->getType()->isVectorTy()) in evaluateInDifferentElementOrder() 2082 if (!SrcType->isVectorTy() || !SrcType->isIntOrIntVectorTy() || in foldTruncShuffle() 2371 X->getType()->isVectorTy() && X->getType() == Y->getType() && in visitShuffleVectorInst() 2390 X->getType()->isVectorTy() && VWidth == LHSWidth) { in visitShuffleVectorInst()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| D | AArch64PromoteConstant.cpp | 241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy() 356 if (Cst->getType()->isVectorTy()) in shouldConvertImpl()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | CodeMetrics.cpp | 169 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| D | WebAssemblyFastISel.cpp | 658 if (!Subtarget->hasSIMD128() && ArgTy->isVectorTy()) in fastLowerArguments() 775 if (!Subtarget->hasSIMD128() && Call->getType()->isVectorTy()) in selectCall() 1188 if (!Subtarget->hasSIMD128() && Load->getType()->isVectorTy()) in selectLoad() 1249 Store->getValueOperand()->getType()->isVectorTy()) in selectStore() 1346 if (!Subtarget->hasSIMD128() && RV->getType()->isVectorTy()) in selectRet()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | SwiftCallingConv.cpp | 350 if (Entries[index].Type && Entries[index].Type->isVectorTy()) { in addEntry() 387 if (Entries[index].Type->isVectorTy() && in addEntry() 450 return (!type->isFloatingPointTy() && !type->isVectorTy()); in isMergeableEntryType()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| D | OpDescriptor.h | 184 return V->getType()->isVectorTy(); in anyVectorType()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| D | PPCTargetTransformInfo.cpp | 329 if (U->getType()->isVectorTy()) { in getUserCost() 950 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy()) in vectorCostAdjustment() 1046 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 1184 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| D | LoadStoreVectorizer.cpp | 318 PtrATy->isVectorTy() != PtrBTy->isVectorTy() || in isConsecutiveAccess() 854 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectInstructions() 895 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectInstructions()
|