| /freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
| H A D | RISCVTargetParser.h | 105 inline static VLMUL getVLMUL(unsigned VType) { in getVLMUL() argument 106 unsigned VLMul = VType & 0x7; in getVLMUL() 129 inline static unsigned getSEW(unsigned VType) { in getSEW() argument 130 unsigned VSEW = (VType >> 3) & 0x7; in getSEW() 140 inline static bool hasXSfmmWiden(unsigned VType) { in hasXSfmmWiden() argument 141 unsigned TWiden = (VType >> 9) & 0x3; in hasXSfmmWiden() 145 inline static unsigned getXSfmmWiden(unsigned VType) { in getXSfmmWiden() argument 146 unsigned TWiden = (VType >> 9) & 0x3; in getXSfmmWiden() 156 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; } in isTailAgnostic() argument 158 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; } in isMaskAgnostic() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | RISCVTargetParser.cpp | 199 void printVType(unsigned VType, raw_ostream &OS) { in printVType() argument 200 unsigned Sew = getSEW(VType); in printVType() 205 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType)); in printVType() 213 if (isTailAgnostic(VType)) in printVType() 218 if (isMaskAgnostic(VType)) in printVType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertVSETVLI.cpp | 639 void setVTYPE(unsigned VType) { in setVTYPE() argument 642 VLMul = RISCVVType::getVLMUL(VType); in setVTYPE() 643 SEW = RISCVVType::getSEW(VType); in setVTYPE() 644 TailAgnostic = RISCVVType::isTailAgnostic(VType); in setVTYPE() 645 MaskAgnostic = RISCVVType::isMaskAgnostic(VType); in setVTYPE() 1645 auto VType = MI.getOperand(2).getImm(); in canMutatePriorConfig() local 1646 return areCompatibleVTYPEs(PriorVType, VType, Used); in canMutatePriorConfig()
|
| H A D | RISCVInstrInfo.cpp | 302 unsigned VType = MBBI->getOperand(2).getImm(); in isConvertibleToVMV_V_V() local 306 if (RISCVVType::getSEW(VType) != FirstSEW) in isConvertibleToVMV_V_V() 311 if (!RISCVVType::isTailAgnostic(VType)) in isConvertibleToVMV_V_V() 319 return LMul == RISCVVType::getVLMUL(VType); in isConvertibleToVMV_V_V()
|
| H A D | RISCVInstrInfoV.td | 34 return MCOp.Kind == KindTy::VType;
|
| H A D | RISCVInstrInfoVPseudos.td | 410 // {SEW, VLMul} values set a valid VType to deal with this mask type.
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 346 VType, enumerator 408 VTypeOp VType; member 439 case KindTy::VType: in RISCVOperand() 440 VType = o.VType; in RISCVOperand() 627 if (Kind == KindTy::VType) in isVTypeI10() 632 if (Kind == KindTy::VType) in isVTypeI11() 638 return Kind == KindTy::VType && RISCVVType::isValidXSfmmVType(VType.Val); in isXSfmmVType() 1009 assert(Kind == KindTy::VType && "Invalid type access!"); in getVType() 1010 return VType.Val; in getVType() 1050 case KindTy::VType: in print() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 603 FixedVectorType *VType = cast<FixedVectorType>(MatrixVal->getType()); in getMatrix() local 604 assert(VType->getNumElements() == SI.NumRows * SI.NumColumns && in getMatrix() 624 for (unsigned MaskStart = 0; MaskStart < VType->getNumElements(); in getMatrix() 1302 auto *VType = cast<FixedVectorType>(Ty); in loadMatrix() local 1303 Type *EltTy = VType->getElementType(); in loadMatrix() 1381 auto *VType = cast<FixedVectorType>(Ty); in storeMatrix() local 1388 Stride, StoreVal.getStride(), VType->getElementType(), Builder); in storeMatrix() 1391 VType->getElementType(), in storeMatrix()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 1538 auto *VType = cast<FixedVectorType>(II->getOperand(0)->getType()); in shouldExpandReduction() local 1542 return VType->getScalarSizeInBits() >= 64 || in shouldExpandReduction() 1543 VType->getPrimitiveSizeInBits() < SystemZ::VectorBits; in shouldExpandReduction()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1178 static llvm::Value *EmitIsNegativeTestHelper(Value *V, QualType VType, in EmitIsNegativeTestHelper() argument 1181 bool VSigned = VType->isSignedIntegerOrEnumerationType(); in EmitIsNegativeTestHelper() 2137 llvm::VectorType *VType = in VisitInitListExpr() local 2140 if (!VType) { in VisitInitListExpr() 2149 if (isa<llvm::ScalableVectorType>(VType)) { in VisitInitListExpr() 2167 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements(); in VisitInitListExpr() 2176 llvm::Value *V = llvm::PoisonValue::get(VType); in VisitInitListExpr() 2289 llvm::Type *EltTy = VType->getElementType(); in VisitInitListExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 994 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) { in FillInEmptyInitializations() local 995 ElementType = VType->getElementType(); in FillInEmptyInitializations() 996 NumElements = VType->getNumElements(); in FillInEmptyInitializations() 3488 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) { in createInitListExpr() local 3489 NumElements = VType->getNumElements(); in createInitListExpr()
|
| H A D | SemaOpenMP.cpp | 9855 QualType VType = LastIteration.get()->getType(); in checkOpenMPLoop() local 9856 QualType RealVType = VType; in checkOpenMPLoop() 9857 QualType StrideVType = VType; in checkOpenMPLoop() 9859 VType = in checkOpenMPLoop() 9905 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop() 9906 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop() 9912 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub"); in checkOpenMPLoop() 9913 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop() 9952 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb"); in checkOpenMPLoop() 9953 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop() [all …]
|