Home
last modified time | relevance | path

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

123456

/freebsd-14.2/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()
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.h265 inline bool isVectorTy() const { in isVectorTy() function
289 isPointerTy() || isVectorTy() || isX86_AMXTy() || isTargetExtTy(); in isSingleValueType()
311 !isVectorTy() && getTypeID() != TargetExtTyID)
349 if (isVectorTy()) in getScalarType()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp60 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy()) in emitGEPOffset()
70 if (IntIdxTy->isVectorTy()) in emitGEPOffset()
H A DCodeMetrics.cpp163 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp296 if (Cmp->getType()->isVectorTy() || in processICmp()
733 assert(!Ty->isVectorTy()); in expandUDivOrURem()
850 if (Instr->getType()->isVectorTy()) in processUDivOrURem()
867 assert(!SDI->getType()->isVectorTy()); in processSRem()
926 assert(!SDI->getType()->isVectorTy()); in processSDiv()
983 if (Instr->getType()->isVectorTy()) in processSDivOrSRem()
1004 if (SDI->getType()->isVectorTy()) in processAShr()
1036 if (SDI->getType()->isVectorTy()) in processSExt()
1056 if (ZExt->getType()->isVectorTy()) in processZExt()
1076 if (BinOp->getType()->isVectorTy()) in processBinOp()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp459 (C->getType()->isVectorTy() in getArithmeticInstrCost()
470 if (!Ty->isVectorTy()) { in getArithmeticInstrCost()
658 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost()
700 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost()
735 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType()
780 if (!Src->isVectorTy()) { in getCastInstrCost()
781 assert (!Dst->isVectorTy()); in getCastInstrCost()
968 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost()
1168 if (!Src->isVectorTy() && Opcode == Instruction::Load && I != nullptr) { in getMemoryOpCost()
1206 (Src->isVectorTy() ? getNumVectorRegs(Src) : getNumberOfParts(Src)); in getMemoryOpCost()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp187 if (OrigTy->isVectorTy() != (VFParam.ParamKind == VFParamKind::Vector)) { in replaceWithCallToVeclib()
215 return (Ty->isVectorTy() || Ty->isVoidTy()) && CI->getCalledFunction() && in isSupportedInstruction()
218 if (I->getOpcode() == Instruction::FRem && Ty->isVectorTy()) in isSupportedInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3090 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
3105 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
3126 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
3143 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
3161 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
5747 Check(ValTy->isVectorTy() == ResultTy->isVectorTy(), in visitIntrinsicCall()
5762 Check(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitIntrinsicCall()
6087 Ty0->isVectorTy() == Ty1->isVectorTy(), in visitIntrinsicCall()
6280 Check(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitConstrainedFPIntrinsic()
6289 Check(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitConstrainedFPIntrinsic()
[all …]
H A DConstantFold.cpp223 DestTy->isVectorTy() && in ConstantFoldCastInstruction()
307 if (V->getType()->isVectorTy()) in ConstantFoldCastInstruction()
401 if (C->getType()->isVectorTy()) in ConstantFoldSelectInstruction()
443 if (Op->getType()->isVectorTy()) { in ConstantFoldExtractElementInstruction()
626 (!C->getType()->isVectorTy() || IsScalableVector) && isa<UndefValue>(C); in ConstantFoldUnaryInstruction()
702 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction()
1501 if (LastIdxTy->isVectorTy()) in foldGEPOfGEP()
1569 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()
1662 bool IsCurrIdxVector = CurrIdx->getType()->isVectorTy(); in ConstantFoldGetElementPtr()
1663 bool IsPrevIdxVector = PrevIdx->getType()->isVectorTy(); in ConstantFoldGetElementPtr()
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 …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp629 if (Src->isVectorTy() && ST->hasNEON() && in getCastInstrCost()
897 if (ValTy->isVectorTy() && in getVectorInstrCost()
926 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost()
955 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost()
1016 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost()
1057 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost()
1075 if (Ty->isVectorTy() && SE && in getAddressComputationCost()
1407 if (ST->isThumb1Only() || Ty->isVectorTy()) in getArithmeticInstrCost()
1434 if (ST->hasMVEIntegerOps() && Ty->isVectorTy()) in getArithmeticInstrCost()
1474 if (ST->hasNEON() && Src->isVectorTy() && in getMemoryOpCost()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp826 if (ST->hasVInstructions() && RetTy->isVectorTy()) { in getIntrinsicInstrCost()
1076 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() > ST->getELen()) in getCmpSelInstrCost()
1080 if (Opcode == Instruction::Select && ValTy->isVectorTy()) { in getCmpSelInstrCost()
1082 if (CondTy->isVectorTy()) { in getCmpSelInstrCost()
1109 ValTy->isVectorTy()) { in getCmpSelInstrCost()
1158 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
1437 if (I.getType()->isVectorTy()) in getUnrollingPreferences()
1475 if (Ty->isVectorTy()) { in getRegUsageForType()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp277 if (V->getType()->isVectorTy()) in getRandomVectorValue()
361 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
420 if (Ty->isVectorTy()) { in Act()
548 if (VTy->isVectorTy()) in Act()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp319 return Ty->isVectorTy() && (Ty->getScalarSizeInBits() == 1) && in isMMAType()
331 if (U->getType()->isVectorTy()) { in getInstructionCost()
562 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy()) in vectorCostAdjustmentFactor()
679 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
835 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp122 (isa<ConstantAggregateZero>(V) && !V->getType()->isVectorTy()); in isAggrToReplace()
224 !Op->getType()->isVectorTy()) { in preprocessCompositeConstants()
591 if ((isa<ConstantAggregateZero>(Op) && Op->getType()->isVectorTy()) || in processInstrAfterVisit()
628 if (ElTy->isAggregateType() || ElTy->isVectorTy()) in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
356 if (Cst->getType()->isVectorTy()) in shouldConvertImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp682 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitTrunc()
2180 if (I->getOperand(0)->getType()->isVectorTy()) in collectInsertionElements()
2273 if (DestType->isVectorTy() && FixedVType && FixedVType->getNumElements() == 1) in canonicalizeBitCastExtElt()
2292 if (!DestTy->isVectorTy() || !BO->getType()->isVectorTy()) in foldBitCastBitwiseLogic()
2363 if (!DestTy->isVectorTy() || in foldBitCastSelect()
2372 if (DestTy->isVectorTy() != TVal->getType()->isVectorTy()) in foldBitCastSelect()
2624 if (!DestTy->isVectorTy()) { in visitBitCast()
2670 if (Shuf->hasOneUse() && DestTy->isVectorTy() && in visitBitCast()
H A DInstCombineSelect.cpp130 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) in foldSelectICmpAnd()
287 if (!FIOpndTy->isVectorTy() || in foldSelectOpOp()
455 if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() || in foldSelectOpOp()
456 !OtherOpF->getType()->isVectorTy())) in foldSelectOpOp()
717 TrueVal->getType()->isVectorTy() != IC->getType()->isVectorTy()) in foldSelectICmpAndBinOp()
1301 !Cmp.getType()->isVectorTy()) in foldSelectValueEquivalence()
3384 CondType->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3409 CondVal->getType()->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3729 if (!CondVal->getType()->isVectorTy() && !AC.assumptions().empty()) { in visitSelectInst()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp213 assert(type->isVectorTy() || type->isFloatingPointTy()); in occupiesMoreThan()

123456