Lines Matching refs:Lanes
290 unsigned Lanes; member in __anonf88c1dfe0111::VectorType
293 VectorType(const ScalarType *Element, unsigned Lanes) in VectorType() argument
294 : CRegularNamedType(TypeKind::Vector), Element(Element), Lanes(Lanes) {} in VectorType()
295 unsigned sizeInBits() const override { return Lanes * Element->sizeInBits(); } in sizeInBits()
296 unsigned lanes() const { return Lanes; } in lanes()
300 return Element->cNameBase() + "x" + utostr(Lanes); in cNameBase()
304 utostr(Lanes) + ")"; in llvmName()
342 unsigned Lanes; member in __anonf88c1dfe0111::PredicateType
345 PredicateType(unsigned Lanes) in PredicateType() argument
346 : CRegularNamedType(TypeKind::Predicate), Lanes(Lanes) {} in PredicateType()
355 unsigned ModifiedLanes = (Lanes == 2 ? 4 : Lanes); in llvmName()
995 const VectorType *getVectorType(const ScalarType *ST, unsigned Lanes) { in getVectorType() argument
997 ST->sizeInBits(), Lanes); in getVectorType()
999 VectorTypes[key] = std::make_unique<VectorType>(ST, Lanes); in getVectorType()
1012 const PredicateType *getPredicateType(unsigned Lanes) { in getPredicateType() argument
1013 unsigned key = Lanes; in getPredicateType()
1015 PredicateTypes[key] = std::make_unique<PredicateType>(Lanes); in getPredicateType()