Home
last modified time | relevance | path

Searched refs:isVectorTy (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h124 assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() && in getExtractSubvectorOverhead()
146 assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() && in getInsertSubvectorOverhead()
550 assert(VecTy->isVectorTy()); in getScalarizationOverhead()
602 if (Ty->isVectorTy()) {
682 if (!Src->isVectorTy() && !Dst->isVectorTy()) {
697 if (Dst->isVectorTy() && Src->isVectorTy()) {
781 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
796 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
827 if (Src->isVectorTy() &&
1323 if (RetTy->isVectorTy()) {
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp344 assert(Ty->isVectorTy() && "Expected vector type"); in getNumVectorRegs()
384 (C->getType()->isVectorTy() in getArithmeticInstrCost()
395 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
495 assert (Tp->isVectorTy()); in getShuffleCost()
544 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost()
584 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost()
636 assert (Dst->isVectorTy()); in getBoolVecToIntConversionCost()
655 if (Src->isVectorTy()) { in getCastInstrCost()
657 assert (Dst->isVectorTy()); in getCastInstrCost()
743 assert (!Dst->isVectorTy()); in getCastInstrCost()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp48 assert(VecTy->isVectorTy()); in isTypeForHVX()
62 if (Ty->isVectorTy()) in getTypeNumElements()
159 if (Src->isVectorTy()) { in getMemoryOpCost()
220 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
232 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
256 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
H A DHexagonVectorLoopCarriedReuse.cpp347 if (I1->getType()->isVectorTy() && I2->getType()->isVectorTy()) { in isEquivalentOperation()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsCCState.cpp64 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat()
141 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands()
174 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp107 if (S->getType()->isVectorTy()) return false; in processSelect()
205 if (!Condition->getType()->isVectorTy()) { in processPHI()
509 if (Instr->getType()->isVectorTy()) in processUDivOrURem()
547 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSRem()
569 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSDiv()
587 if (SDI->getType()->isVectorTy()) in processAShr()
612 if (AddOp->getType()->isVectorTy()) in processAdd()
H A DScalarizer.cpp486 if (OpI->getType()->isVectorTy()) { in splitCall()
533 if (SI.getOperand(0)->getType()->isVectorTy()) { in visitSelectInst()
573 if (!Op0->getType()->isVectorTy()) in visitGetElementPtrInst()
584 if (!Op->getType()->isVectorTy()) in visitGetElementPtrInst()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp383 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder()
441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
492 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits()
541 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits()
590 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits()
638 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
/freebsd-12.1/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp241 } else if (Tp->isVectorTy()) { in getRandomValue()
272 if (V->getType()->isVectorTy()) in getRandomVectorValue()
365 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
423 if (Ty->isVectorTy()) { in Act()
547 if (VTy->isVectorTy()) { in Act()
630 if (Val0->getType()->isVectorTy() && (getRandom() % 1)) { in Act()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DVerifier.cpp2482 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
2497 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
2518 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2535 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
2553 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
2664 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "PtrToInt type mismatch", in visitPtrToIntInst()
2667 if (SrcTy->isVectorTy()) { in visitPtrToIntInst()
2690 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "IntToPtr type mismatch", in visitIntToPtrInst()
2692 if (SrcTy->isVectorTy()) { in visitIntToPtrInst()
2718 if (SrcTy->isVectorTy()) in visitAddrSpaceCastInst()
[all …]
H A DConstantFold.cpp552 !CE->getType()->isVectorTy()) { in ConstantFoldCastInstruction()
571 DestTy->isVectorTy() && in ConstantFoldCastInstruction()
643 if (DestTy->isVectorTy()) in ConstantFoldCastInstruction()
705 if (V->getType()->isVectorTy()) in ConstantFoldCastInstruction()
924 bool HasScalarUndef = !C1->getType()->isVectorTy() && in ConstantFoldBinaryInstruction()
1832 } else if (C1->getType()->isVectorTy()) { in ConstantFoldCompareInstruction()
1988 CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy()) { in ConstantFoldCompareInstruction()
2082 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()
2158 ->isVectorTy(); in ConstantFoldGetElementPtr()
2309 bool IsCurrIdxVector = CurrIdx->getType()->isVectorTy(); in ConstantFoldGetElementPtr()
[all …]
H A DInstructions.cpp1619 if (!Vec->getType()->isVectorTy()) in isValidOperands()
2671 assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast"); in CreatePointerCast()
2672 assert((!Ty->isVectorTy() || in CreatePointerCast()
2689 assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast"); in CreatePointerCast()
2690 assert((!Ty->isVectorTy() || in CreatePointerCast()
2841 if (SrcTy->isVectorTy()) in isCastable()
2953 } else if (SrcTy->isVectorTy()) { in getCastOpcode()
2976 } else if (SrcTy->isVectorTy()) { in getCastOpcode()
2982 } else if (DestTy->isVectorTy()) { in getCastOpcode()
2996 if (SrcTy->isVectorTy()) { in getCastOpcode()
[all …]
H A DConstants.cpp188 if (this->getType()->isVectorTy()) { in isNotMinSignedValue()
205 if (!getType()->isVectorTy()) in isFiniteNonZeroFP()
218 if (!getType()->isVectorTy()) in isNormalFP()
231 if (!getType()->isVectorTy()) in hasExactInverseFP()
244 if (!getType()->isVectorTy()) in isNaN()
255 if (!getType()->isVectorTy()) in containsUndefElement()
2016 if (C->getType()->isVectorTy()) in getGetElementPtr()
2019 if (Idx->getType()->isVectorTy()) in getGetElementPtr()
2033 assert((!Idxs[i]->getType()->isVectorTy() || in getGetElementPtr()
2105 assert(Val->getType()->isVectorTy() && in getExtractElement()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h230 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function
252 isPointerTy() || isVectorTy(); in isSingleValueType()
305 if (isVectorTy()) in getScalarType()
/freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp209 if (DstTy->isVectorTy()) in getMinBitWidth()
223 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth()
279 assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type"); in getReducedType()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp133 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) in foldSelectICmpAnd()
304 if (CondTy->isVectorTy()) { in foldSelectOpOp()
305 if (!FIOpndTy->isVectorTy()) in foldSelectOpOp()
377 if (SI.getCondition()->getType()->isVectorTy() && in foldSelectOpOp()
378 (!OtherOpT->getType()->isVectorTy() || in foldSelectOpOp()
379 !OtherOpF->getType()->isVectorTy())) in foldSelectOpOp()
542 TrueVal->getType()->isVectorTy() != IC->getType()->isVectorTy()) in foldSelectICmpAndOr()
759 if (!SelEltTy || SelTy->isVectorTy() != Cmp.getType()->isVectorTy()) in adjustMinMax()
1347 if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle()
1699 CondVal->getType()->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
[all …]
H A DInstCombineCasts.cpp696 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitTrunc()
1481 if (!CV || !CV->getType()->isVectorTy()) in shrinkFPConstantVector()
1760 if (CI.getType()->isVectorTy()) // Handle vectors of pointers. in visitIntToPtr()
1810 if (Ty->isVectorTy()) // Handle vectors of pointers. in visitPtrToInt()
2063 if (!DestTy->isVectorTy() || !BO->getType()->isVectorTy()) in foldBitCastBitwiseLogic()
2107 if (CondTy->isVectorTy()) { in foldBitCastSelect()
2108 if (!DestTy->isVectorTy()) in foldBitCastSelect()
2118 if (DestTy->isVectorTy() != TVal->getType()->isVectorTy()) in foldBitCastSelect()
2318 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) { in visitBitCast()
2350 if (!DestTy->isVectorTy()) { in visitBitCast()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp209 if (!DstTy->isVectorTy() || DstTy->getScalarSizeInBits() < 16) in isWideningInstruction()
454 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
547 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
580 if (Ty->isVectorTy() && SE && in getAddressComputationCost()
595 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
637 if (Ty->isVectorTy() && Ty->getVectorElementType()->isIntegerTy(8)) { in getMemoryOpCost()
689 if (!I->isVectorTy()) in getCostOfKeepingLiveOverCall()
H A DAArch64PromoteConstant.cpp241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
342 if (Cst->getType()->isVectorTy()) in shouldConvertImpl()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp149 if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND || in getCastInstrCost()
335 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
347 if (ValTy->isVectorTy() && in getVectorInstrCost()
359 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
392 if (Ty->isVectorTy() && SE && in getAddressComputationCost()
553 if (Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp199 if (U->getType()->isVectorTy()) { in getUserCost()
364 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
465 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp393 if (Ty->isVectorTy()) in executeFCMP_ONE()
536 if(Ty->isVectorTy()) { in executeFCMP_ORD()
567 if(Ty->isVectorTy()) { in executeFCMP_UNO()
598 if(Ty->isVectorTy()) { in executeFCMP_BOOL()
689 if (Ty->isVectorTy()) { in visitBinaryOperator()
793 if(Ty->isVectorTy()) { in executeSelectInst()
1143 if (Ty->isVectorTy()) { in visitShl()
1170 if (Ty->isVectorTy()) { in visitLShr()
1197 if (Ty->isVectorTy()) { in visitAShr()
1221 if (SrcTy->isVectorTy()) { in executeTruncInst()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/Utils/
H A DLocal.h55 if (OpC->getType()->isVectorTy())
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCodeMetrics.cpp161 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp645 if (!Subtarget->hasSIMD128() && ArgTy->isVectorTy()) in fastLowerArguments()
756 if (!Subtarget->hasSIMD128() && Call->getType()->isVectorTy()) in selectCall()
1145 if (!Subtarget->hasSIMD128() && Load->getType()->isVectorTy()) in selectLoad()
1203 Store->getValueOperand()->getType()->isVectorTy()) in selectStore()
1295 if (!Subtarget->hasSIMD128() && RV->getType()->isVectorTy()) in selectRet()

1234