search for: vectorfunctionshape

Displaying 7 results from an estimated 7 matches for "vectorfunctionshape".

2019 Jun 11
2
RFC: Interface user provided vector functions with the vectorizer.
...on/definition <non zero number> := ... | -2 | -1 | 1 | 2 | ... <positive number> := 1 | 2 | 3 | ... <context selector clauses> := {<isa>}{,} {<arch>} <isa> := isa(target-specific-value) <arch> := arch(target-specific-value) ``` # LLVM COMPONENTS: ## VectorFunctionShape class The object `VectorFunctionShape` contains the information about the kind of vectorization available for an `llvm::Call`. The object `VectorFunctionShape` must contain the following information: 1. Vectorization Factor (or number or concurrent lanes executed by the SIMD version of the f...
2019 Jun 17
3
RFC: Interface user provided vector functions with the vectorizer.
...| ... > > <positive number> := 1 | 2 | 3 | ... > > <context selector clauses> := {<isa>}{,} {<arch>} > > <isa> := isa(target-specific-value) > > <arch> := arch(target-specific-value) > > ``` > > # LLVM COMPONENTS: > > ## VectorFunctionShape class > > The object `VectorFunctionShape` contains the information about the > kind of vectorization available for an `llvm::Call`. > > The object `VectorFunctionShape` must contain the following information: > > 1. Vectorization Factor (or number or concurrent lanes executed...
2019 Jun 24
2
RFC: Interface user provided vector functions with the vectorizer.
...clauses> := {<isa>}{,} {<arch>} >> > >> > <isa> := isa(target-specific-value) >> > >> > <arch> := arch(target-specific-value) >> > >> > ``` >> > >> > # LLVM COMPONENTS: >> > >> > ## VectorFunctionShape class >> > >> > The object `VectorFunctionShape` contains the information about the >> > kind of vectorization available for an `llvm::Call`. >> > >> > The object `VectorFunctionShape` must contain the following information: >> > >> > 1...
2019 Jun 21
2
RFC: Interface user provided vector functions with the vectorizer.
...> > > > <context selector clauses> := {<isa>}{,} {<arch>} > > > > <isa> := isa(target-specific-value) > > > > <arch> := arch(target-specific-value) > > > > ``` > > > > # LLVM COMPONENTS: > > > > ## VectorFunctionShape class > > > > The object `VectorFunctionShape` contains the information about the > > kind of vectorization available for an `llvm::Call`. > > > > The object `VectorFunctionShape` must contain the following information: > > > > 1. Vectorization Factor (or...
2019 Jun 24
2
RFC: Interface user provided vector functions with the vectorizer.
...LinearValPos, OMP_LinearRefPos, OMP_LinearUValPos, OMP_Uniform }; The enum is used to classify the `ParameterType`, a class that is attached to each parameter and describes things like uniformity, linearity (with and without modifiers). The list of parameter types is then stored in the VectorFunctionShape: struct VectorFunctionShape { unsigned VF; // Vectorization factor bool IsMasked; bool IsScalable; ISAKind ISA; std::vector<ParamType> Parameters; }; Here OpenMP is used to classify the parameter types (OMP_*), but nothing prevent...
2019 Jun 24
4
RFC: Interface user provided vector functions with the vectorizer.
...> > > > <context selector clauses> := {<isa>}{,} {<arch>} > > > > <isa> := isa(target-specific-value) > > > > <arch> := arch(target-specific-value) > > > > ``` > > > > # LLVM COMPONENTS: > > > > ## VectorFunctionShape class > > > > The object `VectorFunctionShape` contains the information about the > > kind of vectorization available for an `llvm::Call`. > > > > The object `VectorFunctionShape` must contain the following information: > > > > 1. Vectorization Factor (or n...
2019 Jun 24
2
RFC: Interface user provided vector functions with the vectorizer.
For example, Type 2 case, scalar-foo used call by value while vector-foo used call by ref. The question Johannes is asking is whether we can decipher that after the fact, only by looking at the two function signatures, or need some more info (what kind, what's minimal)? I think we need to list up cases of interest, and for each vector ABI of interest, we need to work on the requirements and