[llvm-commits] [llvm] r60609 - /llvm/trunk/lib/Target/X86/X86Subtarget.h
Dale Johannesen
dalej at apple.com
Fri Dec 5 13:55:36 PST 2008
Author: johannes
Date: Fri Dec 5 15:55:35 2008
New Revision: 60609
URL: http://llvm.org/viewvc/llvm-project?rev=60609&view=rev
Log:
Forgot a file.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.h
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.h?rev=60609&r1=60608&r2=60609&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.h (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.h Fri Dec 5 15:55:35 2008
@@ -179,6 +179,12 @@
bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine& TM,
bool isDirectCall) const;
+ /// True if accessing the GV requires a register. This is a superset of the
+ /// cases where GVRequiresExtraLoad is true. Some variations of PIC require
+ /// a register, but not an extra load.
+ bool GVRequiresRegister(const GlobalValue* GV, const TargetMachine& TM,
+ bool isDirectCall) const;
+
/// This function returns the name of a function which has an interface
/// like the non-standard bzero function, if such a function exists on
/// the current subtarget and it is considered prefereable over
More information about the llvm-commits
mailing list