Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h48 assert(Ty->isVectorTy() && "Can only scalarize vectors"); in getScalarizationOverhead()
65 assert(Ty->isVectorTy() && "Can only shuffle vectors"); in getAltShuffleOverhead()
316 if (Ty->isVectorTy()) {
368 if (!Src->isVectorTy() && !Dst->isVectorTy()) { in getCastInstrCost()
384 if (Dst->isVectorTy() && Src->isVectorTy()) { in getCastInstrCost()
423 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true) in getCastInstrCost()
425 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false) in getCastInstrCost()
444 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
449 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
457 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp296 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
372 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost()
386 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
415 if (Opcode == Instruction::Store && Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
427 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
465 if (!I->isVectorTy()) in getCostOfKeepingLiveOverCall()
DAArch64PromoteConstant.cpp222 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
326 if (Cst->getType()->isVectorTy()) in shouldConvert()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.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()
/external/llvm/tools/llvm-stress/
Dllvm-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()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp62 if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND || in getCastInstrCost()
249 ValTy->isVectorTy() && in getVectorInstrCost()
262 if (ValTy->isVectorTy() && in getVectorInstrCost()
274 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
305 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost()
463 if (Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
/external/llvm/lib/IR/
DVerifier.cpp2034 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
2049 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
2070 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2087 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
2105 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
2117 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst()
2118 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst()
2140 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst()
2141 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst()
2163 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst()
[all …]
DInstructions.cpp1648 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy()) in isValidOperands()
1689 if (!Vec->getType()->isVectorTy()) in isValidOperands()
1743 if (!V1->getType()->isVectorTy() || V1->getType() != V2->getType()) in isValidOperands()
1961 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init()
1975 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init()
1991 (getType()->isVectorTy() && in init()
2000 (getType()->isVectorTy() && in init()
2434 if (!SrcTy->isVectorTy() && DstTy->isIntegerTy()) in isEliminableCastPair()
2669 assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast"); in CreatePointerCast()
2670 assert((!Ty->isVectorTy() || in CreatePointerCast()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.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 …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp471 bool isVector = aType->isVectorTy(); in optimizeBitInsert()
711 bool isVector = aType->isVectorTy(); in optimizeBitExtract()
853 if (type->isVectorTy()) { in expandBFI()
894 if (type->isVectorTy()) { in expandBFM()
1007 bool isVector = aType->isVectorTy(); in expandSigned24BitOps()
1040 bool isVector = aType->isVectorTy(); in expandSigned24BitOps()
/external/llvm/include/llvm/IR/
DType.h219 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function
245 isPointerTy() || isVectorTy(); in isSingleValueType()
DPatternMatch.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()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp295 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost()
383 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp280 if (opc == Instruction::SExt && isa<CmpInst>(V) && Ty->isVectorTy()) in ShouldOptimizeCast()
502 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitTrunc()
855 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitZExt()
1147 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitSExt()
1498 if (CI.getType()->isVectorTy()) // Handle vectors of pointers. in visitIntToPtr()
1548 if (Ty->isVectorTy()) // Handle vectors of pointers. in visitPtrToInt()
1833 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) { in visitBitCast()
1865 if (!DestTy->isVectorTy()) { in visitBitCast()
1884 if (SVI->hasOneUse() && DestTy->isVectorTy() && in visitBitCast()
DInstCombineVectorOps.cpp254 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()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp317 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask()
393 assert(MaskTy->isVectorTy() && "Expected a vector constant mask!"); in DecodeVPERMILPMask()
556 if (MaskTy->isVectorTy()) { in DecodeVPERMVMask()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp82 if (S->getType()->isVectorTy()) return false; in processSelect()
123 if (!Condition->getType()->isVectorTy()) { in processPHI()
DScalarReplAggregates.cpp880 } else if (ToType->isFloatingPointTy() || ToType->isVectorTy()) { in ConvertScalar_ExtractValue()
973 if (SV->getType()->isFloatingPointTy() || SV->getType()->isVectorTy()) in ConvertScalar_InsertValue()
2312 if (EltTy->isVectorTy()) { in RewriteMemIntrinUserOfAlloca()
2402 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2445 ArrayEltTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2507 !FieldTy->isVectorTy()) in RewriteLoadUserOfWholeAlloca()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp149 if (isa<ExtractElementInst>(II) || II->getType()->isVectorTy()) in analyzeBasicBlock()
DVectorUtils.cpp368 assert(V->getType()->isVectorTy() && "Not looking at a vector?"); in findScalarElement()
469 !I.getType()->isVectorTy() && in computeMinimumValueSizes()
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp91 EXPECT_TRUE(V->getType()->isVectorTy()); in TEST()
/external/llvm/lib/Target/AMDGPU/
DSITypeRewriter.cpp109 } else if (Arg->getType()->isVectorTy() && in visitCallInst()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1540 assert(!(Ty->isVectorTy() && Ty->getScalarType()->isPointerTy()) && in VectorOrPrimitiveTypeSizeInBits()
1542 return Ty->isVectorTy() ? in VectorOrPrimitiveTypeSizeInBits()
1554 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
1599 if (Ty->isVectorTy()) { in handleMulByConstant()
2006 I.getArgOperand(1)->getType()->isVectorTy() && in handleUnknownIntrinsic()
2015 I.getType()->isVectorTy() && in handleUnknownIntrinsic()
2082 if (ConvertOp->getType()->isVectorTy()) { in handleVectorConvertIntrinsic()
2100 assert(CopyOp->getType()->isVectorTy()); in handleVectorConvertIntrinsic()
2119 if (S->getType()->isVectorTy()) in Lower64ShadowExtend()
2128 assert(T->isVectorTy()); in VariableShadowExtend()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp911 if (!(VectorType::isValidElementType(T1) || T1->isVectorTy()) || in isInstVectorizable()
912 !(VectorType::isValidElementType(T2) || T2->isVectorTy())) in isInstVectorizable()
1159 if (!Tys[i]->isVectorTy()) in areInstsCompatible()
2005 if (Ty1->isVectorTy()) { in findBestDAGFor()
2036 if (Ty2->isVectorTy()) { in findBestDAGFor()
2041 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2122 } else if (!Ty1->isVectorTy() && !Ty2->isVectorTy()) { in findBestDAGFor()
2127 } else if (!Ty1->isVectorTy()) { in findBestDAGFor()
2134 } else if (!Ty2->isVectorTy()) { in findBestDAGFor()
2738 if (ArgType->isVectorTy()) { in getReplacementInput()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h218 if (OpC->getType()->isVectorTy())

1234