/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() 325 if (Ty->isVectorTy()) { 378 if (!Src->isVectorTy() && !Dst->isVectorTy()) { in getCastInstrCost() 394 if (Dst->isVectorTy() && Src->isVectorTy()) { in getCastInstrCost() 433 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true) in getCastInstrCost() 435 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false) in getCastInstrCost() 454 if (CondTy->isVectorTy()) in getCmpSelInstrCost() 460 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost() 468 if (ValTy->isVectorTy()) { in getCmpSelInstrCost() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 264 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() 413 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/lib/IR/ |
D | Verifier.cpp | 1856 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst() 1871 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst() 1892 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst() 1909 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst() 1927 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst() 1939 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst() 1940 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst() 1962 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst() 1963 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst() 1985 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst() [all …]
|
D | Instructions.cpp | 1379 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy()) in isValidOperands() 1420 if (!Vec->getType()->isVectorTy()) in isValidOperands() 1474 if (!V1->getType()->isVectorTy() || V1->getType() != V2->getType()) in isValidOperands() 1692 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1706 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1722 (getType()->isVectorTy() && in init() 1731 (getType()->isVectorTy() && in init() 2163 if (!SrcTy->isVectorTy() && DstTy->isIntegerTy()) in isEliminableCastPair() 2395 assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast"); in CreatePointerCast() 2396 assert((!Ty->isVectorTy() || in CreatePointerCast() [all …]
|
D | IRBuilder.cpp | 202 assert(DataTy->isVectorTy() && "Ptr should point to a vector"); in CreateMaskedLoad()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 274 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 329 Src->isVectorTy() && in getMemoryOpCost() 343 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 181 } else if (Tp->isVectorTy()) { in getRandomValue() 212 if (V->getType()->isVectorTy()) in getRandomVectorValue() 311 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 367 if (Ty->isVectorTy()) { in Act() 484 if (VTy->isVectorTy()) { in Act() 573 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() 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()
|
/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 | 226 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function 252 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/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 281 if (opc == Instruction::SExt && isa<CmpInst>(V) && Ty->isVectorTy()) in ShouldOptimizeCast() 450 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitTrunc() 780 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitZExt() 1074 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitSExt() 1420 if (CI.getType()->isVectorTy()) // Handle vectors of pointers. in visitIntToPtr() 1470 if (Ty->isVectorTy()) // Handle vectors of pointers. in visitPtrToInt() 1796 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) { in visitBitCast() 1828 if (!DestTy->isVectorTy()) { in visitBitCast() 1847 if (SVI->hasOneUse() && DestTy->isVectorTy() && in visitBitCast()
|
D | InstCombineVectorOps.cpp | 67 assert(V->getType()->isVectorTy() && "Not looking at a vector?"); in FindScalarElement() 302 if (Cond->getType()->isVectorTy()) { in visitExtractElementInst() 418 assert(V->getType()->isVectorTy() && "Invalid shuffle!"); in CollectShuffleElements() 749 assert(V->getType()->isVectorTy() && "can't reorder non-vector elements"); in EvaluateInDifferentElementOrder()
|
/external/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 155 if (isa<ExtractElementInst>(II) || II->getType()->isVectorTy()) in analyzeBasicBlock()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1485 assert(!(Ty->isVectorTy() && Ty->getScalarType()->isPointerTy()) && in VectorOrPrimitiveTypeSizeInBits() 1487 return Ty->isVectorTy() ? in VectorOrPrimitiveTypeSizeInBits() 1499 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast() 1544 if (Ty->isVectorTy()) { in handleMulByConstant() 1965 I.getArgOperand(1)->getType()->isVectorTy() && in handleUnknownIntrinsic() 1974 I.getType()->isVectorTy() && in handleUnknownIntrinsic() 2039 if (ConvertOp->getType()->isVectorTy()) { in handleVectorConvertIntrinsic() 2057 assert(CopyOp->getType()->isVectorTy()); in handleVectorConvertIntrinsic() 2076 if (S->getType()->isVectorTy()) in Lower64ShadowExtend() 2085 assert(T->isVectorTy()); in VariableShadowExtend() [all …]
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 288 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask() 364 assert(MaskTy->isVectorTy() && "Expected a vector constant mask!"); in DecodeVPERMILPMask()
|
/external/llvm/lib/Target/R600/ |
D | SITypeRewriter.cpp | 115 } else if (Arg->getType()->isVectorTy() && in visitCallInst()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 903 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 …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 217 if (OpC->getType()->isVectorTy())
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 74 if (S->getType()->isVectorTy()) return false; in processSelect()
|
D | ScalarReplAggregates.cpp | 879 } 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()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 733 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 757 assert (Ty->isVectorTy() && "Can only scalarize vectors"); in getScalarizationOverhead() 875 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost()
|