Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_multi_level_pointer.pass.cpp77 typedef Tp volatile* VType; typedef
87 typedef volatile Member (Class::*VType);
98 typedef typename ThrowTypes::VType VType; in operator ()() typedef
103 run_catch_tests<VType>(); in operator ()()
111 typedef typename CatchTypes::VType VType; in run_catch_tests() typedef
116 catch_pointer_test<ThrowTp, VType>(); in run_catch_tests()
121 generate_tests_imp<ThrowTp, VType, level-1>()(); in run_catch_tests()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h399 inline static RISCVII::VLMUL getVLMUL(unsigned VType) { in getVLMUL() argument
400 unsigned VLMUL = VType & 0x7; in getVLMUL()
423 inline static unsigned getSEW(unsigned VType) { in getSEW() argument
424 unsigned VSEW = (VType >> 3) & 0x7; in getSEW()
428 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; } in isTailAgnostic() argument
430 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; } in isMaskAgnostic() argument
432 void printVType(unsigned VType, raw_ostream &OS);
H A DRISCVBaseInfo.cpp160 void RISCVVType::printVType(unsigned VType, raw_ostream &OS) { in printVType() argument
161 unsigned Sew = getSEW(VType); in printVType()
166 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType)); in printVType()
174 if (isTailAgnostic(VType)) in printVType()
179 if (isMaskAgnostic(VType)) in printVType()
/llvm-project-15.0.7/lldb/test/API/commands/expression/function_template_specialization_temp_args/
H A Dmain.cpp6 typedef M<int> VType; in f() typedef
8 VType p0; // break here in f()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp487 void setVTYPE(unsigned VType) { in setVTYPE() argument
490 VLMul = RISCVVType::getVLMUL(VType); in setVTYPE()
491 SEW = RISCVVType::getSEW(VType); in setVTYPE()
492 TailAgnostic = RISCVVType::isTailAgnostic(VType); in setVTYPE()
493 MaskAgnostic = RISCVVType::isMaskAgnostic(VType); in setVTYPE()
1392 auto VType = MI.getOperand(2).getImm(); in canMutatePriorConfig() local
1393 return areCompatibleVTYPEs(PriorVType, VType, Used); in canMutatePriorConfig()
H A DRISCVInstrInfo.cpp178 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 DRISCVInstrInfoVPseudos.td293 // {SEW, VLMul} values set a valid VType to deal with this mask type.
/llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp278 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 …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp453 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); in getMatrix() local
454 assert(VType && "MatrixVal must be a vector type"); in getMatrix()
455 assert(cast<FixedVectorType>(VType)->getNumElements() == in getMatrix()
477 MaskStart < cast<FixedVectorType>(VType)->getNumElements(); in getMatrix()
975 auto *VType = cast<VectorType>(Ty); in loadMatrix() local
976 Type *EltTy = VType->getElementType(); in loadMatrix()
1069 auto VType = cast<VectorType>(Ty); in storeMatrix() local
1070 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder); in storeMatrix()
1076 Stride, StoreVal.getStride(), VType->getElementType(), Builder); in storeMatrix()
1079 VType->getElementType(), in storeMatrix()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp1085 auto EmitIsNegativeTest = [&Builder](Value *V, QualType VType, in EmitIntegerSignChangeCheckHelper()
1088 bool VSigned = VType->isSignedIntegerOrEnumerationType(); in EmitIntegerSignChangeCheckHelper()
1830 llvm::VectorType *VType = in VisitInitListExpr() local
1833 if (!VType) { in VisitInitListExpr()
1842 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements(); in VisitInitListExpr()
1851 llvm::Value *V = llvm::UndefValue::get(VType); in VisitInitListExpr()
1964 llvm::Type *EltTy = VType->getElementType(); in VisitInitListExpr()
/llvm-project-15.0.7/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()
3135 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) { in createInitListExpr() local
3136 NumElements = VType->getNumElements(); in createInitListExpr()
H A DSemaOpenMP.cpp9624 QualType VType = LastIteration.get()->getType(); in checkOpenMPLoop() local
9625 QualType RealVType = VType; in checkOpenMPLoop()
9626 QualType StrideVType = VType; in checkOpenMPLoop()
9628 VType = in checkOpenMPLoop()
9674 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9675 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9682 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9721 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb"); in checkOpenMPLoop()
9722 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLoc); in checkOpenMPLoop()
9729 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.ub"); in checkOpenMPLoop()
[all …]