llvm-6502/include/llvm
Duncan Sands 667d4b8de6 Introduce new linkage types linkonce_odr, weak_odr, common_odr
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66339 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-07 15:45:40 +00:00
..
ADT Give sentinel traits the right to determine the policy where the sentinel is kept. 2009-03-04 20:36:44 +00:00
Analysis
Assembly simplify handling "don't print top level name" processing, so that we get 2009-03-01 01:16:21 +00:00
Bitcode
CodeGen Add default constructor to SDNode to make gcc 3.4.6 happy. 2009-03-06 18:17:45 +00:00
CompilerDriver Move code from Main.cpp to the include dir. 2009-03-02 09:03:02 +00:00
Config Regenerate. 2009-03-05 08:20:44 +00:00
Debugger
ExecutionEngine
Support Add IRBuilder::CreateConstGEP{1, 2}_{32, 64}. 2009-03-06 22:26:07 +00:00
System Add a new 'AddSignalHandler' function to Signals.h that allows 2009-03-04 21:21:36 +00:00
Target Fix a bunch of Doxygen syntax issues. Escape special characters, 2009-03-03 02:55:14 +00:00
Transforms Add "check/remove dbg var" helper routines. 2009-03-06 00:19:37 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h simplify the way how traits get hold of the symbol table 2009-03-07 12:33:24 +00:00
CallGraphSCCPass.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h Fix a bunch of Doxygen syntax issues. Escape special characters, 2009-03-03 02:55:14 +00:00
DerivedTypes.h
Function.h further simplifications arising from peruse of the more declarative interface 2009-03-07 10:49:57 +00:00
GlobalAlias.h
GlobalValue.h Introduce new linkage types linkonce_odr, weak_odr, common_odr 2009-03-07 15:45:40 +00:00
GlobalVariable.h
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Add some cautionary comments. 2009-03-04 21:53:29 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td
LinkAllPasses.h
LinkAllVMCore.h
Linker.h
Module.h simplify the way how traits get hold of the symbol table 2009-03-07 12:33:24 +00:00
ModuleProvider.h
OperandTraits.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h some nits noticed by Duncan 2009-03-06 17:05:04 +00:00
PassSupport.h remove a deprecated interface that was pretty useless 2009-03-02 12:42:07 +00:00
SymbolTableListTraits.h simplify the way how traits get hold of the symbol table 2009-03-07 12:33:24 +00:00
Type.h delete a bunch of duplicated type printing logic, using the type printing 2009-02-28 23:01:57 +00:00
TypeSymbolTable.h
Use.h
User.h
Value.h
ValueSymbolTable.h