llvm-6502/include/llvm/Target
Bob Wilson 0035f9c3b9 pr4926: ARM requires the stack pointer to be aligned, even for leaf functions.
For the AAPCS ABI, SP must always be 4-byte aligned, and at any "public
interface" it must be 8-byte aligned.  For the older ARM APCS ABI, the stack
alignment is just always 4 bytes.  For X86, we currently align SP at
entry to a function (e.g., to 16 bytes for Darwin), but no stack alignment
is needed at other times, such as for a leaf function.

After discussing this with Dan, I decided to go with the approach of adding
a new "TransientStackAlignment" field to TargetFrameInfo.  This value
specifies the stack alignment that must be maintained even in between calls.
It defaults to 1 except for ARM, where it is 4.  (Some other targets may
also want to set this if they have similar stack requirements. It's not
currently required for PPC because it sets targetHandlesStackFrameRounding
and handles the alignment in target-specific code.) The existing StackAlignment
value specifies the alignment upon entry to a function, which is how we've
been using it anyway.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82767 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-25 14:41:49 +00:00
..
SubtargetFeature.h Switch SubtargetFeature off of ostreams 2009-08-23 21:41:43 +00:00
Target.td Add 'isCodeGenOnly' bit to Instruction .td records. 2009-08-11 22:17:52 +00:00
TargetAsmParser.h Added the ParseInstruction() hook for target specific assembler directives so 2009-09-10 20:51:44 +00:00
TargetCallingConv.td Add 'Indirect' LocInfo class and use to pass __m128 on win64. Also minore fixes here and there (mostly __m64). 2009-08-03 08:13:56 +00:00
TargetData.h Try again at privatizing the layout info map, with a rewritten patch. 2009-08-21 19:59:12 +00:00
TargetELFWriterInfo.h - Remove custom handling of jumptables by the elf writter (this was 2009-08-05 06:57:03 +00:00
TargetFrameInfo.h pr4926: ARM requires the stack pointer to be aligned, even for leaf functions. 2009-09-25 14:41:49 +00:00
TargetInstrDesc.h 1. Introduce a new TargetOperandInfo::getRegClass() helper method 2009-07-29 21:10:12 +00:00
TargetInstrInfo.h rename TAI -> MAI, being careful not to make MAILJMP instructions :) 2009-08-22 21:43:10 +00:00
TargetInstrItineraries.h Make the end-of-itinerary mark explicit. Some cleanup. 2009-09-24 20:22:50 +00:00
TargetIntrinsicInfo.h
TargetJITInfo.h
TargetLowering.h Update comments. 2009-09-19 10:08:51 +00:00
TargetLoweringObjectFile.h pass machinemoduleinfo down into getSymbolForDwarfGlobalReference, 2009-09-17 18:49:52 +00:00
TargetMachine.h Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. 2009-08-22 20:48:53 +00:00
TargetMachOWriterInfo.h
TargetOptions.h Implement the JIT side of the GDB JIT debugging interface. To enable this 2009-09-20 23:52:43 +00:00
TargetRegisterInfo.h eliminate the TargetRegisterDesc::AsmName field, the asmprinters now have this table. 2009-09-13 22:45:04 +00:00
TargetRegistry.h remove a dead method. 2009-09-20 22:46:42 +00:00
TargetSchedule.td Fix apostrophos. 2009-09-15 15:08:33 +00:00
TargetSelect.h Add llvm::InitializeAllTargetInfos and llvm::InitializeAllAsmParsers. 2009-07-17 22:35:35 +00:00
TargetSelectionDAG.td Add a new "SDTCisVec" SDTypeConstraint. This complements the vAny type. 2009-08-12 22:30:59 +00:00
TargetSubtarget.h Use the schedule itinerary operand use/def cycle information to adjust dependence edge latency for post-RA scheduling. 2009-08-19 16:08:58 +00:00