| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | MatrixBuilder.h | 39 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 D | Type.h | 270 inline bool isVectorTy() const { in isVectorTy() function 295 isVectorTy() || isX86_AMXTy() || isTargetExtTy(); in isSingleValueType() 316 !isVectorTy() && getTypeID() != TargetExtTyID) 350 if (isVectorTy()) in getScalarType()
|
| H A D | VectorTypeUtils.h | 76 return Ty->isVectorTy(); in isVectorizedTy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsCCState.cpp | 62 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat() 135 OriginalArgWasFloatVector.push_back(ArgTy->isVectorTy()); in PreAnalyzeCallOperand() 150 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands() 173 OriginalArgWasFloatVector.push_back(ArgTy->isVectorTy()); in PreAnalyzeFormalArgument() 204 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Local.cpp | 60 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy()) in emitGEPOffset() 70 if (IntIdxTy->isVectorTy()) in emitGEPOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | VectorTypeUtils.cpp | 48 if (ElemTys.empty() || !ElemTys.front()->isVectorTy()) in isVectorizedStructTy() 52 return Ty->isVectorTy() && cast<VectorType>(Ty)->getElementCount() == VF; in isVectorizedStructTy()
|
| H A D | Verifier.cpp | 2208 if (Ty->isVectorTy()) { in verifyFunctionAttrs() 3360 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst() 3375 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst() 3396 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst() 3413 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst() 3431 Check(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst() 3443 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst() 3444 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst() 3466 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst() 3467 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst() [all …]
|
| H A D | ConstantFold.cpp | 163 if (DestTy->isVectorTy() && V->getType()->isVectorTy() && in ConstantFoldCastInstruction() 328 if (C->getType()->isVectorTy()) in ConstantFoldSelectInstruction() 370 if (Op->getType()->isVectorTy()) { in ConstantFoldExtractElementInstruction() 553 (!C->getType()->isVectorTy() || IsScalableVector) && isa<UndefValue>(C); in ConstantFoldUnaryInstruction() 630 (!C1->getType()->isVectorTy() || IsScalableVector) && in ConstantFoldBinaryInstruction() 1340 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()
|
| H A D | Constants.cpp | 62 if (getType()->isVectorTy()) in isNegativeZeroValue() 82 if (getType()->isVectorTy()) in isZeroValue() 117 if (getType()->isVectorTy()) in isAllOnesValue() 134 if (getType()->isVectorTy()) in isOneValue() 161 if (getType()->isVectorTy()) in isNotOneValue() 179 if (getType()->isVectorTy()) in isMinSignedValue() 206 if (getType()->isVectorTy()) in isNotMinSignedValue() 227 if (getType()->isVectorTy()) in isFiniteNonZeroFP() 248 if (getType()->isVectorTy()) in isNormalFP() 269 if (getType()->isVectorTy()) in hasExactInverseFP() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 579 (C->getType()->isVectorTy() in getArithmeticInstrCost() 590 if (!Ty->isVectorTy()) { in getArithmeticInstrCost() 783 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost() 825 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost() 860 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType() 905 if (!Src->isVectorTy()) { in getCastInstrCost() 906 if (Dst->isVectorTy()) in getCastInstrCost() 1097 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost() 1315 if (!Src->isVectorTy() && Opcode == Instruction::Load && I != nullptr) { in getMemoryOpCost() 1353 (Src->isVectorTy() ? getNumVectorRegs(Src) : getNumberOfParts(Src)); in getMemoryOpCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 180 if (Src->isVectorTy()) { in getMemoryOpCost() 261 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 281 if (Ty->isVectorTy()) { in getArithmeticInstrCost() 298 return Ty->isVectorTy() && !isHVXVectorType(Ty) && Ty->isFPOrFPVectorTy(); in getCastInstrCost() 324 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | HLSLBufferLayoutBuilder.cpp | 41 assert(Ty->isVectorTy() || Ty->isIntegerTy() || Ty->isFloatingPointTy()); in getScalarOrVectorSizeInBytes() 42 if (Ty->isVectorTy()) { in getScalarOrVectorSizeInBytes() 236 if (ElemLayoutTy->isVectorTy()) { in layoutField()
|
| H A D | CGHLSLBuiltins.cpp | 127 if (!Op0->getType()->isVectorTy()) { in handleHlslSplitdouble() 438 if (!T0->isVectorTy() && !T1->isVectorTy()) { in EmitHLSLBuiltinExpr() 544 if (Xty->isVectorTy()) { in EmitHLSLBuiltinExpr() 587 Constant *One = Ty->isVectorTy() in EmitHLSLBuiltinExpr() 625 if (!OpTrue->getType()->isVectorTy()) in EmitHLSLBuiltinExpr() 628 if (!OpFalse->getType()->isVectorTy()) in EmitHLSLBuiltinExpr() 741 if (Xty->isVectorTy()) { in EmitHLSLBuiltinExpr()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/ |
| H A D | VecUtils.h | 48 return Ty->isVectorTy() ? cast<FixedVectorType>(Ty)->getNumElements() : 1; 52 return Ty->isVectorTy() ? cast<FixedVectorType>(Ty)->getElementType() : Ty; 115 if (ElemTy->isVectorTy()) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 361 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder() 413 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision() 461 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits() 510 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits() 557 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits() 605 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILIntrinsicExpansion.cpp | 151 Constant *Zero = Ty->isVectorTy() in expandAbs() 203 assert(ATy->isVectorTy() && BTy->isVectorTy()); in expandFloatDotIntrinsic() 255 assert(ATy->isVectorTy() && BTy->isVectorTy()); in expandIntegerDotIntrinsic() 286 Ty->isVectorTy() ? ConstantVector::getSplat( in expandExpIntrinsic() 367 if (!Ty->isVectorTy()) { in expandAnyOrAllIntrinsic() 409 Ty->isVectorTy() ? ConstantVector::getSplat( in expandLogIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 653 if (Src->isVectorTy() && ST->hasNEON() && in getCastInstrCost() 895 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost() 909 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 921 if (ValTy->isVectorTy() && in getVectorInstrCost() 949 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost() 978 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost() 1018 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost() 1039 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy() && in getCmpSelInstrCost() 1080 if (ST->hasMVEIntegerOps() && ValTy->isVectorTy()) in getCmpSelInstrCost() 1098 if (Ty->isVectorTy() && SE && in getAddressComputationCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ReplaceWithVeclib.cpp | 184 if (OrigTy->isVectorTy() != (VFParam.ParamKind == VFParamKind::Vector)) { in replaceWithCallToVeclib() 213 if (!II->getType()->isVectorTy() && !II->getType()->isVoidTy()) in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 69 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() 708 if (Ty->isVectorTy()) { in visitBinaryOperator() 812 if(Ty->isVectorTy()) { in executeSelectInst() 1157 if (Ty->isVectorTy()) { in visitShl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 364 BaseInst && BaseInst->getType()->isVectorTy()) { in determineBaseAndStride() 366 auto IsScalar = [](Value *Idx) { return !Idx->getType()->isVectorTy(); }; in determineBaseAndStride() 382 if (ScalarBase->getType()->isVectorTy()) { in determineBaseAndStride() 394 if (!Ops[i]->getType()->isVectorTy()) in determineBaseAndStride()
|
| H A D | RISCVTargetTransformInfo.cpp | 1168 if (!Ty->isVectorTy()) in getCostOfKeepingLiveOverCall() 1494 if (ST->hasVInstructions() && RetTy->isVectorTy()) { in getIntrinsicInstrCost() 2019 if (Src->isVectorTy() && LT.second.isVector() && in getMemoryOpCost() 2049 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() > ST->getELen()) in getCmpSelInstrCost() 2070 if (Opcode == Instruction::Select && ValTy->isVectorTy()) { in getCmpSelInstrCost() 2071 if (CondTy->isVectorTy()) { in getCmpSelInstrCost() 2113 if ((Opcode == Instruction::ICmp) && ValTy->isVectorTy() && in getCmpSelInstrCost() 2122 if ((Opcode == Instruction::FCmp) && ValTy->isVectorTy() && in getCmpSelInstrCost() 2210 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 2580 if (I.getType()->isVectorTy()) in getUnrollingPreferences() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionPatternMatch.h | 29 assert((isa<SCEVCouldNotCompute>(S) || !S->getType()->isVectorTy()) && in match() 121 assert((isa<SCEVCouldNotCompute>(S) || !S->getType()->isVectorTy()) && in match()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 245 if (DstTy->isVectorTy()) in getMinBitWidth() 259 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth() 359 assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type"); in getReducedType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 318 return Ty->isVectorTy() && (Ty->getScalarSizeInBits() == 1) && in isMMAType() 330 if (U->getType()->isVectorTy()) { in getInstructionCost() 563 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy()) in vectorCostAdjustmentFactor() 680 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 850 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 275 if (V->getType()->isVectorTy()) in getRandomVectorValue() 349 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 409 if (Ty->isVectorTy()) { in Act() 535 if (VTy->isVectorTy()) in Act()
|