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

/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp165 void RISCVVType::printVType(unsigned VType, raw_ostream &OS) { argument
166 unsigned Sew = getSEW(VType);
171 std::tie(LMul, Fractional) = decodeVLMUL(getVLMUL(VType));
179 if (isTailAgnostic(VType))
184 if (isMaskAgnostic(VType))
H A DRISCVBaseInfo.h431 inline static RISCVII::VLMUL getVLMUL(unsigned VType) { argument
432 unsigned VLMUL = VType & 0x7;
455 inline static unsigned getSEW(unsigned VType) {
456 unsigned VSEW = (VType >> 3) & 0x7;
460 inline static bool isTailAgnostic(unsigned VType) { return VType & 0x40; }
462 inline static bool isMaskAgnostic(unsigned VType) { return VType & 0x80; }
464 void printVType(unsigned VType, raw_ostream &OS);
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp375 void setVTYPE(unsigned VType) { argument
378 VLMul = RISCVVType::getVLMUL(VType);
379 SEW = RISCVVType::getSEW(VType);
380 TailAgnostic = RISCVVType::isTailAgnostic(VType);
381 MaskAgnostic = RISCVVType::isMaskAgnostic(VType);
1284 auto VType = MI.getOperand(2).getImm(); local
1285 return areCompatibleVTYPEs(PriorVType, VType, Used);
H A DRISCVInstrInfo.cpp178 unsigned VType = MBBI->getOperand(2).getImm(); local
182 if (RISCVVType::getSEW(VType) != FirstSEW)
187 if (!RISCVVType::isTailAgnostic(VType))
195 return LMul == RISCVVType::getVLMUL(VType);
2026 // Print the full VType operand of vsetvli/vsetivli instructions, and the SEW
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp278 VType, member in class:__anon3049::RISCVOperand::KindTy
311 struct VTypeOp VType; member in union:__anon3049::RISCVOperand::__anon3050
335 case KindTy::VType:
336 VType = o.VType;
454 return Kind == KindTy::VType;
459 return Kind == KindTy::VType;
803 assert(Kind == KindTy::VType && "Invalid type access!");
804 return VType.Val;
828 case KindTy::VType
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp494 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); local
495 assert(VType && "MatrixVal must be a vector type");
496 assert(cast<FixedVectorType>(VType)->getNumElements() ==
518 MaskStart < cast<FixedVectorType>(VType)->getNumElements();
1099 auto *VType = cast<VectorType>(Ty); local
1100 Type *EltTy = VType->getElementType();
1193 auto VType = cast<VectorType>(Ty); local
1194 Value *EltPtr = createElementPtr(Ptr, VType->getElementType(), Builder);
1200 Stride, StoreVal.getStride(), VType->getElementType(), Builder);
1203 VType
[all...]
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp1114 auto EmitIsNegativeTest = [&Builder](Value *V, QualType VType,
1117 bool VSigned = VType->isSignedIntegerOrEnumerationType();
1852 llvm::VectorType *VType = local
1855 if (!VType) {
1864 unsigned ResElts = cast<llvm::FixedVectorType>(VType)->getNumElements();
1873 llvm::Value *V = llvm::UndefValue::get(VType);
1986 llvm::Type *EltTy = VType->getElementType();
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp864 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) {
865 ElementType = VType->getElementType();
866 NumElements = VType->getNumElements();
3147 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) {
3148 NumElements = VType->getNumElements();
H A DSemaOpenMP.cpp9707 QualType VType = LastIteration.get()->getType();
9708 QualType RealVType = VType;
9709 QualType StrideVType = VType;
9711 VType =
9757 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb");
9758 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc);
9764 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub");
9765 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc);
9804 buildVarDecl(SemaRef, InitLoc, VType, ".omp.comb.lb");
9805 CombLB = buildDeclRefExpr(SemaRef, CombLBDecl, VType, InitLo
[all...]

Completed in 398 milliseconds