Home
last modified time | relevance | path

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

123

/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDBasicTTIImpl.h48 assert(Ty->isVectorTy() && "Can only scalarize vectors"); in getScalarizationOverhead()
65 assert(Ty->isVectorTy() && "Can only shuffle vectors"); in getAltShuffleOverhead()
320 if (Ty->isVectorTy()) {
372 if (!Src->isVectorTy() && !Dst->isVectorTy()) { in getCastInstrCost()
388 if (Dst->isVectorTy() && Src->isVectorTy()) { in getCastInstrCost()
427 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true) in getCastInstrCost()
429 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false) in getCastInstrCost()
448 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
453 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
461 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
[all …]
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp264 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
341 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost()
354 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
385 if (Opcode == Instruction::Store && Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
397 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
433 if (!I->isVectorTy()) in getCostOfKeepingLiveOverCall()
HDAArch64PromoteConstant.cpp222 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
326 if (Cst->getType()->isVectorTy()) in shouldConvert()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDIntegerDivision.cpp384 if (RemTy->isVectorTy()) in expandRemainder()
444 if (DivTy->isVectorTy()) in expandDivision()
495 if (RemTy->isVectorTy()) in expandRemainderUpTo32Bits()
545 if (RemTy->isVectorTy()) in expandRemainderUpTo64Bits()
596 if (DivTy->isVectorTy()) in expandDivisionUpTo32Bits()
646 if (DivTy->isVectorTy()) in expandDivisionUpTo64Bits()
/NextBSD/contrib/llvm/lib/IR/
HDVerifier.cpp1951 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
1966 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
1987 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2004 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
2022 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
2034 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst()
2035 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst()
2057 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst()
2058 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst()
2080 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst()
[all …]
HDInstructions.cpp1334 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy()) in isValidOperands()
1375 if (!Vec->getType()->isVectorTy()) in isValidOperands()
1429 if (!V1->getType()->isVectorTy() || V1->getType() != V2->getType()) in isValidOperands()
1647 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init()
1661 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init()
1677 (getType()->isVectorTy() && in init()
1686 (getType()->isVectorTy() && in init()
2118 if (!SrcTy->isVectorTy() && DstTy->isIntegerTy()) in isEliminableCastPair()
2353 assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast"); in CreatePointerCast()
2354 assert((!Ty->isVectorTy() || in CreatePointerCast()
[all …]
HDConstantFold.cpp568 DestTy->isVectorTy() && in ConstantFoldCastInstruction()
700 if (V->getType()->isVectorTy()) in ConstantFoldCastInstruction()
1790 } else if (C1->getType()->isVectorTy()) { in ConstantFoldCompareInstruction()
1945 CE2->getType()->isVectorTy() == CE2Op0->getType()->isVectorTy()) { in ConstantFoldCompareInstruction()
HDConstants.cpp1378 assert((Ty->isStructTy() || Ty->isArrayTy() || Ty->isVectorTy()) && in get()
1419 assert(this->getType()->isVectorTy() && "Only valid for vectors!"); in getSplatValue()
2058 assert(Idxs[i]->getType()->isVectorTy() == ReqTy->isVectorTy() && in getGetElementPtr()
2060 assert((!Idxs[i]->getType()->isVectorTy() || in getGetElementPtr()
2125 assert(Val->getType()->isVectorTy() && in getExtractElement()
2147 assert(Val->getType()->isVectorTy() && in getInsertElement()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCTargetTransformInfo.cpp278 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
333 Src->isVectorTy() && in getMemoryOpCost()
347 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
/NextBSD/contrib/llvm/tools/llvm-stress/
HDllvm-stress.cpp202 } else if (Tp->isVectorTy()) { in getRandomValue()
233 if (V->getType()->isVectorTy()) in getRandomVectorValue()
319 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
375 if (Ty->isVectorTy()) { in Act()
492 if (VTy->isVectorTy()) { in Act()
581 if (Val0->getType()->isVectorTy() && (Ran->Rand() % 1)) { in Act()
/NextBSD/contrib/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp365 if (TY->isVectorTy()) { \
393 if (Ty->isVectorTy()) in executeFCMP_ONE()
469 if (TY->isVectorTy()) { \
536 if(Ty->isVectorTy()) { in executeFCMP_ORD()
567 if(Ty->isVectorTy()) { in executeFCMP_UNO()
598 if(Ty->isVectorTy()) { in executeFCMP_BOOL()
689 if (Ty->isVectorTy()) { in visitBinaryOperator()
793 if(Ty->isVectorTy()) { in executeSelectInst()
1144 if (Ty->isVectorTy()) { in visitShl()
1171 if (Ty->isVectorTy()) { in visitLShr()
[all …]
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMTargetTransformInfo.cpp62 if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND || in getCastInstrCost()
254 ValTy->isVectorTy() && in getVectorInstrCost()
273 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
309 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost()
473 if (Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
/NextBSD/contrib/llvm/include/llvm/IR/
HDType.h226 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function
252 isPointerTy() || isVectorTy(); in isSingleValueType()
HDPatternMatch.h168 if (V->getType()->isVectorTy()) in match()
208 if (V->getType()->isVectorTy()) in match()
227 if (V->getType()->isVectorTy()) in match()
333 if (V->getType()->isVectorTy()) in match()
370 if (!CI && V->getType()->isVectorTy()) in match()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDCorrelatedValuePropagation.cpp74 if (S->getType()->isVectorTy()) return false; in processSelect()
115 if (!Condition->getType()->isVectorTy()) { in processPHI()
HDScalarReplAggregates.cpp879 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
972 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2311 if (EltTy->isVectorTy()) { in RewriteMemIntrinUserOfAlloca()
2401 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2444 ArrayEltTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2506 !FieldTy->isVectorTy()) in RewriteLoadUserOfWholeAlloca()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp281 if (opc == Instruction::SExt && isa<CmpInst>(V) && Ty->isVectorTy()) in ShouldOptimizeCast()
459 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitTrunc()
789 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitZExt()
1083 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitSExt()
1429 if (CI.getType()->isVectorTy()) // Handle vectors of pointers. in visitIntToPtr()
1479 if (Ty->isVectorTy()) // Handle vectors of pointers. in visitPtrToInt()
1803 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) { in visitBitCast()
1835 if (!DestTy->isVectorTy()) { in visitBitCast()
1854 if (SVI->hasOneUse() && DestTy->isVectorTy() && in visitBitCast()
HDInstCombineVectorOps.cpp253 if (Cond->getType()->isVectorTy()) { in visitExtractElementInst()
369 assert(V->getType()->isVectorTy() && "Invalid shuffle!"); in CollectShuffleElements()
700 assert(V->getType()->isVectorTy() && "can't reorder non-vector elements"); in EvaluateInDifferentElementOrder()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDMemorySanitizer.cpp1509 assert(!(Ty->isVectorTy() && Ty->getScalarType()->isPointerTy()) && in VectorOrPrimitiveTypeSizeInBits()
1511 return Ty->isVectorTy() ? in VectorOrPrimitiveTypeSizeInBits()
1523 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
1568 if (Ty->isVectorTy()) { in handleMulByConstant()
1989 I.getArgOperand(1)->getType()->isVectorTy() && in handleUnknownIntrinsic()
1998 I.getType()->isVectorTy() && in handleUnknownIntrinsic()
2065 if (ConvertOp->getType()->isVectorTy()) { in handleVectorConvertIntrinsic()
2083 assert(CopyOp->getType()->isVectorTy()); in handleVectorConvertIntrinsic()
2102 if (S->getType()->isVectorTy()) in Lower64ShadowExtend()
2111 assert(T->isVectorTy()); in VariableShadowExtend()
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDCodeMetrics.cpp155 if (isa<ExtractElementInst>(II) || II->getType()->isVectorTy()) in analyzeBasicBlock()
/NextBSD/contrib/llvm/lib/Target/X86/Utils/
HDX86ShuffleDecode.cpp286 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask()
362 assert(MaskTy->isVectorTy() && "Expected a vector constant mask!"); in DecodeVPERMILPMask()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDBBVectorize.cpp903 if (!(VectorType::isValidElementType(T1) || T1->isVectorTy()) || in isInstVectorizable()
904 !(VectorType::isValidElementType(T2) || T2->isVectorTy())) in isInstVectorizable()
1151 if (!Tys[i]->isVectorTy()) in areInstsCompatible()
1991 if (Ty1->isVectorTy()) { in findBestDAGFor()
2022 if (Ty2->isVectorTy()) { in findBestDAGFor()
2027 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2108 } else if (!Ty1->isVectorTy() && !Ty2->isVectorTy()) { in findBestDAGFor()
2113 } else if (!Ty1->isVectorTy()) { in findBestDAGFor()
2120 } else if (!Ty2->isVectorTy()) { in findBestDAGFor()
2724 if (ArgType->isVectorTy()) { in getReplacementInput()
[all …]
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDSITypeRewriter.cpp115 } else if (Arg->getType()->isVectorTy() && in visitCallInst()
/NextBSD/contrib/llvm/include/llvm/Transforms/Utils/
HDLocal.h218 if (OpC->getType()->isVectorTy())
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp742 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
766 assert (Ty->isVectorTy() && "Can only scalarize vectors"); in getScalarizationOverhead()
884 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost()

123