mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Refactor duplicated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -97,6 +97,13 @@ bool returnTypeIsEligibleForTailCall(const Function *F,
|
||||
const ReturnInst *Ret,
|
||||
const TargetLoweringBase &TLI);
|
||||
|
||||
// True if GV can be left out of the object symbol table. This is the case
|
||||
// for linkonce_odr values whose address is not significant. While legal, it is
|
||||
// not normally profitable to omit them from the .o symbol table. Using this
|
||||
// analysis makes sense when the information can be passed down to the linker
|
||||
// or we are in LTO.
|
||||
bool canBeOmittedFromSymbolTable(const GlobalValue *GV);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user