Home
last modified time | relevance | path

Searched refs:vectorSize (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h139 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
141 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
146 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
153 void legalizeVectorType(CodeGenModule &CGM, CharUnits vectorSize,
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/altera/
H A Dunroll-loops.cpp71 void cxx_for_loops(int *A, int vectorSize) { in cxx_for_loops() argument
86 int b[vectorSize]; in cxx_for_loops()
492 void fully_unrolled_unknown_bounds(int vectorSize) { in fully_unrolled_unknown_bounds() argument
510 for (int i = 0; i < vectorSize; ++i) { in fully_unrolled_unknown_bounds()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp692 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType() argument
695 CGM, vectorSize, vectorTy->getElementType(), in isLegalVectorType()
699 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType() argument
703 .isLegalVectorTypeForSwift(vectorSize, eltTy, numElts); in isLegalVectorType()
707 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType() argument
714 if (isLegalVectorType(CGM, vectorSize / 2, eltTy, numElts / 2)) in splitLegalVectorType()
H A DTargetInfo.cpp154 bool SwiftABIInfo::isLegalVectorTypeForSwift(CharUnits vectorSize, in isLegalVectorTypeForSwift() argument
159 return (vectorSize.getQuantity() > 8 && vectorSize.getQuantity() <= 16); in isLegalVectorTypeForSwift()
6990 bool ARMABIInfo::isLegalVectorTypeForSwift(CharUnits vectorSize, in isLegalVectorTypeForSwift() argument
6998 if (vectorSize.getQuantity() != 8 && in isLegalVectorTypeForSwift()
6999 (vectorSize.getQuantity() != 16 || numElts == 1)) in isLegalVectorTypeForSwift()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferSplitRewritePatterns.cpp75 int64_t vectorSize = xferOp.getVectorType().getDimSize(resultIdx); in createInBoundsCond() local
77 auto vs = getAffineConstantExpr(vectorSize, xferOp.getContext()); in createInBoundsCond()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp2716 unsigned vectorSize = static_cast<unsigned>(vecSize->getZExtValue()); in BuildExtVectorType() local
2718 if (vectorSize == 0) { in BuildExtVectorType()
2724 return Context.getExtVectorType(T, vectorSize); in BuildExtVectorType()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp3105 int64_t vectorSize = op.getVectorType().getDimSize(resultIdx); in isInBounds() local
3107 return cstOp.value() + vectorSize <= sourceSize; in isInBounds()