- May 12, 2009
-
-
Jay Foad authored
llvm-svn: 71587
-
- May 11, 2009
-
-
Jay Foad authored
memcpy, memmove and memset. llvm-svn: 71427
-
- Mar 07, 2009
-
-
Duncan Sands authored
and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
-
- Feb 07, 2009
-
-
Chris Lattner authored
llvm-svn: 64040
-
- Jan 30, 2009
-
-
Zhou Sheng authored
Thanks, Duncan. llvm-svn: 63389
-
Zhou Sheng authored
the LowerPartSet(). It didn't handle the situation correctly when the low, high argument values are in reverse order (low > high) with 'Val' type i32 (a corner case). llvm-svn: 63388
-
- Nov 21, 2008
-
-
Chris Lattner authored
arbitrary integer width for the count. llvm-svn: 59823
-
Bill Wendling authored
g++ -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wmissing-format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"i386-apple-darwin9.5.0\" -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DENABLE_LLVM -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/../llvm.src/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include ../../llvm-gcc.src/gcc/llvm-types.cpp -o llvm-types.o ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemCpy(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i32' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i64' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemMove(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i32' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i64' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemSet(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i32' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i64' is not a member of 'llvm::Intrinsic' make[3]: *** [llvm-convert.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod make[2]: *** [all-stage1-gcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 llvm-svn: 59809
-
Sanjiv Gupta authored
llvm-svn: 59802
-
- Sep 22, 2008
-
-
Dale Johannesen authored
llvm-svn: 56468
-
Dale Johannesen authored
llvm-svn: 56456
-
- Sep 04, 2008
-
-
Dale Johannesen authored
No functional change (and no FE change to generate them). llvm-svn: 55753
-
- May 16, 2008
-
-
Gabor Greif authored
API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
-
- Apr 06, 2008
-
-
Gabor Greif authored
Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Dec 17, 2007
-
-
Christopher Lamb authored
Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
-
- Nov 16, 2007
-
-
Anton Korobeynikov authored
Codegen bits and llvm-gcc support will follow. llvm-svn: 44182
-
- Oct 16, 2007
-
-
Dan Gohman authored
llvm-svn: 43020
-
- Oct 02, 2007
-
-
Dale Johannesen authored
llvm-svn: 42537
-
- Sep 28, 2007
-
-
Dale Johannesen authored
llvm-svn: 42439
-
- Sep 07, 2007
-
-
Anton Korobeynikov authored
Split eh.select / eh.typeid.for intrinsics into i32/i64 versions. This is needed, because they just "mark" register liveins and we let frontend solve type issue, not lowering code :) llvm-svn: 41763
-
Owen Anderson authored
Patch by Sterling Stein! llvm-svn: 41758
-
- Aug 06, 2007
-
-
Chris Lattner authored
introduced by chandler's patch. llvm-svn: 40864
-
- Aug 01, 2007
-
-
David Greene authored
New CallInst interface to address GLIBCXX_DEBUG errors caused by indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
-
- Jul 06, 2007
-
-
Duncan Sands authored
so must be lowered to a value, not nothing at all. Subtle point: I made eh_selector return 0 and eh_typeid_for return 1. This means that only cleanups (destructors) will be run as the exception unwinds [if eh_typeid_for returned 0 then it would be as if the first catch always matched, and the corresponding handler would be run], which is probably want you want in the CBE. llvm-svn: 37947
-
- Jul 04, 2007
-
-
Duncan Sands authored
Drop the eh.filter intrinsic. llvm-svn: 37875
-
- Jun 16, 2007
-
-
Tanya Lattner authored
llvm-svn: 37608
-
- Jun 12, 2007
-
-
Lauro Ramos Venancio authored
llvm-svn: 37544
-
- Jun 02, 2007
-
-
Zhou Sheng authored
llvm-svn: 37397
-
- May 26, 2007
-
-
Zhou Sheng authored
llvm-svn: 37331
-
- May 15, 2007
-
-
Reid Spencer authored
llvm-svn: 37071
-
- May 14, 2007
-
-
Reid Spencer authored
just aids in readability and debugability of the output. No functional change. llvm-svn: 37037
-
- May 12, 2007
-
-
Reid Spencer authored
llvm-svn: 37006
-
- Apr 17, 2007
-
-
Reid Spencer authored
llvm-svn: 36180
-
- Apr 12, 2007
-
-
Reid Spencer authored
linkage so we only end up with one of them in a program. These are, after all overloaded and templatish in nature. llvm-svn: 35956
-
Reid Spencer authored
barf when CBE is run with a program that contains these intrinsics. llvm-svn: 35946
-
Reid Spencer authored
the size of the value, not just zext. Also, give better names to two BBs. llvm-svn: 35945
-
Reid Spencer authored
Implement the "part_set" intrinsic. llvm-svn: 35938
-
- Apr 10, 2007
-
-
Chris Lattner authored
commit a LOT of files. llvm-svn: 35858
-
- Apr 05, 2007
-
-
Reid Spencer authored
llvm-svn: 35678
-