/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() 330 if (Ty->isVectorTy()) { 387 if (!Src->isVectorTy() && !Dst->isVectorTy()) { in getCastInstrCost() 403 if (Dst->isVectorTy() && Src->isVectorTy()) { in getCastInstrCost() 458 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true) in getCastInstrCost() 460 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false) in getCastInstrCost() 487 if (CondTy->isVectorTy()) in getCmpSelInstrCost() 492 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost() 502 if (ValTy->isVectorTy()) { in getCmpSelInstrCost() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 86 assert(Ty->isVectorTy() && "Can only shuffle vectors"); in getPermuteShuffleOverhead() 447 assert(Ty->isVectorTy() && "Can only scalarize vectors"); in getScalarizationOverhead() 472 if (A->getType()->isVectorTy()) { in getOperandsScalarizationOverhead() 489 assert(VecTy->isVectorTy()); in getScalarizationOverhead() 541 if (Ty->isVectorTy()) { 615 if (!Src->isVectorTy() && !Dst->isVectorTy()) { 630 if (Dst->isVectorTy() && Src->isVectorTy()) { 684 return (Src->isVectorTy() ? getScalarizationOverhead(Src, false, true) 686 (Dst->isVectorTy() ? getScalarizationOverhead(Dst, true, false) 714 if (CondTy->isVectorTy()) in getCmpSelInstrCost() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 356 if (C->getType()->isVectorTy()) in getArithmeticInstrCost() 370 if (Ty->isVectorTy()) { in getArithmeticInstrCost() 469 assert (Tp->isVectorTy()); in getShuffleCost() 518 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost() 558 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost() 593 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType() 610 if (Src->isVectorTy()) { in getCastInstrCost() 612 assert (Dst->isVectorTy()); in getCastInstrCost() 703 assert (!Dst->isVectorTy()); in getCastInstrCost() 731 if (ValTy->isVectorTy()) { in getCmpSelInstrCost() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 48 assert(VecTy->isVectorTy()); in isTypeForHVX() 62 if (Ty->isVectorTy()) in getTypeNumElements() 159 if (Src->isVectorTy()) { in getMemoryOpCost() 216 if (ValTy->isVectorTy()) { in getCmpSelInstrCost() 228 if (Ty->isVectorTy()) { in getArithmeticInstrCost() 252 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
|
/external/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 43 if (!MaskTy->isVectorTy()) in DecodePSHUFBMask() 115 if (!MaskTy->isVectorTy()) in DecodeVPERMILPMask() 168 if (!MaskTy->isVectorTy()) in DecodeVPERMIL2PMask() 237 if (!MaskTy->isVectorTy()) in DecodeVPPERMMask() 303 if (MaskTy->isVectorTy()) { in DecodeVPERMVMask()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsCCState.cpp | 64 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat() 141 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands() 174 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Verifier.cpp | 863 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst() 878 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst() 899 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst() 916 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst() 934 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst() 946 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst() 947 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst() 969 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst() 970 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst() 992 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 106 if (S->getType()->isVectorTy()) return false; in processSelect() 204 if (!Condition->getType()->isVectorTy()) { in processPHI() 513 if (Instr->getType()->isVectorTy()) in processUDivOrURem() 551 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSRem() 572 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSDiv() 589 if (SDI->getType()->isVectorTy()) in processAShr() 613 if (AddOp->getType()->isVectorTy()) in processAdd()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 383 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder() 441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision() 492 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits() 541 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits() 590 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits() 638 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 383 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder() 441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision() 492 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits() 541 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits() 590 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits() 638 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 2235 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst() 2250 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst() 2271 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst() 2288 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst() 2306 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst() 2318 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst() 2319 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst() 2341 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst() 2342 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst() 2364 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 351 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 427 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost() 441 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost() 470 if (Opcode == Instruction::Store && Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost() 482 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost() 520 if (!I->isVectorTy()) in getCostOfKeepingLiveOverCall()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 72 if (S->getType()->isVectorTy()) return false; in processSelect() 113 if (!Condition->getType()->isVectorTy()) { in processPHI() 352 if (SDI->getType()->isVectorTy() || hasLocalDefs(SDI) || in processSRem() 370 if (SDI->getType()->isVectorTy() || hasLocalDefs(SDI) || in processSDiv()
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 88 if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND || in getCastInstrCost() 274 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 286 if (ValTy->isVectorTy() && in getVectorInstrCost() 298 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost() 329 if (Ty->isVectorTy() && IsComplex) in getAddressComputationCost() 487 if (Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 241 } else if (Tp->isVectorTy()) { in getRandomValue() 272 if (V->getType()->isVectorTy()) in getRandomVectorValue() 365 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 423 if (Ty->isVectorTy()) { in Act() 547 if (VTy->isVectorTy()) { in Act() 630 if (Val0->getType()->isVectorTy() && (getRandom() % 1)) { in Act()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 201 } else if (Tp->isVectorTy()) { in getRandomValue() 232 if (V->getType()->isVectorTy()) in getRandomVectorValue() 318 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 374 if (Ty->isVectorTy()) { in Act() 491 if (VTy->isVectorTy()) { in Act() 580 if (Val0->getType()->isVectorTy() && (Ran->Rand() % 1)) { in Act()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Verifier.cpp | 2430 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst() 2445 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst() 2466 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst() 2483 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst() 2501 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst() 2513 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst() 2514 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst() 2536 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst() 2537 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst() 2559 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 209 if (DstTy->isVectorTy()) in getMinBitWidth() 223 if (!DstTy->isVectorTy() && FromLegal && !ToLegal) in getMinBitWidth() 279 assert(Ty && !Ty->isVectorTy() && "Expect Scalar Type"); in getReducedType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Type.h | 230 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function 252 isPointerTy() || isVectorTy(); in isSingleValueType() 305 if (isVectorTy()) in getScalarType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 149 if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND || in getCastInstrCost() 335 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 347 if (ValTy->isVectorTy() && in getVectorInstrCost() 359 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost() 392 if (Ty->isVectorTy() && SE && in getAddressComputationCost() 532 if (Src->isVectorTy() && Alignment != 16 && in getMemoryOpCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 209 if (!DstTy->isVectorTy() || DstTy->getScalarSizeInBits() < 16) in isWideningInstruction() 454 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 547 if (Ty->isVectorTy()) { in getArithmeticInstrCost() 580 if (Ty->isVectorTy() && SE && in getAddressComputationCost() 595 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost() 637 if (Ty->isVectorTy() && Ty->getVectorElementType()->isIntegerTy(8)) { in getMemoryOpCost() 685 if (!I->isVectorTy()) in getCostOfKeepingLiveOverCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 681 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitTrunc() 1069 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitZExt() 1350 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitSExt() 1450 if (!CV || !CV->getType()->isVectorTy()) in shrinkFPConstantVector() 1728 if (CI.getType()->isVectorTy()) // Handle vectors of pointers. in visitIntToPtr() 1778 if (Ty->isVectorTy()) // Handle vectors of pointers. in visitPtrToInt() 2031 if (!DestTy->isVectorTy() || !BO->getType()->isVectorTy()) in foldBitCastBitwiseLogic() 2075 if (CondTy->isVectorTy()) { in foldBitCastSelect() 2076 if (!DestTy->isVectorTy()) in foldBitCastSelect() 2086 if (DestTy->isVectorTy() != TVal->getType()->isVectorTy()) in foldBitCastSelect() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 199 if (U->getType()->isVectorTy()) { in getUserCost() 364 assert(Val->isVectorTy() && "This must be a vector type"); in getVectorInstrCost() 465 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
|
/external/swiftshader/third_party/llvm-7.0/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() 1143 if (Ty->isVectorTy()) { in visitShl() 1170 if (Ty->isVectorTy()) { in visitLShr() [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 …]
|