search for: mathextras

Displaying 20 results from an estimated 63 matches for "mathextras".

2011 Jan 28
0
[LLVMdev] Clang compile error
...ort/DataTypes.h:45:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including System/DataTypes.h" llvm/include/llvm/Support/DataTypes.h:49:3: error: #error "Must #define __STDC_CONSTANT_MACROS before " "#including System/DataTypes.h" llvm/include/llvm/Support/MathExtras.h: In function ‘bool llvm::isInt(int64_t)’: llvm/include/llvm/Support/MathExtras.h:38: error: there are no arguments to ‘INT64_C’ that depend on a template parameter, so a declaration of ‘INT64_C’ must be available llvm/include/llvm/Support/MathExtras.h:38: error: (if you use ‘-fpermissive’, G++ wi...
2010 May 08
1
[LLVMdev] Cannot Compile through an LLVM Pass
...uot; "#including System/DataTypes.h" In file included from /usr/local/include/llvm/Attributes.h:18, from /usr/local/include/llvm/Argument.h:18, from /usr/local/include/llvm/Function.h:24, from Hello.cpp:17: /usr/local/include/llvm/Support/MathExtras.h: In function ‘bool llvm::isInt(int64_t)’: /usr/local/include/llvm/Support/MathExtras.h:57: error: there are no arguments to ‘INT64_C’ that depend on a template parameter, so a declaration of ‘INT64_C’ must be available /usr/local/include/llvm/Support/MathExtras.h:57: error: (if you use ‘-fpermiss...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...  ^ In file included from tutorial1.cpp:6: In file included from /home/ubuntu/bin/include/llvm/Support/Host.h:17: In file included from /home/ubuntu/bin/include/llvm/ADT/StringMap.h:18: In file included from /home/ubuntu/bin/include/llvm/Support/Allocator.h:18: /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:24: error: use of undeclared identifier 'INT64_C'   return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));                        ^ /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:56: error: use of undeclared identifier 'INT64_C...
2010 Sep 07
2
[LLVMdev] llvm-config error
.../mingw32/../../../include/llvm/Argument.h:18, from /mingw/lib/gcc/mingw32/../../../include/llvm/Function.h:24, from /mingw/lib/gcc/mingw32/../../../include/llvm/Module.h:18, from main.cpp:12: /mingw/lib/gcc/mingw32/../../../include/llvm/Support/MathExtras.h: In function 'bool llvm::isInt(int64_t)': /mingw/lib/gcc/mingw32/../../../include/llvm/Support/MathExtras.h:57: error: there are no arguments to 'INT64_C' that depend on a template parameter, so a declaration of 'INT64_C' must be available /mingw/lib/gcc/mingw32/../../.....
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
Looks like your make/install is incomplete wrt clang. I follow the instuctions for checking out the sources but build using cmake instead of configure: > cmake -G ""Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="../bin" ../llvm > make install This builds and installs llvm+clang in the bin
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
...from tutorial1.cpp:6: > In file included from /home/ubuntu/bin/include/llvm/Support/Host.h:17: > In file included from /home/ubuntu/bin/include/llvm/ADT/StringMap.h:18: > In file included from /home/ubuntu/bin/include/llvm/Support/Allocator.h:18: > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:24: error: use of > undeclared identifier 'INT64_C' > return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1))); > ^ > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:56: error: use of > undecla...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...from tutorial1.cpp:6: > In file included from /home/ubuntu/bin/include/llvm/Support/Host.h:17: > In file included from /home/ubuntu/bin/include/llvm/ADT/StringMap.h:18: > In file included from /home/ubuntu/bin/include/llvm/Support/Allocator.h:18: > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:24: error: use of > undeclared identifier 'INT64_C' >    return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1))); >                        ^ > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:56: error: use of > undecla...
2010 Mar 29
0
[LLVMdev] Patch - Big stacks on SPU, take 2
...re is no stack. Would it be possible to detect this before allocating the emergency spill slot, and not request a scavenger at all? > This time there are no new unexpected failures in the regression tests. I noticed that CellSPU has a bunch of isS10Constant() functions. These already exist in MathExtras.h: isInt<10>(). Also, there is no need for 5 overloads of those functions, AFAICT. Please use the MathExtras.h functions, and remove all of the is*Constant functions in SPU.h. /jakob
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...> In file included from /home/ubuntu/bin/include/llvm/Support/Host.h:17: > > In file included from /home/ubuntu/bin/include/llvm/ADT/StringMap.h:18: > > In file included from > /home/ubuntu/bin/include/llvm/Support/Allocator.h:18: > > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:24: error: use of > > undeclared identifier 'INT64_C' > > return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < > (INT64_C(1)<<(N-1))); > > ^ > > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:56...
2010 Mar 29
3
[LLVMdev] Patch - Big stacks on SPU, take 2
Hi, attached is a second try for the bigstack patch for SPU, with testcase. It is essentially the patch committed as 97091, and reverted as 97099, but with the following additions: -in vararg handling, registers are marked to be live, to not confuse the register scavenger -function prologue and epilogue are not emitted, if the stack size is 16. 16 means it is empty - there is only the
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...> In file included from /home/ubuntu/bin/include/llvm/Support/Host.h:17: >  > In file included from /home/ubuntu/bin/include/llvm/ADT/StringMap.h:18: >  > In file included from > /home/ubuntu/bin/include/llvm/Support/Allocator.h:18: >  > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:24: error: use of >  > undeclared identifier 'INT64_C' >  >    return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < > (INT64_C(1)<<(N-1))); >  >                        ^ >  > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:56...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...ome/ubuntu/bin/include/llvm/Support/Host.h:17: > > > In file included from > /home/ubuntu/bin/include/llvm/ADT/StringMap.h:18: > > > In file included from > > /home/ubuntu/bin/include/llvm/Support/Allocator.h:18: > > > /home/ubuntu/bin/include/llvm/Support/MathExtras.h:38:24: error: > use of > > > undeclared identifier 'INT64_C' > > > return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < > > (INT64_C(1)<<(N-1))); > > > ^ > > > /home/ubuntu/bin/incl...
2009 Aug 09
2
[LLVMdev] function abs doesn't support 64bit integer, so i add a fuction
I add a function abs64 to support abs for 64 bit integer -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo -------------- next part -------------- A non-text attachment was scrubbed... Name: llvmabsfault.patch Type: application/octet-stream Size: 800 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090809/0d1aa27d/attachment.obj>
2011 Jan 21
0
[LLVMdev] including llvm data structures in eclipse
...template line 0 C/C++ Problem Description Resource Path Location Type there are no arguments to ‘INT64_C’ that depend on a template parameter, so a declaration of ‘INT64_C’ must be available template line 38, external location: /usr/lib/llvm-2.8/include/llvm/Support/MathExtras.h C/C++ Problem Description Resource Path Location Type there are no arguments to ‘UINT64_C’ that depend on a template parameter, so a declaration of ‘UINT64_C’ must be available template line 57, external location: /usr/lib/llvm-2.8/include/llvm/Support/MathExtras.h C/...
2004 Sep 04
1
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp
...* [all] Error 1 gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/lib/Target' gmake[1]: *** [Target/.makeall] Error 2 gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/lib' gmake: *** [all] Error 1 Adding in PPC32AsmPrinter.cpp #include "llvm/Support/MathExtras.h" fix problem. Vladimir
2005 Sep 09
1
[LLVMdev] Missing STL include in CVS prevent compilation on vc++.
...nDAG/DAGCombiner.cpp,v retrieving revision 1.9 diff -u -r1.9 DAGCombiner.cpp --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp 8 Sep 2005 20:18:10 -0000 1.9 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp 9 Sep 2005 23:11:42 -0000 @@ -41,6 +41,7 @@ #include "llvm/Support/MathExtras.h" #include "llvm/Target/TargetLowering.h" #include <cmath> +#include <algorithm> using namespace llvm;
2017 May 27
6
Should we split llvm Support and ADT?
.../Support/ErrorHandling.h" #include "llvm/Support/Format.h" #include "llvm/Support/FormattedStream.h" #include "llvm/Support/LEB128.h" #include "llvm/Support/LowLevelTypeImpl.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Regex.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/ScopedPrinter.h" #include "llvm/Support/Signals.h" #include &q...
2009 Mar 10
1
[LLVMdev] 2.5 Pre-release1 available for testing
...e/llvm/CodeGen/ValueTypes.h =================================================================== --- include/llvm/CodeGen/ValueTypes.h (revision 66504) +++ include/llvm/CodeGen/ValueTypes.h (working copy) @@ -21,6 +21,8 @@ #include "llvm/Support/DataTypes.h" #include "llvm/Support/MathExtras.h" +static const uintptr_t minus_one = -1; + namespace llvm { class Type; @@ -92,7 +94,10 @@ iPTR = 255, // LastSimpleValueType - The greatest valid SimpleValueTypevalue. - LastSimpleValueType = 255 + LastSimpleValueType = 255, + + // force th...
2010 Apr 19
0
[LLVMdev] Problem with the installation of llvm gcc
You need to manually copy the llvm-gcc front-end binaries to somewhere in your path. Alternatively, you can download the clang front-end and start using that instead. On Mon, Apr 19, 2010 at 10:58 AM, khaled hamidouche <khaledhamidouche at gmail.com> wrote: > Hello > > I'm trying to install LLVM and LLVM GCC > so I check out  the source of llvm and llvm-gcc-4.2 from the svn
2017 May 29
3
Should we split llvm Support and ADT?
...ian.h > EndianStream.h > Errc.h > Errno.h > Error.h > ErrorHandling.h > ErrorOr.h > FileOutputBuffer.h > FileSystem.h > FileUtilities.h > Format*.h > GlobPattern.h > Host.h > JamCRC.h > KnownBits.h > LineIterator.h > Locale.h > ManagedStatic.h > MathExtras.h > MD5.h > Memory.h > MemoryBuffer.h > Mutex.h > MutexGuard.h > NativeFormatting.h > Options.h > Parallel.h > Path.h > PointerLikeTypeTraits.h > PrettyStackTrace.h > Printable.h > Process.h > Program.h > RandomNumberGenerator.h > raw_os_ostream.h &gt...