Home
last modified time | relevance | path

Searched refs:VType (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h501 inline static RISCVII::VLMUL getVLMUL(unsigned VType) { in getVLMUL() argument
502 unsigned VLMUL = VType & 0x7; in getVLMUL()
525 inline static unsigned getSEW(unsigned VType) { in getSEW() argument
526 unsigned VSEW = (VType >> 3) & 0x7; in getSEW()
530 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; } in isTailAgnostic() argument
532 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; } in isMaskAgnostic() argument
534 void printVType(unsigned VType, raw_ostream &OS);
H A DRISCVBaseInfo.cpp176 void RISCVVType::printVType(unsigned VType, raw_ostream &OS) { in printVType() argument
177 unsigned Sew = getSEW(VType); in printVType()
182 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType)); in printVType()
190 if (isTailAgnostic(VType)) in printVType()
195 if (isMaskAgnostic(VType)) in printVType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp539 void setVTYPE(unsigned VType) { in setVTYPE() argument
542 VLMul = RISCVVType::getVLMUL(VType); in setVTYPE()
543 SEW = RISCVVType::getSEW(VType); in setVTYPE()
544 TailAgnostic = RISCVVType::isTailAgnostic(VType); in setVTYPE()
545 MaskAgnostic = RISCVVType::isMaskAgnostic(VType); in setVTYPE()
1529 auto VType = MI.getOperand(2).getImm(); in canMutatePriorConfig() local
1530 return areCompatibleVTYPEs(PriorVType, VType, Used); in canMutatePriorConfig()
H A DRISCVInstrInfo.cpp219 unsigned VType = MBBI->getOperand(2).getImm(); in isConvertibleToVMV_V_V() local
223 if (RISCVVType::getSEW(VType) != FirstSEW) in isConvertibleToVMV_V_V()
228 if (!RISCVVType::isTailAgnostic(VType)) in isConvertibleToVMV_V_V()
236 return LMul == RISCVVType::getVLMUL(VType); in isConvertibleToVMV_V_V()
H A DRISCVInstrInfoVPseudos.td390 // {SEW, VLMul} values set a valid VType to deal with this mask type.
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp331 VType, enumerator
393 struct VTypeOp VType; member
424 case KindTy::VType: in RISCVOperand()
425 VType = o.VType; in RISCVOperand()
584 return Kind == KindTy::VType; in isVTypeI10()
589 return Kind == KindTy::VType; in isVTypeI11()
1005 assert(Kind == KindTy::VType && "Invalid type access!"); in getVType()
1006 return VType.Val; in getVType()
1042 case KindTy::VType: in print()
1139 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp492 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); in getMatrix() local
493 assert(VType && "MatrixVal must be a vector type"); in getMatrix()
494 assert(cast<FixedVectorType>(VType)->getNumElements() == in getMatrix()
516 MaskStart < cast<FixedVectorType>(VType)->getNumElements(); in getMatrix()
1107 auto *VType = cast<VectorType>(Ty); in loadMatrix() local
1108 Type *EltTy = VType->getElementType(); in loadMatrix()
1189 auto VType = cast<VectorType>(Ty); in storeMatrix() local
1196 Stride, StoreVal.getStride(), VType->getElementType(), Builder); in storeMatrix()
1199 VType->getElementType(), in storeMatrix()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1122 auto EmitIsNegativeTest = [&Builder](Value *V, QualType VType, in EmitIntegerSignChangeCheckHelper()
1125 bool VSigned = VType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper()
1860 llvm::VectorType *VType = in VisitInitListExpr() local
1863 if (!VType) { in VisitInitListExpr()
1872 if (isa<llvm::ScalableVectorType>(VType)) { in VisitInitListExpr()
1889 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements(); in VisitInitListExpr()
1898 llvm::Value *V = llvm::PoisonValue::get(VType); in VisitInitListExpr()
2011 llvm::Type *EltTy = VType->getElementType(); in VisitInitListExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp867 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) { in FillInEmptyInitializations() local
868 ElementType = VType->getElementType(); in FillInEmptyInitializations()
869 NumElements = VType->getNumElements(); in FillInEmptyInitializations()
3267 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) { in createInitListExpr() local
3268 NumElements = VType->getNumElements(); in createInitListExpr()
H A DSemaOpenMP.cpp9922 QualType VType = LastIteration.get()->getType(); in checkOpenMPLoop() local
9923 QualType RealVType = VType; in checkOpenMPLoop()
9924 QualType StrideVType = VType; in checkOpenMPLoop()
9926 VType = in checkOpenMPLoop()
9972 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9973 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9980 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
10019 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb"); in checkOpenMPLoop()
10020 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop()
10027 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.ub"); in checkOpenMPLoop()
[all …]