Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h39 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()
H A DType.h237 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-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h64 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy())
76 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCCState.cpp63 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-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp423 (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-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp131 if (S->getType()->isVectorTy()) return false; in processSelect()
231 if (!Condition->getType()->isVectorTy()) { in processPHI()
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()
933 if (BinOp->getType()->isVectorTy()) in processBinOp()
[all …]
H A DScalarizer.cpp547 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp382 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-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp173 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-13.1/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp2776 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()
2954 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), "PtrToInt type mismatch", in visitPtrToIntInst()
4951 Assert(ResultType->isVectorTy() == DerivedType->isVectorTy(), in visitIntrinsicCall()
5132 Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitIntrinsicCall()
5351 Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitConstrainedFPIntrinsic()
5360 Assert(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitConstrainedFPIntrinsic()
[all …]
H A DConstantFold.cpp388 !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()
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()
2364 bool IsCurrIdxVector = CurrIdx->getType()->isVectorTy(); in ConstantFoldGetElementPtr()
[all …]
H A DConstants.cpp46 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-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp220 if (DstTy->isVectorTy()) in getMinBitWidth()
234 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth()
290 assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type"); in getReducedType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp556 if (Src->isVectorTy() && ST->hasNEON() && in getCastInstrCost()
822 if (ValTy->isVectorTy() && in getVectorInstrCost()
850 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
879 if (Sel && ValTy->isVectorTy() && 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()
1340 if (ST->isThumb1Only() || Ty->isVectorTy()) in getArithmeticInstrCost()
1367 if (ST->hasMVEIntegerOps() && Ty->isVectorTy()) in getArithmeticInstrCost()
1405 if (ST->hasNEON() && Src->isVectorTy() && in getMemoryOpCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp243 } 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-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp69 if (Ty->isVectorTy()) { in visitUnaryOperator()
448 if (Ty->isVectorTy()) in executeFCMP_ONE()
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()
1220 if (Ty->isVectorTy()) { in visitLShr()
1247 if (Ty->isVectorTy()) { in visitAShr()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp134 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()
H A DInstCombineVectorOps.cpp179 !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-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
356 if (Cst->getType()->isVectorTy()) in shouldConvertImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCodeMetrics.cpp169 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp658 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-13.1/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h184 return V->getType()->isVectorTy(); in anyVectorType()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp350 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-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp329 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp318 PtrATy->isVectorTy() != PtrBTy->isVectorTy() || in isConsecutiveAccess()
854 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectInstructions()
895 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectInstructions()

12345