Lines Matching refs:SIMD
95 …void move(uint32_t i, RValue<SIMD::Float> &&scalar) { emplace(i, scalar.value(), TypeHint::Float);… in move()
96 void move(uint32_t i, RValue<SIMD::Int> &&scalar) { emplace(i, scalar.value(), TypeHint::Int); } in move()
97 void move(uint32_t i, RValue<SIMD::UInt> &&scalar) { emplace(i, scalar.value(), TypeHint::UInt); } in move()
99 …void move(uint32_t i, const RValue<SIMD::Float> &scalar) { emplace(i, scalar.value(), TypeHint::Fl… in move()
100 …void move(uint32_t i, const RValue<SIMD::Int> &scalar) { emplace(i, scalar.value(), TypeHint::Int)… in move()
101 …void move(uint32_t i, const RValue<SIMD::UInt> &scalar) { emplace(i, scalar.value(), TypeHint::UIn… in move()
104 RValue<SIMD::Float> Float(uint32_t i) const in Float()
108 return As<SIMD::Float>(scalar[i]); // TODO(b/128539387): RValue<SIMD::Float>(scalar) in Float()
111 RValue<SIMD::Int> Int(uint32_t i) const in Int()
115 return As<SIMD::Int>(scalar[i]); // TODO(b/128539387): RValue<SIMD::Int>(scalar) in Int()
118 RValue<SIMD::UInt> UInt(uint32_t i) const in UInt()
122 return As<SIMD::UInt>(scalar[i]); // TODO(b/128539387): RValue<SIMD::UInt>(scalar) in UInt()
787 …void emit(SpirvRoutine *routine, RValue<SIMD::Int> const &activeLaneMask, RValue<SIMD::Int> const …
877 static sw::SIMD::Pointer InterleaveByLane(sw::SIMD::Pointer p);
917 RValue<SIMD::Int> activeLaneMask, in EmitState()
918 RValue<SIMD::Int> storesAndAtomicsMask, in EmitState()
943 RValue<SIMD::Int> activeLaneMask() const in activeLaneMask()
946 return RValue<SIMD::Int>(activeLaneMaskValue); in activeLaneMask()
953 RValue<SIMD::Int> storesAndAtomicsMask() const in storesAndAtomicsMask()
956 return RValue<SIMD::Int>(storesAndAtomicsMaskValue); in storesAndAtomicsMask()
962 RValue<SIMD::Int> activeStoresAndAtomicsMask() const in activeStoresAndAtomicsMask()
971 void addOutputActiveLaneMaskEdge(Block::ID out, RValue<SIMD::Int> mask);
976 void addActiveLaneMaskEdge(Block::ID from, Block::ID to, RValue<SIMD::Int> mask);
984 std::unordered_map<Block::Edge, RValue<SIMD::Int>, Block::Edge::Hash> edgeActiveLaneMasks;
1009 void createPointer(Object::ID id, SIMD::Pointer ptr) in createPointer()
1015 SIMD::Pointer const &getPointer(Object::ID id) const in getPointer()
1024 std::unordered_map<Object::ID, SIMD::Pointer> pointers;
1048 RValue<SIMD::Float> Float(uint32_t i) const in Float()
1058 return As<SIMD::Float>(SIMD::UInt(constant[i])); in Float()
1061 RValue<SIMD::Int> Int(uint32_t i) const in Int()
1068 return SIMD::Int(constant[i]); in Int()
1071 RValue<SIMD::UInt> UInt(uint32_t i) const in UInt()
1078 return SIMD::UInt(constant[i]); in UInt()
1145 SIMD::Pointer GetPointerToData(Object::ID id, Int arrayIndex, EmitState const *state) const;
1147 …SIMD::Pointer WalkExplicitLayoutAccessChain(Object::ID id, uint32_t numIndexes, uint32_t const *in…
1148 …SIMD::Pointer WalkAccessChain(Object::ID id, uint32_t numIndexes, uint32_t const *indexIds, EmitSt…
1156 RValue<SIMD::Int> GetActiveLaneMaskEdge(EmitState *state, Block::ID from, Block::ID to) const;
1159 void SetActiveLaneMask(RValue<SIMD::Int> mask, EmitState *state) const;
1229 …void EmitImageSampleUnconditional(Array<SIMD::Float> &out, ImageInstruction instruction, InsnItera…
1232 …SIMD::Pointer GetTexelAddress(EmitState const *state, Pointer<Byte> imageBase, Int imageSizeInByte…
1246 …SIMD::Float Interpolate(SIMD::Pointer const &ptr, int32_t location, Object::ID paramId, uint32_t c…
1286 SIMD::Float Dot(unsigned numComponents, Operand const &x, Operand const &y) const;
1292 std::pair<SIMD::Float, SIMD::Int> Frexp(RValue<SIMD::Float> val) const;
1340 void dbgUpdateActiveLaneMask(RValue<SIMD::Int> mask, EmitState *state) const;
1364 using Variable = Array<SIMD::Float>;
1376 SIMD::Float x;
1377 SIMD::Float y;
1378 SIMD::Float rhw;
1379 SIMD::Float xCentroid;
1380 SIMD::Float yCentroid;
1381 SIMD::Float rhwCentroid;
1404 std::array<SIMD::Int, 2> windowSpacePosition;
1407 SIMD::Int vertexIndex;
1408 std::array<SIMD::Float, 4> fragCoord;
1409 std::array<SIMD::Float, 4> pointCoord;
1410 SIMD::Int helperInvocation;
1417 SIMD::Int localInvocationIndex;
1418 std::array<SIMD::Int, 3> localInvocationID;
1419 std::array<SIMD::Int, 3> globalInvocationID;
1440 …static SIMD::Float interpolateAtXY(const SIMD::Float &x, const SIMD::Float &y, const SIMD::Float &…