Searched defs:Vec2 (Results 1 - 10 of 10) sorted by relevance

/external/clang/test/CodeGen/
H A Darm_function_epilog.cpp4 struct Vec2 { struct
10 // CHECK: define arm_aapcs_vfpcc %struct.Vec2 @_Z7getVec2v()
11 // CHECK: ret %struct.Vec2
12 Vec2 getVec2() {
13 Vec2 out;
14 union { Vec2* v; unsigned char* u; } x;
/external/deqp/framework/common/
H A DtcuVectorType.hpp39 typedef Vector<float, 2> Vec2; typedef in namespace:tcu
/external/deqp/modules/gles31/scripts/
H A Dgen-implicit-conversions.py29 from genutil import Scalar, Vec2, Vec3, Vec4, Uint, UVec2, UVec3, UVec4, CaseGroup namespace
235 "ivec2": [Vec2(x[0], x[1]) for x in IN_IVECTOR],
236 "uvec2": [Vec2(x[0], x[1]) for x in IN_UVECTOR],
242 "vec2": [Vec2(x[0], x[1]).toFloat() for x in IN_IVECTOR],
302 if isinstance(a, Scalar) and isinstance(b, Vec2):
381 "vec2": Vec2(1.0, 2.0),
610 return Vec2(out[0], out[1]).toFloat()
612 return Vec2(out[0], out[1]).toUint()
H A Dgenutil.py239 def toVec2(self): return Vec2(self.x, self.x)
317 elif isinstance(val, Vec2):
318 return Vec2(self.x * val.x, self.x * val.y)
329 elif isinstance(val, Vec2):
330 return Vec2(self.x / val.x, self.x / val.y)
369 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
397 class Vec2(Vec): class in inherits:Vec
403 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
404 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
408 def toVec2(self): return Vec2(sel
[all...]
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py226 def toVec2(self): return Vec2(self.x, self.x)
283 elif isinstance(val, Vec2):
284 return Vec2(self.x * val.x, self.x * val.y)
295 elif isinstance(val, Vec2):
296 return Vec2(self.x / val.x, self.x / val.y)
309 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
331 class Vec2(Vec): class in inherits:Vec
337 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
338 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
342 def toVec2(self): return Vec2(sel
[all...]
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py239 def toVec2(self): return Vec2(self.x, self.x)
315 elif isinstance(val, Vec2):
316 return Vec2(self.x * val.x, self.x * val.y)
327 elif isinstance(val, Vec2):
328 return Vec2(self.x / val.x, self.x / val.y)
367 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
395 class Vec2(Vec): class in inherits:Vec
401 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
402 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
406 def toVec2(self): return Vec2(sel
[all...]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2342 Value *Vec1, *Vec2, *Mask; local
2344 getValue(Record, OpNum, Vec1->getType(), Vec2))
2349 I = new ShuffleVectorInst(Vec1, Vec2, Mask);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4782 Value *Vec1, *Vec2, *Mask; local
4784 popValue(Record, OpNum, NextValueNo, Vec1->getType(), Vec2))
4789 if (!Vec1->getType()->isVectorTy() || !Vec2->getType()->isVectorTy())
4791 I = new ShuffleVectorInst(Vec1, Vec2, Mask);
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVModule.cpp291 SPIRVValue *Vec2, const std::vector<SPIRVWord> &Components,
1038 SPIRVValue *Vec2, const std::vector<SPIRVWord> &Components,
1040 return addInstruction(new SPIRVVectorShuffle(getId(), Type, Vec1, Vec2,
1037 addVectorShuffleInst(SPIRVType * Type, SPIRVValue *Vec1, SPIRVValue *Vec2, const std::vector<SPIRVWord> &Components, SPIRVBasicBlock *BB) argument
/external/clang/lib/AST/
H A DASTImporter.cpp608 const DependentSizedExtVectorType *Vec2 local
611 Vec1->getSizeExpr(), Vec2->getSizeExpr()))
615 Vec2->getElementType()))
623 const VectorType *Vec2 = cast<VectorType>(T2); local
626 Vec2->getElementType()))
628 if (Vec1->getNumElements() != Vec2->getNumElements())
630 if (Vec1->getVectorKind() != Vec2->getVectorKind())

Completed in 302 milliseconds