/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 48 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/ |
D | AArch64TargetTransformInfo.cpp | 296 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()
|
D | AArch64PromoteConstant.cpp | 222 if (CstTy->isVectorTy()) in isConstantUsingVectorTy() 326 if (Cst->getType()->isVectorTy()) in shouldConvert()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 384 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/ |
D | llvm-stress.cpp | 202 } 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/ |
D | ARMTargetTransformInfo.cpp | 62 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/ |
D | Verifier.cpp | 2034 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 …]
|
D | Instructions.cpp | 1648 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/ |
D | Execution.cpp | 365 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/ |
D | AMDILPeepholeOptimizer.cpp | 471 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/ |
D | Type.h | 219 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function 245 isPointerTy() || isVectorTy(); in isSingleValueType()
|
D | PatternMatch.h | 168 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/ |
D | PPCTargetTransformInfo.cpp | 295 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/ |
D | InstCombineCasts.cpp | 280 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()
|
D | InstCombineVectorOps.cpp | 254 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/ |
D | X86ShuffleDecode.cpp | 317 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/ |
D | CorrelatedValuePropagation.cpp | 82 if (S->getType()->isVectorTy()) return false; in processSelect() 123 if (!Condition->getType()->isVectorTy()) { in processPHI()
|
D | ScalarReplAggregates.cpp | 880 } 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/ |
D | CodeMetrics.cpp | 149 if (isa<ExtractElementInst>(II) || II->getType()->isVectorTy()) in analyzeBasicBlock()
|
D | VectorUtils.cpp | 368 assert(V->getType()->isVectorTy() && "Not looking at a vector?"); in findScalarElement() 469 !I.getType()->isVectorTy() && in computeMinimumValueSizes()
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 91 EXPECT_TRUE(V->getType()->isVectorTy()); in TEST()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SITypeRewriter.cpp | 109 } else if (Arg->getType()->isVectorTy() && in visitCallInst()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1540 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/ |
D | BBVectorize.cpp | 911 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/ |
D | Local.h | 218 if (OpC->getType()->isVectorTy())
|