Lines Matching refs:Lanes
291 unsigned Lanes; member in __anon819a2c470111::VectorType
294 VectorType(const ScalarType *Element, unsigned Lanes) in VectorType() argument
295 : CRegularNamedType(TypeKind::Vector), Element(Element), Lanes(Lanes) {} in VectorType()
296 unsigned sizeInBits() const override { return Lanes * Element->sizeInBits(); } in sizeInBits()
297 unsigned lanes() const { return Lanes; } in lanes()
301 return Element->cNameBase() + "x" + utostr(Lanes); in cNameBase()
305 utostr(Lanes) + ")"; in llvmName()
343 unsigned Lanes; member in __anon819a2c470111::PredicateType
346 PredicateType(unsigned Lanes) in PredicateType() argument
347 : CRegularNamedType(TypeKind::Predicate), Lanes(Lanes) {} in PredicateType()
353 return "llvm::FixedVectorType::get(Builder.getInt1Ty(), " + utostr(Lanes) + in llvmName()
994 const VectorType *getVectorType(const ScalarType *ST, unsigned Lanes) { in getVectorType() argument
996 ST->sizeInBits(), Lanes); in getVectorType()
998 VectorTypes[key] = std::make_unique<VectorType>(ST, Lanes); in getVectorType()
1011 const PredicateType *getPredicateType(unsigned Lanes) { in getPredicateType() argument
1012 unsigned key = Lanes; in getPredicateType()
1014 PredicateTypes[key] = std::make_unique<PredicateType>(Lanes); in getPredicateType()