Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
335 inline static unsigned getSEW(unsigned VType) { in getSEW() argument
336 unsigned VSEW = (VType >> 3) & 0x7; in getSEW()
340 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; } in isTailAgnostic() argument
342 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; } in isMaskAgnostic() argument
344 void printVType(unsigned VType, raw_ostream &OS);
H A DRISCVBaseInfo.cpp124 void RISCVVType::printVType(unsigned VType, raw_ostream &OS) { in printVType() argument
125 RISCVII::VLMUL VLMUL = getVLMUL(VType); in printVType()
127 unsigned Sew = getSEW(VType); in printVType()
150 if (isTailAgnostic(VType)) in printVType()
155 if (isMaskAgnostic(VType)) in printVType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp423 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); in getMatrix() local
424 assert(VType && "MatrixVal must be a vector type"); in getMatrix()
425 assert(cast<FixedVectorType>(VType)->getNumElements() == in getMatrix()
447 MaskStart < cast<FixedVectorType>(VType)->getNumElements(); in getMatrix()
805 auto *VType = cast<VectorType>(Ty); in loadMatrix() local
806 Type *EltTy = VType->getElementType(); in loadMatrix()
898 auto VType = cast<VectorType>(Ty); in storeMatrix() local
899 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder); in storeMatrix()
903 VType->getElementType(), Builder); in storeMatrix()
906 VType->getElementType(), in storeMatrix()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprScalar.cpp1081 auto EmitIsNegativeTest = [&Builder](Value *V, QualType VType, in EmitIntegerSignChangeCheckHelper()
1084 bool VSigned = VType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper()
1789 llvm::VectorType *VType = in VisitInitListExpr() local
1792 if (!VType) { in VisitInitListExpr()
1801 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements(); in VisitInitListExpr()
1810 llvm::Value *V = llvm::UndefValue::get(VType); in VisitInitListExpr()
1923 llvm::Type *EltTy = VType->getElementType(); in VisitInitListExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp9070 QualType VType = LastIteration.get()->getType(); in checkOpenMPLoop() local
9071 QualType RealVType = VType; in checkOpenMPLoop()
9072 QualType StrideVType = VType; in checkOpenMPLoop()
9074 VType = in checkOpenMPLoop()
9119 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9120 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9126 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub"); in checkOpenMPLoop()
9127 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9166 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb"); in checkOpenMPLoop()
9167 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop()
[all …]
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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td258 // {SEW, VLMul} values set a valid VType to deal with this mask type.