Displaying 20 results from an estimated 38 matches for "_tp".
Did you mean:
_ti
2013 Jul 26
0
[LLVMdev] Botan and Android
Hi Jack,
I'm almost there with Android..... I've actually got the static and
dynamic libraries built. I'm choking on the test suite.
Do you want to take a shot at working around Android and [embedded,
lame] STLport?
I would try removing the call to rend() in std::map<_Key, _Tp,
_Compare, _Alloc>::rend(). But I really should not modify program
code. Fiddling with a Makefile is one thing, but modifying source code
is another.
Jeff
arm-linux-androideabi-g++
--sysroot=/opt/android-ndk-r8e//platforms/android-14/arch-arm
-I/opt/android-ndk-r8e//sources/cxx-stl/stlport/stl...
2008 Oct 15
0
[LLVMdev] MINGW Compiler error.
...std::allocator<llvm::MachineMove> >
'
c:/Users/Greybird/Desktop/llvm/llvm-2.4/include/llvm/CodeGen/
MachineModuleInfo.h
:1007: instantiated from here
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/
boost_concept_check.h:216
: error: '__gnu_cxx::_SGIAssignableConcept<_Tp>::__a' has incomplete
type
c:/Users/Greybird/Desktop/llvm/llvm-2.4/include/llvm/CodeGen/
MachineModuleInfo.h
:53: error: forward declaration of 'struct llvm::MachineMove'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/
boost_concept_check.h: In
member function 'void...
2009 Jan 15
1
rimage installation problem-ubuntu 8.10
...eck/r-patched-linux-ix86/rimage-00install.html)
but I do not know what its appearance there means.
Thanks in advance for any help!
Abbe
g++ -I/usr/share/R/include -g -O2 -fpic -g -O2 -c matrix.cpp -o
matrix.o
/usr/include/c++/4.3/bits/stl_vector.h: In member function ?void
std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer,
std::__true_type) [with _Integer = int, _Tp = std::vector<double,
std::allocator<double> >, _Alloc = std::allocator<std::vector<double,
std::allocator<double> > >]?:
/usr/include/c++/4.3/bits/stl_vector.h:290: i...
2008 Oct 15
2
[LLVMdev] MINGW Compiler error.
...function_requires() [with
>> _Concept = __g
>> nu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]'
>> c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_algo.h:
>> 3810: instan
>> tiated from '_IIter std::find(_IIter, _IIter, const _Tp&) [with
>> _IIter = llvm::P
>> redIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User>
>>
>>> , _Tp = llvm
>>>
>> ::BasicBlock*]'
>> BasicBlock.cpp:180: instantiated from here
>> c:\mingw\bin\../lib/...
2012 Sep 29
2
[LLVMdev] Clang bug?
...: avoid ADL for __is_assignable_test):
--- type_traits (revision 164877)
+++ type_traits (working copy)
@@ -1187,10 +1187,15 @@
#endif // _LIBCPP_HAS_NO_VARIADICS
+template <class _Fst, class _Snd>
+struct __select_2nd {
+ typedef _Snd type;
+};
+
// is_assignable
template <class _Tp, class _Arg>
-decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
+typename __select_2nd<decltype(_VSTD::declval<_Tp>() =
_VSTD::declval<_Arg>()), true_type>::type
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
__is_assignable_test(_Tp&&, _Ar...
2013 Apr 16
0
[LLVMdev] creating and inserting a function with variable arguments
Akshay Jain <jivan.molu at gmail.com> writes:
> I have tried it, but I always end up with some kind of error. Can you
> explain how can I get a function type for function which returns void
> (nothing) and it's arguments are (int, int, int, void *, void *, ...) ??
Instead of getting something to cut&paste, you would be much more
enriched if the problematic code and the
2013 Apr 16
2
[LLVMdev] creating and inserting a function with variable arguments
I have tried it, but I always end up with some kind of error. Can you
explain how can I get a function type for function which returns void
(nothing) and it's arguments are (int, int, int, void *, void *, ...) ??
Thanks in advance.
On Tue, Apr 16, 2013 at 7:22 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Akshay Jain <jivan.molu at gmail.com> writes:
>
> > I am
2013 Apr 16
1
[LLVMdev] creating and inserting a function with variable arguments
...ass/pass2.cpp:108:62:
error: no matching function for call to
‘std::vector<llvm::Type*>::push_back(const llvm::IntegerType*) const’
/home/akshay/llvm/llvm-2.9/lib/Transforms/AliasPass/pass2.cpp:108:62: note:
candidate is:
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: void std::vector<_Tp,
_Alloc>::push_back(const value_type&) [with _Tp = llvm::Type*, _Alloc =
std::allocator<llvm::Type*>, std::vector<_Tp, _Alloc>::value_type =
llvm::Type*] <near match>
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: no known conversion
for argument 1 from ‘const llvm::...
2012 Sep 27
4
[LLVMdev] Clang bug?
...empl8<int>::Member
*>>>'
typename map<K,Member*>::iterator it;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/bin/../lib/c++/v1/type_traits:1184:57: note: in instantiation of
member class 'Templ8<int>::Member' requested here
decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
^
/usr/bin/../lib/c++/v1/type_traits:1186:1: note: while substituting
deduced template arguments into function template
'__is_assignable_test' [with _Tp = Templ8<int>::Member *&...
2012 Sep 29
0
[LLVMdev] Clang bug?
...64877)
> +++ type_traits (working copy)
> @@ -1187,10 +1187,15 @@
>
> #endif // _LIBCPP_HAS_NO_VARIADICS
>
> +template <class _Fst, class _Snd>
> +struct __select_2nd {
> + typedef _Snd type;
> +};
> +
> // is_assignable
>
> template <class _Tp, class _Arg>
> -decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
> +typename __select_2nd<decltype(_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>()), true_type>::type
> #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
> __is_assignable_tes...
2012 Sep 28
4
[LLVMdev] Clang bug?
...> typename map<K,Member*>::iterator it;
> > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> > /usr/bin/../lib/c++/v1/type_traits:1184:57: note: in instantiation of
> > member class 'Templ8<int>::Member' requested here
> > decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
> > ^
> > /usr/bin/../lib/c++/v1/type_traits:1186:1: note: while substituting
> > deduced template arguments into function template
> > '__is_assignable_test' [...
2014 Dec 17
5
[LLVMdev] How to figure out what #includes are needed?
...x86_64-linux-gnu/4.8/../../../../include/c++/4.8/utility:70:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:59:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:185:5: error: conflicting types for 'swap'
swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
^
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:166:5: note: previous definition is here
swap(_Tp& __a, _Tp& __b)
--------------------------------------------------------------------------------
In file included fr...
2012 Sep 28
0
[LLVMdev] Clang bug?
...; *>>>'
> typename map<K,Member*>::iterator it;
> ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> /usr/bin/../lib/c++/v1/type_traits:1184:57: note: in instantiation of
> member class 'Templ8<int>::Member' requested here
> decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
> ^
> /usr/bin/../lib/c++/v1/type_traits:1186:1: note: while substituting
> deduced template arguments into function template
> '__is_assignable_test' [with _Tp = Templ8<...
2012 Sep 29
0
[LLVMdev] Clang bug?
...ename map<K,Member*>::iterator it;
>> > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
>> > /usr/bin/../lib/c++/v1/type_traits:1184:57: note: in instantiation of
>> > member class 'Templ8<int>::Member' requested here
>> > decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
>> > ^
>> > /usr/bin/../lib/c++/v1/type_traits:1186:1: note: while substituting
>> > deduced template arguments into function template
>> > '__is_assign...
2012 Sep 29
0
[LLVMdev] Clang bug?
On Sep 28, 2012, at 5:54 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> Reduced testcase:
>
> template<typename T> struct A { typedef decltype(T() + 0) type; };
> template<typename T> struct B {
> struct C { typedef typename A<C*>::type type; };
> typedef typename A<C*>::type type;
> };
> B<int> b;
>
> ... produces ...
2019 Jan 06
2
LLVM IR linking separate function definitions in header files in single IR
Thank You..
I am observing memory allocation instructions malloc and new operator in
LLVM IR.
In my considered benchmark memory is allocated using new operator as
follows.
*return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));*
How can I observe such allocations in IR? I mean which instruction in IR is
equivalent to above code i.e new operator.
Please help
Thank You
On Sun, Jan 6, 2019 at 4:32 AM Mehdi AMINI <joker.eph at gmail.com> wrote:
>
>
> On Sat, Jan 5, 2...
2017 Jan 16
4
[RFC 0/2] Propose a new pointer trait.
Hi,
I'm part of an engineering team doing research on persistent memory support and
we have stumbled upon an interesting problem. The issue is, we would like to be
able to use the standard library containers in a persistent memory context
(think NVDIMM-N). What I mean is that you allocate a container from said
memory, use it like you normally would. After the application terminates,
expectedly
2012 Sep 29
1
[LLVMdev] Clang bug?
...a dependency cycle between the two instantiations). I'm not at all
clear on whether that is permissible behavior for a standard library
implementation, but it still seems to be a problem in some cases. libc++'s
is_assignable implementation uses SFINAE on this:
decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>(), true_type()))
Now, our case was: _Tp = Member*&, _Arg = Member*. In that case, we use the
built-in assignment operator, which produces an lvalue of type Member*.
Then we perform argument-dependent lookup looking for an overloaded
'operator,', becau...
2008 Aug 27
0
help with rimage compiling
...me'
x86_64-pc-linux-gnu-g++ -I/usr/lib64/R/include -g -O2 -I/usr/local/include
-fpic -O2 -march=core2 -fomit-frame-pointer -fno-ident -fweb -pipe -msse3 -c
matrix.cpp -o matrix.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4/bits/stl_vector.h: In
member function 'void std::vector<_Tp,
_Alloc>::_M_initialize_dispatch(_Integer, _Integer, std::__true_type) [with
_Integer = int, _Tp = std::vector<double, std::allocator<double> >, _Alloc =
std::allocator<std::vector<double, std::allocator<double> > >]':
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/incl...
2015 Oct 29
6
[RFC][libcxx] Fix and maintain the no-exceptions build of libcxx
...the no-exceptions build 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");...