Home
last modified time | relevance | path

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

12345678910>>...12

/external/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h39 assert((LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()) && in splatScalarOperandIfNeeded()
41 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in splatScalarOperandIfNeeded()
47 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in splatScalarOperandIfNeeded()
162 assert(LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()); in CreateAdd()
163 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in CreateAdd()
169 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in CreateAdd()
187 assert(LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()); in CreateSub()
188 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) { in CreateSub()
194 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) { in CreateSub()
DType.h231 inline bool isVectorTy() const { in isVectorTy() function
255 isPointerTy() || isVectorTy(); in isSingleValueType()
276 if (getTypeID() != StructTyID && getTypeID() != ArrayTyID && !isVectorTy())
310 if (isVectorTy()) in getScalarType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h65 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy())
78 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
/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()
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/llvm-project/llvm/include/llvm/Analysis/Utils/
DLocal.h64 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy())
76 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp344 assert(Ty->isVectorTy() && "Expected vector type"); in getNumVectorRegs()
383 (C->getType()->isVectorTy() in getArithmeticInstrCost()
394 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
515 assert (Tp->isVectorTy()); in getShuffleCost()
564 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost()
604 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost()
639 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType()
656 assert (Dst->isVectorTy()); in getBoolVecToIntConversionCost()
675 if (Src->isVectorTy()) { in getCastInstrCost()
677 assert (Dst->isVectorTy()); in getCastInstrCost()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h85 assert(Ty->isVectorTy() && "Can only shuffle vectors"); in getBroadcastShuffleOverhead()
102 assert(Ty->isVectorTy() && "Can only shuffle vectors"); in getPermuteShuffleOverhead()
123 assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() && in getExtractSubvectorOverhead()
145 assert(Ty && Ty->isVectorTy() && SubTy && SubTy->isVectorTy() && in getInsertSubvectorOverhead()
570 assert(Ty->isVectorTy() && "Can only scalarize vectors"); in getScalarizationOverhead()
595 if (A->getType()->isVectorTy()) { in getOperandsScalarizationOverhead()
612 assert(VecTy->isVectorTy()); in getScalarizationOverhead()
665 if (Ty->isVectorTy()) {
745 if (!Src->isVectorTy() && !Dst->isVectorTy()) {
760 if (Dst->isVectorTy() && Src->isVectorTy()) {
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp47 assert(VecTy->isVectorTy()); in isTypeForHVX()
63 if (Ty->isVectorTy()) in getTypeNumElements()
162 if (Src->isVectorTy()) { in getMemoryOpCost()
231 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
244 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
268 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp43 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/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp415 (C->getType()->isVectorTy() in getArithmeticInstrCost()
426 if (!Ty->isVectorTy()) { in getArithmeticInstrCost()
595 assert (SrcTy->isVectorTy() && DstTy->isVectorTy()); in getVectorTruncCost()
637 assert (SrcTy->isVectorTy() && DstTy->isVectorTy() && in getVectorBitmaskConversionCost()
672 assert (!OpTy->isVectorTy() && "Expected scalar type"); in getCmpOpsType()
716 if (!Src->isVectorTy()) { in getCastInstrCost()
717 assert (!Dst->isVectorTy()); in getCastInstrCost()
856 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost()
1052 if (!Src->isVectorTy() && Opcode == Instruction::Load && I != nullptr) { in getMemoryOpCost()
1081 (Src->isVectorTy() ? getNumVectorRegs(Src) : getNumberOfParts(Src)); in getMemoryOpCost()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsCCState.cpp63 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat()
140 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands()
173 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCCState.cpp63 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat()
140 OriginalArgWasFloatVector.push_back(FuncArg.Ty->isVectorTy()); in PreAnalyzeCallOperands()
173 OriginalArgWasFloatVector.push_back(FuncArg->getType()->isVectorTy()); in PreAnalyzeFormalArgumentsForF128()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp129 if (S->getType()->isVectorTy()) return false; in processSelect()
230 if (!Condition->getType()->isVectorTy()) { in processPHI()
555 if (V->getType()->isVectorTy()) continue; in processCallSite()
623 if (Instr->getType()->isVectorTy()) in narrowSDivOrSRem()
677 if (Instr->getType()->isVectorTy()) in processUDivOrURem()
718 if (SDI->getType()->isVectorTy()) in processSRem()
774 if (SDI->getType()->isVectorTy()) in processSDiv()
827 if (Instr->getType()->isVectorTy()) in processSDivOrSRem()
842 if (SDI->getType()->isVectorTy()) in processAShr()
860 if (SDI->getType()->isVectorTy()) in processSExt()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp127 if (S->getType()->isVectorTy()) return false; in processSelect()
232 if (!Condition->getType()->isVectorTy()) { in processPHI()
568 if (V->getType()->isVectorTy()) continue; in processCallSite()
623 if (Instr->getType()->isVectorTy()) in processUDivOrURem()
661 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSRem()
683 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSDiv()
701 if (SDI->getType()->isVectorTy()) in processAShr()
721 if (SDI->getType()->isVectorTy()) in processSExt()
747 if (BinOp->getType()->isVectorTy()) in processBinOp()
785 if (BinOp->getType()->isVectorTy()) in processAnd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp166 if (Src->isVectorTy() && ST->hasNEON() && (ISD == ISD::FP_ROUND || in getCastInstrCost()
405 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost()
416 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
428 if (ValTy->isVectorTy() && in getVectorInstrCost()
451 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
472 int BaseCost = ST->hasMVEIntegerOps() && ValTy->isVectorTy() in getCmpSelInstrCost()
488 if (Ty->isVectorTy() && SE && in getAddressComputationCost()
663 int BaseCost = ST->hasMVEIntegerOps() && Tp->isVectorTy() in getShuffleCost()
746 if (ST->isThumb1Only() || Ty->isVectorTy()) in getArithmeticInstrCost()
770 int BaseCost = ST->hasMVEIntegerOps() && Ty->isVectorTy() in getArithmeticInstrCost()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp156 if (Src->isVectorTy()) { in getMemoryOpCost()
234 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost()
254 if (Ty->isVectorTy()) { in getArithmeticInstrCost()
284 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost()
/external/llvm-project/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp382 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder()
440 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
491 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits()
540 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits()
589 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits()
637 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp382 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); in expandRemainder()
440 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
491 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo32Bits()
540 assert(!RemTy->isVectorTy() && "Div over vectors not supported"); in expandRemainderUpTo64Bits()
589 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo32Bits()
637 assert(!DivTy->isVectorTy() && "Div over vectors not supported"); in expandDivisionUpTo64Bits()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp383 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-10.0/llvm/lib/IR/
DVerifier.cpp2579 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
2594 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
2615 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2632 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
2650 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
2662 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst()
2663 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst()
2685 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst()
2686 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst()
2708 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h230 bool isVectorTy() const { return getTypeID() == VectorTyID; } in isVectorTy() function
252 isPointerTy() || isVectorTy(); in isSingleValueType()
308 if (isVectorTy()) in getScalarType()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp72 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/AArch64/
DAArch64TargetTransformInfo.cpp351 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/IR/
DVerifier.cpp2235 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-project/llvm/lib/IR/
DVerifier.cpp2721 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitTruncInst()
2736 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitZExtInst()
2757 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitSExtInst()
2774 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPTruncInst()
2792 Assert(SrcTy->isVectorTy() == DestTy->isVectorTy(), in visitFPExtInst()
2804 bool SrcVec = SrcTy->isVectorTy(); in visitUIToFPInst()
2805 bool DstVec = DestTy->isVectorTy(); in visitUIToFPInst()
2827 bool SrcVec = SrcTy->isVectorTy(); in visitSIToFPInst()
2828 bool DstVec = DestTy->isVectorTy(); in visitSIToFPInst()
2850 bool SrcVec = SrcTy->isVectorTy(); in visitFPToUIInst()
[all …]

12345678910>>...12