Searched refs:isVector (Results 1 - 25 of 116) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DLowLevelType.cpp19 if (VT.isVector()) {
37 if (isVector())
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h44 return LLT{/*isPointer=*/false, /*isVector=*/false, /*NumElements=*/0,
51 return LLT{/*isPointer=*/true, /*isVector=*/false, /*NumElements=*/0,
60 return LLT{/*isPointer=*/false, /*isVector=*/true, NumElements,
67 assert(!ScalarTy.isVector() && "invalid vector element type");
68 return LLT{ScalarTy.isPointer(), /*isVector=*/true, NumElements,
81 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, argument
83 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace);
95 bool isVector() const { return isValid() && IsVector; } function in class:llvm::LLT
121 return isVector() ? getElementType() : *this;
127 return isVector()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelType.cpp46 if (!Ty.isVector())
55 if (!Ty.isVector())
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h116 if (isVector())
151 bool isVector() const { function in struct:llvm::EVT
152 return isSimple() ? V.isVector() : isExtendedVector();
263 return isVector() ? getVectorElementType() : *this;
268 assert(isVector() && "Invalid vector type!");
276 assert(isVector() && "Invalid vector type!");
284 assert((isVector()) && "Invalid vector type!");
333 assert(isInteger() && !isVector() && "Invalid integer type!");
344 assert(isInteger() && !isVector() && "Invalid integer type!");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp63 LegalityPredicate LegalityPredicates::isVector(unsigned TypeIdx) {
65 return Query.Types[TypeIdx].isVector();
146 return QueryTy.isVector() && !isPowerOf2_32(QueryTy.getNumElements());
H A DMachineIRBuilder.cpp204 assert((Res.isScalar() || Res.isVector()) && "invalid operand type");
210 assert((Res.isScalar() || Res.isVector()) && "invalid operand type");
285 if (Ty.isVector()) {
317 if (Ty.isVector()) {
439 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP);
450 Res.getLLTTy(*getMRI()).isVector());
913 if (DstTy.isVector()) {
914 assert(SrcTy.isVector() && "mismatched cast between vector and non-vector");
932 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) &&
939 (TstTy.isVector()
[all...]
H A DGISelKnownBits.cpp73 Ty.isVector() ? APInt::getAllOnesValue(Ty.getNumElements()) : APInt(1, 1);
109 if (DstTy.isVector())
272 if (TL.getBooleanContents(DstTy.isVector(),
440 APInt DemandedElts = Ty.isVector()
H A DLegalizerInfo.cpp131 if (!OldTy.isVector())
136 const unsigned OldElts = OldTy.isVector() ? OldTy.getNumElements() : 1;
137 if (NewTy.isVector()) {
154 if (OldTy.isVector()) {
156 if (!NewTy.isVector() || OldTy.getNumElements() != NewTy.getNumElements())
160 if (NewTy.isVector())
309 else if (Type.isVector())
387 assert(Aspect.Type.isVector());
651 assert(Aspect.Type.isVector());
H A DLegalizerHelper.cpp53 if (NarrowTy.isVector()) {
149 if (MainTy.isVector()) {
176 if (OrigTy.isVector() && TargetTy.isVector()) {
183 if (OrigTy.isVector() && !TargetTy.isVector()) {
188 assert(!OrigTy.isVector() && !TargetTy.isVector());
203 if (!ResultTy.isVector()) {
208 if (PartTy.isVector())
[all...]
H A DCombinerHelper.cpp211 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1;
212 unsigned SrcNumElts = SrcType.isVector() ? SrcType.getNumElements() : 1;
895 if (NewTy.isVector())
928 if (Ty.isVector())
939 if (!Ty.isVector() && ValVRegAndVal) {
946 if (Ty.isVector())
1047 if (!LargestTy.isVector() && !Ty.isVector() &&
H A DCSEMIRBuilder.cpp212 if (Ty.isVector())
239 if (Ty.isVector())
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp87 if (LHSVT.isVector() != RHSVT.isVector())
88 return RHSVT.isVector();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LegalizerInfo.cpp67 return Query.Types[0].isVector() &&
124 return !SrcTy.isVector() && SrcTy.getSizeInBits() == 32 &&
162 return Ty.isVector() && Ty.getElementType() == s16 &&
241 if (!ValTy.isVector())
327 return Ty.isVector() && !SrcTy.getElementType().isPointer() &&
349 if (DstSize == 128 && !Query.Types[0].isVector())
472 if (Ty.isVector()) {
531 if (BigTy.isVector() && BigTy.getSizeInBits() < 32)
533 if (LitTy.isVector() && LitTy.getSizeInBits() < 32)
599 return !Query.Types[1].isVector();
[all...]
H A DAArch64RegisterBankInfo.cpp431 bool IsFPR = Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc);
451 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc);
597 bool DstIsGPR = !DstTy.isVector() && DstTy.getSizeInBits() <= 64;
598 bool SrcIsGPR = !SrcTy.isVector() && SrcTy.getSizeInBits() <= 64;
628 if (Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc) ||
641 if (!SrcTy.isVector() && SrcTy.getSizeInBits() == 128)
647 if (MRI.getType(MI.getOperand(0).getReg()).isVector())
653 if (MRI.getType(MI.getOperand(0).getReg()).isVector())
714 if (SrcTy.isVector()) {
772 if (SrcTy.isVector() || SrcT
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.h36 return ArgVT.isVector() && ArgVT.getStoreSize() <= 8;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp209 if (OrigTy.isVector()) {
231 if (SrcTy.isVector() && !PartTy.isVector() &&
494 if (!LLTy.isVector() && !PartLLT.isVector()) {
499 if (LLTy.isVector() && PartLLT.isVector()) {
521 assert(LLTy.isVector() && !PartLLT.isVector());
H A DR600EmitClauseMarkers.cpp70 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()) ||
88 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp227 assert(VT.isVector() && "Should only be called for vectors.");
285 if (Node->getSimpleValueType(0).isVector() &&
H A DMipsCCState.cpp55 if (Ty.isVector() && Ty.getVectorElementType().isFloatingPoint())
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h367 bool isVector() const { return Kind == Vector; } function in class:clang::APValue
455 assert(isVector() && "Invalid accessor");
463 assert(isVector() && "Invalid accessor");
556 assert(isVector() && "Invalid accessor");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallingConv.cpp143 (ValVT.isVector() && ValVT.getSizeInBits() >= 128))) {
203 (ValVT.isVector() && ValVT.getSizeInBits() >= 128))) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp218 if (Oper.getValueType().isVector())
277 if (Op.getValueType().isVector()
511 assert(N->getValueType(0).isVector() &&
512 N->getOperand(0).getValueType().isVector() &&
715 assert(N->getValueType(0).isVector() &&
716 N->getOperand(0).getValueType().isVector() &&
1279 if (InVT.isVector()) {
1333 if (OperandVT.isVector()) {
1668 assert(N->getValueType(0).isVector() &&
1669 N->getOperand(0).getValueType().isVector()
[all...]
H A DLegalizeVectorOps.cpp187 HasVectors |= J->isVector();
261 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) {
293 if (StVT.isVector() && ST->isTruncatingStore()) {
323 HasVectorValueOrOp |= J->isVector();
325 HasVectorValueOrOp |= Oper.getValueType().isVector();
593 if (Node->getOperand(j).getValueType().isVector())
598 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())
610 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() &&
611 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()))
637 if (Node->getOperand(j).getValueType().isVector())
[all...]
H A DTargetLowering.cpp234 if (VT.isVector() || VT.isFloatingPoint()) {
548 if (Op.getValueType().isVector())
601 APInt DemandedElts = VT.isVector()
641 if (SrcVT.isVector() && (NumDstEltBits % NumSrcEltBits) == 0 &&
667 unsigned NumSrcElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1;
809 assert((!Op.getValueType().isVector() ||
1613 if (TLO.LegalTypes() && !ShiftAmtTy.isVector())
1682 unsigned InElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1;
1715 unsigned InElts = SrcVT.isVector() ? SrcVT.getVectorNumElements() : 1;
1763 unsigned InElts = SrcVT.isVector()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp86 bool isVector) override;
158 bool isVector) {
160 if (isVector)
398 bool isVector) override;
467 void emitRegSave(const SmallVectorImpl<unsigned> &RegList, bool isVector);
750 bool isVector) {
751 getStreamer().emitRegSave(RegList, isVector);

Completed in 319 milliseconds

12345