Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/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.h235 inline bool isVectorTy() const { in isVectorTy() function
259 isPointerTy() || isVectorTy() || isX86_AMXTy(); in isSingleValueType()
280 if (getTypeID() != StructTyID && getTypeID() != ArrayTyID && !isVectorTy())
318 if (isVectorTy()) in getScalarType()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/
H A DLocal.h64 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy())
76 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsCCState.cpp63 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat()
140 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands()
173 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp130 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 …]
H A DScalarizer.cpp544 if (OpI->getType()->isVectorTy()) { in splitCall()
591 if (SI.getOperand(0)->getType()->isVectorTy()) { in visitSelectInst()
642 if (!Op0->getType()->isVectorTy()) in visitGetElementPtrInst()
653 if (!Op->getType()->isVectorTy()) in visitGetElementPtrInst()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp2842 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
2857 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
2878 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2895 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
2913 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
2925 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst()
2926 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst()
2948 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst()
2949 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst()
2971 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst()
[all …]
H A DConstantFold.cpp581 !CE->getType()->isVectorTy()) { in ConstantFoldCastInstruction()
600 DestTy->isVectorTy() && in ConstantFoldCastInstruction()
681 if (DestTy->isVectorTy()) in ConstantFoldCastInstruction()
743 if (V->getType()->isVectorTy()) in ConstantFoldCastInstruction()
835 if (C->getType()->isVectorTy()) in ConstantFoldSelectInstruction()
888 if (Op->getType()->isVectorTy()) { in ConstantFoldExtractElementInstruction()
1063 (!C->getType()->isVectorTy() || IsScalableVector) && isa<UndefValue>(C); in ConstantFoldUnaryInstruction()
1144 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction()
2276 CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy() && in ConstantFoldCompareInstruction()
2375 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
H A DHexagonVectorLoopCarriedReuse.cpp340 if (I1->getType()->isVectorTy() && I2->getType()->isVectorTy()) { in isEquivalentOperation()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp551 if (Src->isVectorTy() && ST->hasNEON() && in getCastInstrCost()
793 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost()
805 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
817 if (ValTy->isVectorTy() && in getVectorInstrCost()
845 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
874 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost()
914 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
936 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost()
975 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost()
993 if (Ty->isVectorTy() && SE && in getAddressComputationCost()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp239 } else if (Tp->isVectorTy()) { in getRandomValue()
270 if (V->getType()->isVectorTy()) in getRandomVectorValue()
364 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
422 if (Ty->isVectorTy()) { in Act()
552 if (VTy->isVectorTy()) { in Act()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp69 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 …]
/netbsd-src/external/apache2/llvm/dist/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()
2798 CondVal->getType()->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3145 if (!CondVal->getType()->isVectorTy() && !AC.assumptions().empty()) { in visitSelectInst()
H A DInstCombineVectorOps.cpp179 !X->getType()->isVectorTy() || in foldBitcastExtElt()
630 assert(V->getType()->isVectorTy() && "Invalid shuffle!"); in collectShuffleElements()
1374 VecSrc->getType()->isVectorTy() && !ScalarSrc->getType()->isVectorTy() && in visitInsertElementInst()
1522 if (ITy->isVectorTy() && in canEvaluateShuffled()
1633 assert(V->getType()->isVectorTy() && "can't reorder non-vector elements"); in evaluateInDifferentElementOrder()
1688 if (I->getOperand(i)->getType()->isVectorTy()) in evaluateInDifferentElementOrder()
2022 if (!SrcType->isVectorTy() || !SrcType->isIntOrIntVectorTy() || in foldTruncShuffle()
2311 X->getType()->isVectorTy() && X->getType() == Y->getType() && in visitShuffleVectorInst()
2330 X->getType()->isVectorTy() && VWidth == LHSWidth) { in visitShuffleVectorInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
356 if (Cst->getType()->isVectorTy()) in shouldConvertImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCodeMetrics.cpp169 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp658 if (!Subtarget->hasSIMD128() && ArgTy->isVectorTy()) in fastLowerArguments()
775 if (!Subtarget->hasSIMD128() && Call->getType()->isVectorTy()) in selectCall()
1187 if (!Subtarget->hasSIMD128() && Load->getType()->isVectorTy()) in selectLoad()
1248 Store->getValueOperand()->getType()->isVectorTy()) in selectStore()
1345 if (!Subtarget->hasSIMD128() && RV->getType()->isVectorTy()) in selectRet()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h184 return V->getType()->isVectorTy(); in anyVectorType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp318 PtrATy->isVectorTy() != PtrBTy->isVectorTy() || in isConsecutiveAccess()
822 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectInstructions()
863 if (Ty->isVectorTy() && Ty->isPtrOrPtrVectorTy()) in collectInstructions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp329 if (U->getType()->isVectorTy()) { in getUserCost()
947 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy()) in vectorCostAdjustment()
1043 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
1181 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()

12345