| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVBaseInfo.h | 431 inline static RISCVII::VLMUL getVLMUL(unsigned VType) { in getVLMUL() argument 432 unsigned VLMUL = VType & 0x7; in getVLMUL() 455 inline static unsigned getSEW(unsigned VType) { in getSEW() argument 456 unsigned VSEW = (VType >> 3) & 0x7; in getSEW() 460 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; } in isTailAgnostic() argument 462 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; } in isMaskAgnostic() argument 464 void printVType(unsigned VType, raw_ostream &OS);
|
| H A D | RISCVBaseInfo.cpp | 165 void RISCVVType::printVType(unsigned VType, raw_ostream &OS) { in printVType() argument 166 unsigned Sew = getSEW(VType); in printVType() 171 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType)); in printVType() 179 if (isTailAgnostic(VType)) in printVType() 184 if (isMaskAgnostic(VType)) in printVType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertVSETVLI.cpp | 375 void setVTYPE(unsigned VType) { in setVTYPE() argument 378 VLMul = RISCVVType::getVLMUL(VType); in setVTYPE() 379 SEW = RISCVVType::getSEW(VType); in setVTYPE() 380 TailAgnostic = RISCVVType::isTailAgnostic(VType); in setVTYPE() 381 MaskAgnostic = RISCVVType::isMaskAgnostic(VType); in setVTYPE() 1284 auto VType = MI.getOperand(2).getImm(); in canMutatePriorConfig() local 1285 return areCompatibleVTYPEs(PriorVType, VType, Used); in canMutatePriorConfig()
|
| H A D | RISCVInstrInfo.cpp | 178 unsigned VType = MBBI->getOperand(2).getImm(); in isConvertibleToVMV_V_V() local 182 if (RISCVVType::getSEW(VType) != FirstSEW) in isConvertibleToVMV_V_V() 187 if (!RISCVVType::isTailAgnostic(VType)) in isConvertibleToVMV_V_V() 195 return LMul == RISCVVType::getVLMUL(VType); in isConvertibleToVMV_V_V()
|
| H A D | RISCVInstrInfoVPseudos.td | 296 // {SEW, VLMul} values set a valid VType to deal with this mask type.
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 278 VType, enumerator 311 struct VTypeOp VType; member 335 case KindTy::VType: in RISCVOperand() 336 VType = o.VType; in RISCVOperand() 454 return Kind == KindTy::VType; in isVTypeI10() 459 return Kind == KindTy::VType; in isVTypeI11() 803 assert(Kind == KindTy::VType && "Invalid type access!"); in getVType() 804 return VType.Val; in getVType() 828 case KindTy::VType: in print() 882 auto Op = std::make_unique<RISCVOperand>(KindTy::VType); in createVType() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 494 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); in getMatrix() local 495 assert(VType && "MatrixVal must be a vector type"); in getMatrix() 496 assert(cast<FixedVectorType>(VType)->getNumElements() == in getMatrix() 518 MaskStart < cast<FixedVectorType>(VType)->getNumElements(); in getMatrix() 1099 auto *VType = cast<VectorType>(Ty); in loadMatrix() local 1100 Type *EltTy = VType->getElementType(); in loadMatrix() 1193 auto VType = cast<VectorType>(Ty); in storeMatrix() local 1194 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder); in storeMatrix() 1200 Stride, StoreVal.getStride(), VType->getElementType(), Builder); in storeMatrix() 1203 VType->getElementType(), in storeMatrix()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1114 auto EmitIsNegativeTest = [&Builder](Value *V, QualType VType, in EmitIntegerSignChangeCheckHelper() 1117 bool VSigned = VType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper() 1852 llvm::VectorType *VType = in VisitInitListExpr() local 1855 if (!VType) { in VisitInitListExpr() 1864 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements(); in VisitInitListExpr() 1873 llvm::Value *V = llvm::UndefValue::get(VType); in VisitInitListExpr() 1986 llvm::Type *EltTy = VType->getElementType(); in VisitInitListExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 864 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) { in FillInEmptyInitializations() local 865 ElementType = VType->getElementType(); in FillInEmptyInitializations() 866 NumElements = VType->getNumElements(); in FillInEmptyInitializations() 3147 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) { in createInitListExpr() local 3148 NumElements = VType->getNumElements(); in createInitListExpr()
|
| H A D | SemaOpenMP.cpp | 9707 QualType VType = LastIteration.get()->getType(); in checkOpenMPLoop() local 9708 QualType RealVType = VType; in checkOpenMPLoop() 9709 QualType StrideVType = VType; in checkOpenMPLoop() 9711 VType = in checkOpenMPLoop() 9757 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop() 9758 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop() 9764 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub"); in checkOpenMPLoop() 9765 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop() 9804 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb"); in checkOpenMPLoop() 9805 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop() [all …]
|