- 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
-
- Jan 12, 2009
-
-
Duncan Sands authored
suggested by Chris. llvm-svn: 62099
-
- Nov 03, 2008
-
-
Dan Gohman authored
adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
-
- Sep 29, 2008
-
-
Duncan Sands authored
instead of hasWeakLinkage in a bunch of optimization passes. llvm-svn: 56782
-
- Sep 25, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 56582
-
Anton Korobeynikov authored
llvm-svn: 56580
-
- Aug 08, 2008
-
-
Evan Cheng authored
llvm-svn: 54534
-
Evan Cheng authored
It's not legal to output a GV in a coalesced section if it's used in an ARM PIC relative constantpool. llvm-svn: 54519
-
- Aug 07, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 54451
-
- Aug 05, 2008
-
-
Dan Gohman authored
llvm-svn: 54350
-
- Jul 30, 2008
-
-
Bruno Cardoso Lopes authored
llvm-svn: 54214
-
- Jul 28, 2008
-
-
Bruno Cardoso Lopes authored
Fixed COMM asm directive usage. ConstantPool using custom FourByteConstantSection. llvm-svn: 54139
-
- Jul 23, 2008
-
-
Bruno Cardoso Lopes authored
Added ConstantPool support. llvm-svn: 53951
-
- Jul 22, 2008
-
-
Bruno Cardoso Lopes authored
llvm-svn: 53912
-
Bruno Cardoso Lopes authored
Fixed small bug. llvm-svn: 53908
-
- Jul 21, 2008
-
-
Bruno Cardoso Lopes authored
Added gp_rel relocations to support addressing small section contents. Added command line to specify small section threshold in bytes. llvm-svn: 53869
-
- Jul 19, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 53790
-
- Jul 15, 2008
-
-
Bruno Cardoso Lopes authored
llvm-svn: 53585
-
- Jul 14, 2008
-
-
Bruno Cardoso Lopes authored
Added HasABICall and HasAbsoluteCall (equivalent to gcc -mabicall and -mno-shared). HasAbsoluteCall is not implemented but HasABICall is the default for o32 ABI. Now, both should help into a more accurate relocation types implementation. Added IsLinux is needed to choose between asm directives. Instruction name strings cleanup. AsmPrinter improved. llvm-svn: 53551
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Dec 23, 2007
-
-
Gordon Henriksen authored
providing a misleading facility. It's used once in the MIPS backend and hardcoded as "\t.globl\t" everywhere else. llvm-svn: 45338
-
- Nov 12, 2007
-
-
Bruno Cardoso Lopes authored
Fixed some AsmPrinter issues Added GLOBAL_OFFSET_TABLE Node handle. llvm-svn: 44024
-
- Jun 06, 2007
-
-
Bruno Cardoso Lopes authored
- Modifications from the last patch included (issues pointed by Evan Cheng are now fixed). - Added more MipsI instructions. - Added more patterns to match branch instructions. llvm-svn: 37461
-