| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
MS-style inline assembly.
This is a follow-on to r175334. Forcing a FP to be emitted doesn't ensure it
will be used. Therefore, force the base pointer as well. We now treat MS
inline assembly in the same way we treat functions with dynamic stack
realignment and VLAs. This guarantees the BP will be used to reference
parameters and locals.
rdar://13218191
llvm-svn: 175576
|
| |
|
|
| |
llvm-svn: 175401
|
| |
|
|
|
|
|
|
|
|
|
| |
If the frame pointer is omitted, and any stack changes occur in the inline
assembly, e.g.: "pusha", then any C local variable or C argument references
will be incorrect.
I pass no judgement on anyone who would do such a thing. ;)
rdar://13218191
llvm-svn: 175334
|
| |
|
|
| |
llvm-svn: 175087
|
| |
|
|
|
|
|
| |
displacements.
rdar://12974533
llvm-svn: 175083
|
| |
|
|
|
|
| |
underscore in symbol on linux.
llvm-svn: 172139
|
| |
|
|
|
|
| |
Part of rdar://12991541
llvm-svn: 172121
|
| |
|
|
| |
llvm-svn: 166953
|
| |
|
|
|
|
|
| |
equivalent to [expr1 + expr2]. See test cases for more examples.
rdar://12470392
llvm-svn: 166949
|
| |
|
|
|
|
|
| |
correct .s output as well as get the correct encoding by the integrated
assembler.
llvm-svn: 166638
|
| |
|
|
|
|
|
|
|
|
|
| |
in the Intel syntax.
The MC layer supports emitting in the Intel syntax, but this would require the
inline assembly MachineInstr to be lowered to an MCInst before emission. This
is potential future work, but for now emitting directly from the MachineInstr
suffices.
llvm-svn: 165173
|
| |
|
|
|
|
| |
Add support in the EmitMSInlineAsmStr() function for handling integer consts.
llvm-svn: 163645
|
| |
|
|
| |
llvm-svn: 163627
|
| |
|
|
|
|
| |
'##InlineAsm' could not be seen in other hosts.
llvm-svn: 163554
|
| |
|
|
|
|
| |
and InlineAsmVariant don't match.
llvm-svn: 163550
|
| |
|
|
| |
llvm-svn: 163549
|
|
|
and update the printOperand() function accordingly.
llvm-svn: 163544
|