Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/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()
158 assert(LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()); in CreateAdd()
159 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in CreateAdd()
165 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in CreateAdd()
183 assert(LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()); in CreateSub()
184 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in CreateSub()
190 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in CreateSub()
217 assert(LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()); in CreateScalarDiv()
H A DType.h258 inline bool isVectorTy() const { in isVectorTy() function
282 isPointerTy() || isVectorTy() || isX86_AMXTy() || isTargetExtTy(); in isSingleValueType()
304 !isVectorTy() && getTypeID() != TargetExtTyID)
342 if (isVectorTy()) in getScalarType()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLocal.cpp57 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy()) in emitGEPOffset()
69 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy()) in emitGEPOffset()
H A DCodeMetrics.cpp163 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp458 (C->getType()->isVectorTy() in getArithmeticInstrCost()
469 if (!Ty->isVectorTy()) { in getArithmeticInstrCost()
651 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost()
693 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost()
728 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType()
773 if (!Src->isVectorTy()) { in getCastInstrCost()
774 assert (!Dst->isVectorTy()); in getCastInstrCost()
927 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost()
1127 if (!Src->isVectorTy() && Opcode == Instruction::Load && I != nullptr) { in getMemoryOpCost()
1156 (Src->isVectorTy() ? getNumVectorRegs(Src) : getNumberOfParts(Src)); in getMemoryOpCost()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp138 if (S->getType()->isVectorTy()) return false; in processSelect()
235 if (!Condition->getType()->isVectorTy()) { in getValueOnEdge()
318 if (Cmp->getType()->isVectorTy() || in processICmp()
654 if (V->getType()->isVectorTy()) continue; in processCallSite()
712 assert(!Instr->getType()->isVectorTy()); in narrowSDivOrSRem()
761 assert(!Ty->isVectorTy()); in expandUDivOrURem()
833 assert(!Instr->getType()->isVectorTy()); in narrowUDivOrURem()
870 if (Instr->getType()->isVectorTy()) in processUDivOrURem()
884 assert(!SDI->getType()->isVectorTy()); in processSRem()
943 assert(!SDI->getType()->isVectorTy()); in processSDiv()
[all …]
H A DScalarizer.cpp592 if (OpI->getType()->isVectorTy()) { in splitCall()
643 if (SI.getOperand(0)->getType()->isVectorTy()) { in visitSelectInst()
694 if (!Op0->getType()->isVectorTy()) in visitGetElementPtrInst()
705 if (!Op->getType()->isVectorTy()) in visitGetElementPtrInst()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp193 if (Src->isVectorTy()) { in getMemoryOpCost()
276 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost()
296 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
313 return Ty->isVectorTy() && !isHVXVectorType(Ty) && Ty->isFPOrFPVectorTy(); in getCastInstrCost()
338 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp361 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder()
414 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
462 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits()
511 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits()
558 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits()
606 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DVerifier.cpp2946 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
2961 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
2982 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2999 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
3017 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
3029 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst()
3030 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst()
3052 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst()
3053 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst()
3075 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst()
[all …]
H A DConstantFold.cpp386 !CE->getType()->isVectorTy()) { in ConstantFoldCastInstruction()
405 DestTy->isVectorTy() && in ConstantFoldCastInstruction()
495 if (V->getType()->isVectorTy()) in ConstantFoldCastInstruction()
587 if (C->getType()->isVectorTy()) in ConstantFoldSelectInstruction()
640 if (Op->getType()->isVectorTy()) { in ConstantFoldExtractElementInstruction()
823 (!C->getType()->isVectorTy() || IsScalableVector) && isa<UndefValue>(C); in ConstantFoldUnaryInstruction()
898 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction()
1880 CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy() && in ConstantFoldCompareInstruction()
1998 if (LastIdxTy->isVectorTy()) in foldGEPOfGEP()
2066 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()
[all …]
H A DConstants.cpp48 if (getType()->isVectorTy()) in isNegativeZeroValue()
68 if (getType()->isVectorTy()) in isZeroValue()
103 if (getType()->isVectorTy()) in isAllOnesValue()
120 if (getType()->isVectorTy()) in isOneValue()
147 if (getType()->isVectorTy()) in isNotOneValue()
165 if (getType()->isVectorTy()) in isMinSignedValue()
192 if (getType()->isVectorTy()) in isNotMinSignedValue()
213 if (getType()->isVectorTy()) in isFiniteNonZeroFP()
234 if (getType()->isVectorTy()) in isNormalFP()
255 if (getType()->isVectorTy()) in hasExactInverseFP()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp627 if (Src->isVectorTy() && ST->hasNEON() && in getCastInstrCost()
869 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost()
883 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
895 if (ValTy->isVectorTy() && in getVectorInstrCost()
924 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
953 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost()
993 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
1014 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost()
1055 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost()
1073 if (Ty->isVectorTy() && SE && in getAddressComputationCost()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp113 (isa<ConstantAggregateZero>(V) && !V->getType()->isVectorTy()); in isAggrToReplace()
185 !Op->getType()->isVectorTy()) { in preprocessCompositeConstants()
409 if ((isa<ConstantAggregateZero>(Op) && Op->getType()->isVectorTy()) || in processInstrAfterVisit()
447 if (ElTy->isAggregateType() || ElTy->isVectorTy() || in runOnFunction()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp246 if (DstTy->isVectorTy()) in getMinBitWidth()
260 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth()
360 assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type"); in getReducedType()
/openbsd-src/gnu/llvm/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp277 if (V->getType()->isVectorTy()) in getRandomVectorValue()
365 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
424 if (Ty->isVectorTy()) { in Act()
552 if (VTy->isVectorTy()) in Act()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp321 return Ty->isVectorTy() && (Ty->getScalarSizeInBits() == 1) && in isMMAType()
333 if (U->getType()->isVectorTy()) { in getInstructionCost()
564 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy()) in vectorCostAdjustmentFactor()
681 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
830 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp903 if (ST->hasVInstructions() && RetTy->isVectorTy()) { in getIntrinsicInstrCost()
1131 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() > ST->getELEN()) in getCmpSelInstrCost()
1135 if (Opcode == Instruction::Select && ValTy->isVectorTy()) { in getCmpSelInstrCost()
1137 if (CondTy->isVectorTy()) { in getCmpSelInstrCost()
1164 ValTy->isVectorTy()) { in getCmpSelInstrCost()
1204 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
1419 if (I.getType()->isVectorTy()) in getUnrollingPreferences()
1457 if (Ty->isVectorTy()) { in getRegUsageForType()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp129 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) in foldSelectICmpAnd()
286 if (!FIOpndTy->isVectorTy() || in foldSelectOpOp()
428 if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() || in foldSelectOpOp()
429 !OtherOpF->getType()->isVectorTy())) in foldSelectOpOp()
630 TrueVal->getType()->isVectorTy() != IC->getType()->isVectorTy()) in foldSelectICmpAndOr()
1060 if (!SelEltTy || SelTy->isVectorTy() != Cmp.getType()->isVectorTy()) in adjustMinMax()
1256 !Cmp.getType()->isVectorTy()) in foldSelectValueEquivalence()
3101 CondType->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3148 CondVal->getType()->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3439 if (!CondVal->getType()->isVectorTy() && !AC.assumptions().empty()) { in visitSelectInst()
H A DInstCombineVectorOps.cpp219 if (!X->getType()->isVectorTy()) in foldBitcastExtElt()
768 assert(V->getType()->isVectorTy() && "Invalid shuffle!"); in collectShuffleElements()
1632 VecSrc->getType()->isVectorTy() && !ScalarSrc->getType()->isVectorTy() && in visitInsertElementInst()
1786 if (ITy->isVectorTy() && in canEvaluateShuffled()
1897 assert(V->getType()->isVectorTy() && "can't reorder non-vector elements"); in evaluateInDifferentElementOrder()
1952 if (I->getOperand(i)->getType()->isVectorTy()) in evaluateInDifferentElementOrder()
2349 if (!SrcType->isVectorTy() || !SrcType->isIntOrIntVectorTy() || in foldTruncShuffle()
2752 X->getType()->isVectorTy() && X->getType() == Y->getType() && in visitShuffleVectorInst()
2771 X->getType()->isVectorTy() && VWidth == LHSWidth) { in visitShuffleVectorInst()
H A DInstCombineCasts.cpp814 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitTrunc()
2291 if (I->getOperand(0)->getType()->isVectorTy()) in collectInsertionElements()
2384 if (DestType->isVectorTy() && FixedVType && FixedVType->getNumElements() == 1) in canonicalizeBitCastExtElt()
2403 if (!DestTy->isVectorTy() || !BO->getType()->isVectorTy()) in foldBitCastBitwiseLogic()
2474 if (!DestTy->isVectorTy() || in foldBitCastSelect()
2483 if (DestTy->isVectorTy() != TVal->getType()->isVectorTy()) in foldBitCastSelect()
2799 if (!DestTy->isVectorTy()) { in visitBitCast()
2845 if (Shuf->hasOneUse() && DestTy->isVectorTy() && in visitBitCast()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
356 if (Cst->getType()->isVectorTy()) in shouldConvertImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp659 if (!Subtarget->hasSIMD128() && ArgTy->isVectorTy()) in fastLowerArguments()
776 if (!Subtarget->hasSIMD128() && Call->getType()->isVectorTy()) in selectCall()
1189 if (!Subtarget->hasSIMD128() && Load->getType()->isVectorTy()) in selectLoad()
1250 Store->getValueOperand()->getType()->isVectorTy()) in selectStore()
1347 if (!Subtarget->hasSIMD128() && RV->getType()->isVectorTy()) in selectRet()

12345