Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h325 inline static RISCVII::VLMUL getVLMUL(unsigned VType) { in getVLMUL() argument
326 unsigned VLMUL = VType & 0x7; in getVLMUL()
338 inline static unsigned getSEW(unsigned VType) { in getSEW() argument
339 unsigned VSEW = (VType >> 3) & 0x7; in getSEW()
343 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; } in isTailAgnostic() argument
345 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; } in isMaskAgnostic() argument
347 void printVType(unsigned VType, raw_ostream &OS);
H A DRISCVBaseInfo.cpp140 void RISCVVType::printVType(unsigned VType, raw_ostream &OS) { in printVType() argument
141 unsigned Sew = getSEW(VType); in printVType()
146 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType)); in printVType()
154 if (isTailAgnostic(VType)) in printVType()
159 if (isMaskAgnostic(VType)) in printVType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp113 void setVTYPE(unsigned VType) { in setVTYPE() argument
116 VLMul = RISCVVType::getVLMUL(VType); in setVTYPE()
117 SEW = RISCVVType::getSEW(VType); in setVTYPE()
118 TailAgnostic = RISCVVType::isTailAgnostic(VType); in setVTYPE()
119 MaskAgnostic = RISCVVType::isMaskAgnostic(VType); in setVTYPE()
H A DRISCVInstrInfoVPseudos.td269 // {SEW, VLMul} values set a valid VType to deal with this mask type.
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp264 VType, enumerator
295 struct VTypeOp VType; member
319 case KindTy::VType: in RISCVOperand()
320 VType = o.VType; in RISCVOperand()
333 bool isVType() const { return Kind == KindTy::VType; } in isVType()
727 assert(Kind == KindTy::VType && "Invalid type access!"); in getVType()
728 return VType.Val; in getVType()
752 case KindTy::VType: in print()
803 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType()
804 Op->VType.Val = VTypeI; in createVType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp452 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); in getMatrix() local
453 assert(VType && "MatrixVal must be a vector type"); in getMatrix()
454 assert(cast<FixedVectorType>(VType)->getNumElements() == in getMatrix()
476 MaskStart < cast<FixedVectorType>(VType)->getNumElements(); in getMatrix()
978 auto *VType = cast<VectorType>(Ty); in loadMatrix() local
979 Type *EltTy = VType->getElementType(); in loadMatrix()
1071 auto VType = cast<VectorType>(Ty); in storeMatrix() local
1072 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder); in storeMatrix()
1076 VType->getElementType(), Builder); in storeMatrix()
1079 VType->getElementType(), in storeMatrix()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1083 auto EmitIsNegativeTest = [&Builder](Value *V, QualType VType, in EmitIntegerSignChangeCheckHelper()
1086 bool VSigned = VType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper()
1810 llvm::VectorType *VType = in VisitInitListExpr() local
1813 if (!VType) { in VisitInitListExpr()
1822 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements(); in VisitInitListExpr()
1831 llvm::Value *V = llvm::UndefValue::get(VType); in VisitInitListExpr()
1944 llvm::Type *EltTy = VType->getElementType(); in VisitInitListExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp851 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) { in FillInEmptyInitializations() local
852 ElementType = VType->getElementType(); in FillInEmptyInitializations()
853 NumElements = VType->getNumElements(); in FillInEmptyInitializations()
3107 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) { in createInitListExpr() local
3108 NumElements = VType->getNumElements(); in createInitListExpr()
H A DSemaOpenMP.cpp9094 QualType VType = LastIteration.get()->getType(); in checkOpenMPLoop() local
9095 QualType RealVType = VType; in checkOpenMPLoop()
9096 QualType StrideVType = VType; in checkOpenMPLoop()
9098 VType = in checkOpenMPLoop()
9143 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9144 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9151 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9190 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb"); in checkOpenMPLoop()
9191 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop()
9198 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.ub"); in checkOpenMPLoop()
[all …]