search for: _pred

Displaying 4 results from an estimated 4 matches for "_pred".

Did you mean: pred
2013 Jul 04
4
[LLVMdev] llvm (hence Clang) not compiling with Visual Studio 2008
...as well as the second argument of "AtomComp") But the implementation of "std::lower_bound" in Visual Stuio 2008 relies on a checker provided by the file "xutility", which reads: template<class _Pr, class _Ty1, class _Ty2> inline bool __CLRCALL_OR_CDECL _Debug_lt_pred(_Pr _Pred, _Ty1& _Left, const _Ty2& _Right, const wchar_t *_Where, unsigned int _Line) { // test if _Pred(_Left, _Right) and _Pred is s...
2013 Jul 04
0
[LLVMdev] [cfe-dev] llvm (hence Clang) not compiling with Visual Studio 2008
...nt of "AtomComp") > > But the implementation of "std::lower_bound" in Visual Stuio 2008 relies > on a checker provided by the file "xutility", which reads: > > template<class _Pr, class _Ty1, class _Ty2> inline > bool __CLRCALL_OR_CDECL _Debug_lt_pred(_Pr _Pred, > _Ty1& _Left, > const _Ty2& _Right, > const wchar_t *_Where, > unsigned int _Line) > { // test if _Pred(_Lef...
2015 Oct 29
6
[RFC][libcxx] Fix and maintain the no-exceptions build of libcxx
...d as well. I have a work-in-progress patch for this, I will put it up for review separately once I'm done with it. Note that it's not just the tests that need to be updated. For example, take unordered_map::at(key) definition: template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::at(const key_type& __k) { iterator __i = find(__k); #ifndef _LIBCPP_NO_EXCEPTIONS if (__i == end()) throw out_of_range("unordered_map::at: key not found"); #endif return __i-&g...
2009 Dec 31
1
[PATCH] Autogenerate uureg opcode macros
...ITEMASK_Y | TGSI_WRITEMASK_Z | TGSI_WRITEMASK_W) +#define _YZW(v) ureg_writemask((v), TGSI_WRITEMASK_Y | TGSI_WRITEMASK_Z | TGSI_WRITEMASK_W) +#define _XYZW(v) ureg_writemask((v), TGSI_WRITEMASK_X | TGSI_WRITEMASK_Y | TGSI_WRITEMASK_Z | TGSI_WRITEMASK_W) + +#define _SAT(v) ureg_saturate(v) +#define _PRED(v, n, x, y, z, w) ureg_predicate(v, n, x, y, z, w) +#define _IND(r, a) ureg_dst_indirect(r, _src(a)) +#define _UNDEF ureg_dst_undef() +#define _IS_UNDEF(v) ureg_dst_is_undef(v) + +#define _VERT struct ureg_program* ureg = ureg_create(TGSI_PROCESSOR_VERTEX) +#define _FRAG struct ureg_program* ureg =...