f38cc38fa647d4e72c053c39bbe0cdec1342535f |
|
26-Jul-2013 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
[PowerPC] Support powerpc64le as a syntax-checking target. This patch provides basic support for powerpc64le as an LLVM target. However, use of this target will not actually generate little-endian code. Instead, use of the target will cause the correct little-endian built-in defines to be generated, so that code that tests for __LITTLE_ENDIAN__, for example, will be correctly parsed for syntax-only testing. Code generation will otherwise be the same as powerpc64 (big-endian), for now. The patch leaves open the possibility of creating a little-endian PowerPC64 back end, but there is no immediate intent to create such a thing. The LLVM portions of this patch simply add ppc64le coverage everywhere that ppc64 coverage currently exists. There is nothing of any import worth testing until such time as little-endian code generation is implemented. In the corresponding Clang patch, there is a new test case variant to ensure that correct built-in defines for little-endian code are generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b9df53a40b22c74ce3f3a7b4a7c0676a38cf5e73 |
|
15-Jul-2013 |
Craig Topper <craig.topper@gmail.com> |
Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7a34599db017a5486cf7cd11eb124984acec8286 |
|
09-Jul-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Revert r185476 and fix up TLS variant kinds In the commit message to r185476 I wrote: >The PowerPC-specific modifiers VK_PPC_TLSGD and VK_PPC_TLSLD >correspond exactly to the generic modifiers VK_TLSGD and VK_TLSLD. >This causes some confusion with the asm parser, since VK_PPC_TLSGD >is output as @tlsgd, which is then read back in as VK_TLSGD. > >To avoid this confusion, this patch removes the PowerPC-specific >modifiers and uses the generic modifiers throughout. (The only >drawback is that the generic modifiers are printed in upper case >while the usual convention on PowerPC is to use lower-case modifiers. >But this is just a cosmetic issue.) This was unfortunately incorrect, there is is fact another, serious drawback to using the default VK_TLSLD/VK_TLSGD variant kinds: using these causes ELFObjectWriter::RelocNeedsGOT to return true, which in turn causes the ELFObjectWriter to emit an undefined reference to _GLOBAL_OFFSET_TABLE_. This is a problem on powerpc64, because it uses the TOC instead of the GOT, and the linker does not provide _GLOBAL_OFFSET_TABLE_, so the symbol remains undefined. This means shared libraries using TLS built with the integrated assembler are currently broken. While the whole RelocNeedsGOT / _GLOBAL_OFFSET_TABLE_ situation probably ought to be properly fixed at some point, for now I'm simply reverting the r185476 commit. Now this in turn exposes the breakage of handling @tlsgd/@tlsld in the asm parser that this check-in was originally intended to fix. To avoid this regression, I'm also adding a different fix for this problem: while common code now parses @tlsgd as VK_TLSGD, a special hack in the asm parser translates this code to the platform-specific VK_PPC_TLSGD that the back-end now expects. While this is not really pretty, it's self-contained and shouldn't hurt anything else for now. One the underlying problem is fixed, this hack can be reverted again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a68f58ab2bec6a024afae498e4082ddd8b01f178 |
|
08-Jul-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Always use "assembler dialect" 1 A setting in MCAsmInfo defines the "assembler dialect" to use. This is used by common code to choose between alternatives in a multi-alternative GNU inline asm statement like the following: __asm__ ("{sfe|subfe} %0,%1,%2" : "=r" (out) : "r" (in1), "r" (in2)); The meaning of these dialects is platform specific, and GCC defines those for PowerPC to use dialect 0 for old-style (POWER) mnemonics and 1 for new-style (PowerPC) mnemonics, like in the example above. To be compatible with inline asm used with GCC, LLVM ought to do the same. Specifically, this means we should always use assembler dialect 1 since old-style mnemonics really aren't supported on any current platform. However, the current LLVM back-end uses: AssemblerDialect = 1; // New-Style mnemonics. in PPCMCAsmInfoDarwin, and AssemblerDialect = 0; // Old-Style mnemonics. in PPCLinuxMCAsmInfo. The Linux setting really isn't correct, we should be using new-style mnemonics everywhere. This is changed by this commit. Unfortunately, the setting of this variable is overloaded in the back-end to decide whether or not we are on a Darwin target. This is done in PPCInstPrinter (the "SyntaxVariant" is initialized from the MCAsmInfo AssemblerDialect setting), and also in PPCMCExpr. Setting AssemblerDialect to 1 for both Darwin and Linux no longer allows us to make this distinction. Instead, this patch uses the MCSubtargetInfo passed to createPPCMCInstPrinter to distinguish Darwin targets, and ignores the SyntaxVariant parameter. As to PPCMCExpr, this patch adds an explicit isDarwin argument that needs to be passed in by the caller when creating a target MCExpr. (To do so this patch implicitly also reverts commit 184441.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
33efedc0481c4b0d9866ff526eb1161372b5919f |
|
03-Jul-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Use mtocrf when available Just as with mfocrf, it is also preferable to use mtocrf instead of mtcrf when only a single CR register is to be written. Current code however always emits mtcrf. This probably does not matter when using an external assembler, since the GNU assembler will in fact automatically replace mtcrf with mtocrf when possible. It does create inefficient code with the integrated assembler, however. To fix this, this patch adds MTOCRF/MTOCRF8 instruction patterns and uses those instead of MTCRF/MTCRF8 everything. Just as done in the MFOCRF patch committed as 185556, these patterns will be converted back to MTCRF if MTOCRF is not available on the machine. As a side effect, this allows to modify the MTCRF pattern to accept the full range of mask operands for the benefit of the asm parser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
965b20e39c7fd73846e9b6ed55ba90e032ae3b1b |
|
03-Jul-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Always use mfocrf if available When accessing just a single CR register, it is always preferable to use mfocrf instead of mfcr, if the former is available on the CPU. Current code makes that distinction in many, but not all places where a single CR register value is retrieved. One missing location is PPCRegisterInfo::lowerCRSpilling. To fix this and make this simpler in the future, this patch changes the bulk of the back-end to always assume mfocrf is available and simply generate it when needed. On machines that actually do not support mfocrf, the instruction is replaced by mfcr at the very end, in EmitInstruction. This has the additional benefit that we no longer need the MFCRpseud hack, since before EmitInstruction we always have a MFOCRF instruction pattern, which already models data flow as required. The patch also adds the MFOCRF8 version of the instruction, which was missing so far. Except for the PPCRegisterInfo::lowerCRSpilling case, no change in generated code intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185556 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a17a7e1868076a4430cfa16694bcb42884130928 |
|
02-Jul-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Rework TLS call operand processing As part of the global-dynamic and local-dynamic TLS sequences, we need to use a special form of the call instruction: bl __tls_get_addr(sym@tlsld) bl __tls_get_addr(sym@tlsgd) which generates two fixups. The current implementation of this causes problems with recognizing this form in the asm parser. To fix this, this patch reworks operand processing for this special form by using a single operand to hold both __tls_get_addr and sym@tlsld and defining a print method to output the above form, and an encoding method to generate the two fixups. As a side simplification, the patch replaces the two instruction patterns BL8_NOP_TLSGD and BL8_NOP_TLSLD by a single BL8_NOP_TLS, since the patterns already operate in an identical fashion (whether we have a local-dynamic or global-dynamic symbol is already encoded in the symbol modifier). No change in code generation intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
58fc1f52ce070003acbdfedc85d52ba999a2bd11 |
|
02-Jul-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Remove VK_PPC_TLSGD and VK_PPC_TLSLD The PowerPC-specific modifiers VK_PPC_TLSGD and VK_PPC_TLSLD correspond exactly to the generic modifiers VK_TLSGD and VK_TLSLD. This causes some confusion with the asm parser, since VK_PPC_TLSGD is output as @tlsgd, which is then read back in as VK_TLSGD. To avoid this confusion, this patch removes the PowerPC-specific modifiers and uses the generic modifiers throughout. (The only drawback is that the generic modifiers are printed in upper case while the usual convention on PowerPC is to use lower-case modifiers. But this is just a cosmetic issue.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185476 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a3863ea2dacafc925a8272ebf9884fc64bef686c |
|
02-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove address spaces from MC. This is dead code since PIC16 was removed in 2010. The result was an odd mix, where some parts would carefully pass it along and others would assert it was zero (most of the object streamer for example). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c38c1d135cb9d617254c396c22949baca024dd35 |
|
01-Jul-2013 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
Index: test/CodeGen/PowerPC/reloc-align.ll =================================================================== --- test/CodeGen/PowerPC/reloc-align.ll (revision 0) +++ test/CodeGen/PowerPC/reloc-align.ll (revision 0) @@ -0,0 +1,34 @@ +; RUN: llc -mcpu=pwr7 -O1 < %s | FileCheck %s + +; This test verifies that the peephole optimization of address accesses +; does not produce a load or store with a relocation that can't be +; satisfied for a given instruction encoding. Reduced from a test supplied +; by Hal Finkel. + +target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64" +target triple = "powerpc64-unknown-linux-gnu" + +%struct.S1 = type { [8 x i8] } + +@main.l_1554 = internal global { i8, i8, i8, i8, i8, i8, i8, i8 } { i8 -1, i8 -6, i8 57, i8 62, i8 -48, i8 0, i8 58, i8 80 }, align 1 + +; Function Attrs: nounwind readonly +define signext i32 @main() #0 { +entry: + %call = tail call fastcc signext i32 @func_90(%struct.S1* byval bitcast ({ i8, i8, i8, i8, i8, i8, i8, i8 }* @main.l_1554 to %struct.S1*)) +; CHECK-NOT: ld {{[0-9]+}}, main.l_1554@toc@l + ret i32 %call +} + +; Function Attrs: nounwind readonly +define internal fastcc signext i32 @func_90(%struct.S1* byval nocapture %p_91) #0 { +entry: + %0 = bitcast %struct.S1* %p_91 to i64* + %bf.load = load i64* %0, align 1 + %bf.shl = shl i64 %bf.load, 26 + %bf.ashr = ashr i64 %bf.shl, 54 + %bf.cast = trunc i64 %bf.ashr to i32 + ret i32 %bf.cast +} + +attributes #0 = { nounwind readonly "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } Index: lib/Target/PowerPC/PPCAsmPrinter.cpp =================================================================== --- lib/Target/PowerPC/PPCAsmPrinter.cpp (revision 185327) +++ lib/Target/PowerPC/PPCAsmPrinter.cpp (working copy) @@ -679,7 +679,26 @@ void PPCAsmPrinter::EmitInstruction(const MachineI OutStreamer.EmitRawText(StringRef("\tmsync")); return; } + break; + case PPC::LD: + case PPC::STD: + case PPC::LWA: { + // Verify alignment is legal, so we don't create relocations + // that can't be supported. + // FIXME: This test is currently disabled for Darwin. The test + // suite shows a handful of test cases that fail this check for + // Darwin. Those need to be investigated before this sanity test + // can be enabled for those subtargets. + if (!Subtarget.isDarwin()) { + unsigned OpNum = (MI->getOpcode() == PPC::STD) ? 2 : 1; + const MachineOperand &MO = MI->getOperand(OpNum); + if (MO.isGlobal() && MO.getGlobal()->getAlignment() < 4) + llvm_unreachable("Global must be word-aligned for LD, STD, LWA!"); + } + // Now process the instruction normally. + break; } + } LowerPPCMachineInstrToMCInst(MI, TmpInst, *this); OutStreamer.EmitInstruction(TmpInst); Index: lib/Target/PowerPC/PPCISelDAGToDAG.cpp =================================================================== --- lib/Target/PowerPC/PPCISelDAGToDAG.cpp (revision 185327) +++ lib/Target/PowerPC/PPCISelDAGToDAG.cpp (working copy) @@ -1530,6 +1530,14 @@ void PPCDAGToDAGISel::PostprocessISelDAG() { if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) { SDLoc dl(GA); const GlobalValue *GV = GA->getGlobal(); + // We can't perform this optimization for data whose alignment + // is insufficient for the instruction encoding. + if (GV->getAlignment() < 4 && + (StorageOpcode == PPC::LD || StorageOpcode == PPC::STD || + StorageOpcode == PPC::LWA)) { + DEBUG(dbgs() << "Rejected this candidate for alignment.\n\n"); + continue; + } ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, 0, Flags); } else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(ImmOpnd)) { git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
92cfa61c50d01307d658753f8d47f4e8555a6fa9 |
|
21-Jun-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Rename some more VK_PPC_ enums This renames more VK_PPC_ enums, to make them more closely reflect the @modifier string they represent. This also prepares for adding a bunch of new VK_PPC_ enums in upcoming patches. For consistency, some MO_ flags related to VK_PPC_ enums are likewise renamed. No change in behaviour. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
846565924a6f2932efc75c249b29c3619e587bbb |
|
21-Jun-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Clean up VK_PPC_TOC... names This is another minor cleanup; to bring enum names in line with the corresponding @modifier names, this renames: VK_PPC_TOC -> VK_PPC_TOCBASE VK_PPC_TOC_ENTRY -> VK_PPC_TOC16 No code change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184491 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ea18f0cc4d3595ed55b53faf08ead1fc3d5abfa3 |
|
20-Jun-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Remove unused parameter The isDarwin parameter to the llvm::LowerPPCMachineInstrToMCInst routine is now no longer needed; remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0187e7a9ba5c50b4559e0c2e0afceb6d5cd32190 |
|
16-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs Frame index handling is now target-agnostic, so delete the target hooks for creation & asm printing of target-specific addressing in DBG_VALUEs and any related functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
edaa58ee66699b99841ee5dfdd485aedbae3bf90 |
|
24-May-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
[PowerPC] Clean up generation of ha16() / lo16() markers When targeting the Darwin assembler, we need to generate markers ha16() and lo16() to designate the high and low parts of a (symbolic) immediate. This is necessary not just for plain symbols, but also for certain symbolic expression, typically along the lines of ha16(A - B). The latter doesn't work when simply using VariantKind flags on the symbol reference. This is why the current back-end uses hacks (explicitly called out as such via multiple FIXMEs) in the symbolLo/symbolHi print methods. This patch uses target-defined MCExpr codes to represent the Darwin ha16/lo16 constructs, following along the lines of the equivalent solution used by the ARM back end to handle their :upper16: / :lower16: markers. This allows us to get rid of special handling both in the symbolLo/symbolHi print method and in the common code MCExpr::print routine. Instead, the ha16 / lo16 markers are printed simply in a custom print routine for the target MCExpr types. (As a result, the symbolLo/symbolHi print methods can now replaced by a single printS16ImmOperand routine that also handles symbolic operands.) The patch also provides a EvaluateAsRelocatableImpl routine to handle ha16/lo16 constructs. This is not actually used at the moment by any in-tree code, but is provided as it makes merging into David Fang's out-of-tree Mach-O object writer simpler. Since there is no longer any need to treat VK_PPC_GAS_HA16 and VK_PPC_DARWIN_HA16 differently, they are merged into a single VK_PPC_ADDR16_HA (and likewise for the _LO16 types). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
df39be6cb4eb44011db3d3e86f8fe463f81ce127 |
|
17-Apr-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Add support for subsections to the ELF assembler. Fixes PR8717. Differential Revision: http://llvm-reviews.chandlerc.com/D598 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
caeeb1865043d5410b5b0356694fb1228a18ec78 |
|
05-Apr-2013 |
Hal Finkel <hfinkel@anl.gov> |
Rename the current PPC BCL definition to BCLalways BCL is normally a conditional branch-and-link instruction, but has an unconditional form (which is used in the SjLj code, for example). To make clear that this BCL instruction definition is specifically the special unconditional form (which does not meaningfully take a condition-register input), rename it to BCLalways. No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d67768db809d6b1cfe6f7c484b3719a6103286ea |
|
26-Mar-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
PowerPC: Remove LDrs pattern. The LDrs pattern is a duplicate of LD, except that it accepts memory addresses where the displacement is a symbolLo64. An operand type "memrs" is defined for just that purpose. However, this wouldn't be necessary if the default "memrix" operand type were to simply accept 64-bit symbolic addresses directly. The only problem with that is that it uses "symbolLo", which is hardcoded to 32-bit. To fix this, this commit changes "memri" and "memrix" to use new operand types for the memory displacement, which allow iPTR instead of i32. This will also make address parsing easier to implment in the asm parser. No change in generated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178005 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2b0850b8305380244ec98e1b1c89aaf57adf3b09 |
|
26-Mar-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
PowerPC: Remove ADDIL patterns. The ADDI/ADDI8 patterns are currently duplicated into ADDIL/ADDI8L, which describe the same instruction, except that they accept a symbolLo[64] operand instead of a s16imm[64] operand. This duplication confuses the asm parser, and it actually not really needed, since symbolLo[64] already accepts immediate operands anyway. So this commit removes the duplicate patterns. No change in generated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7d35f74a5d5fafc66eafd945273153bf060a8bf4 |
|
23-Mar-2013 |
Hal Finkel <hfinkel@anl.gov> |
MCize the bcl instruction in PPCAsmPrinter I recently added a BCL instruction definition as part of implementing SjLj support. This can also be used to MCize bcl emission in the asm printer. No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
86765fbe170198e7bb40fd8499d1354f4c786f60 |
|
22-Mar-2013 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
Remove ABI-duplicated call instruction patterns. We currently have a duplicated set of call instruction patterns depending on the ABI to be followed (Darwin vs. Linux). This is a bit odd; while the different ABIs will result in different instruction sequences, the actual instructions themselves ought to be independent of the ABI. And in fact it turns out that the only nontrivial difference between the two sets of patterns is that in the PPC64 Linux ABI, the instruction used for indirect calls is marked to take X11 as extra input register (which is indeed used only with that ABI to hold an incoming environment pointer for nested functions). However, this does not need to be hard-coded at the .td pattern level; instead, the C++ code expanding calls can simply add that use, just like it adds uses for argument registers anyway. No change in generated code expected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
53b0b0e75480121e4e01a7a76e17909e92b1762a |
|
21-Feb-2013 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
Large code model support for PowerPC. Large code model is identical to medium code model except that the addis/addi sequence for "local" accesses is never used. All accesses use the addis/ld sequence. The coding changes are straightforward; most of the patch is taken up with creating variants of the medium model tests for large model. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
87b1a453f08fd0d56a074d2d665f779232a6cac0 |
|
04-Feb-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
PPCDarwinAsmPrinter::EmitStartOfAsmFile(): Add checking range in CPUDirectives[]. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b516e9b64850e0e1a50f680fd1443ac12e56557b |
|
04-Feb-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
PPCDarwinAsmPrinter::EmitStartOfAsmFile(): Add possible elements in CPUDirectives[]. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a1db5de9e70dd8ffda57b1a4373915ea866b6f1d |
|
09-Jan-2013 |
Adhemerval Zanella <azanella@linux.vnet.ibm.com> |
PowerPC: EH adjustments This patch adjust the r171506 to make all DWARF enconding pc-relative for PPC64. It also adds the R_PPC64_REL32 relocation handling in MCJIT (since the eh_frame will not generate PIC-relative relocation) and also adds the emission of stubs created by the TTypeEncoding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171979 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
68ca56285f9b6e82eb16ff8ea02a301f2c489fae |
|
09-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
These functions have default arguments of 0 for the last arg. Use them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5b7f9216c357f1cdf507f300f396b44cb982eb3f |
|
07-Jan-2013 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
This patch addresses bug 14678 by fixing two problems in medium code model code generation. Variables addressed through a GlobalAlias were not being handled, and variables with available_externally linkage were treated incorrectly. The patch contains two new tests to verify the correct code generation for these cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0b8c9a80f20772c3793201ab5b251d3520b9cea3 |
|
02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Move all of the header files which are involved in modelling the LLVM IR into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b453e16855f347e300f1dc0cd0dfbdd65c27b0d2 |
|
14-Dec-2012 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
This patch improves the 64-bit PowerPC InitialExec TLS support by providing for a wider range of GOT entries that can hold thread-relative offsets. This matches the behavior of GCC, which was not documented in the PPC64 TLS ABI. The ABI will be updated with the new code sequence. Former sequence: ld 9,x@got@tprel(2) add 9,9,x@tls New sequence: addis 9,2,x@got@tprel@ha ld 9,x@got@tprel@l(9) add 9,9,x@tls Note that a linker optimization exists to transform the new sequence into the shorter sequence when appropriate, by replacing the addis with a nop and modifying the base register and relocation type of the ld. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
349c2787cf9e174c8aa955bf8e3b09a405b2aece |
|
12-Dec-2012 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
This patch implements local-dynamic TLS model support for the 64-bit PowerPC target. This is the last of the four models, so we now have full TLS support. This is mostly a straightforward extension of the general dynamic model. I had to use an additional Chain operand to tie ADDIS_DTPREL_HA to the register copy following ADDI_TLSLD_L; otherwise everything above the ADDIS_DTPREL_HA appeared dead and was removed. As before, there are new test cases to test the assembly generation, and the relocations output during integrated assembly. The expected code gen sequence can be read in test/CodeGen/PowerPC/tls-ld.ll. There are a couple of things I think can be done more efficiently in the overall TLS code, so there will likely be a clean-up patch forthcoming; but for now I want to be sure the functionality is in place. Bill git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
57ac1f458a754f30cf500410b438fb260f9b8fe5 |
|
11-Dec-2012 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
This patch implements the general dynamic TLS model for 64-bit PowerPC. Given a thread-local symbol x with global-dynamic access, the generated code to obtain x's address is: Instruction Relocation Symbol addis ra,r2,x@got@tlsgd@ha R_PPC64_GOT_TLSGD16_HA x addi r3,ra,x@got@tlsgd@l R_PPC64_GOT_TLSGD16_L x bl __tls_get_addr(x@tlsgd) R_PPC64_TLSGD x R_PPC64_REL24 __tls_get_addr nop <use address in r3> The implementation borrows from the medium code model work for introducing special forms of ADDIS and ADDI into the DAG representation. This is made slightly more complicated by having to introduce a call to the external function __tls_get_addr. Using the full call machinery is overkill and, more importantly, makes it difficult to add a special relocation. So I've introduced another opcode GET_TLS_ADDR to represent the function call, and surrounded it with register copies to set up the parameter and return value. Most of the code is pretty straightforward. I ran into one peculiarity when I introduced a new PPC opcode BL8_NOP_ELF_TLSGD, which is just like BL8_NOP_ELF except that it takes another parameter to represent the symbol ("x" above) that requires a relocation on the call. Something in the TblGen machinery causes BL8_NOP_ELF and BL8_NOP_ELF_TLSGD to be treated identically during the emit phase, so this second operand was never visited to generate relocations. This is the reason for the slightly messy workaround in PPCMCCodeEmitter.cpp:getDirectBrEncoding(). Two new tests are included to demonstrate correct external assembly and correct generation of relocations using the integrated assembler. Comments welcome! Thanks, Bill git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d7802bf0ddcac16ee910105922492aee86a53e1b |
|
04-Dec-2012 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
This patch introduces initial-exec model support for thread-local storage on 64-bit PowerPC ELF. The patch includes code to handle external assembly and MC output with the integrated assembler. It intentionally does not support the "old" JIT. For the initial-exec TLS model, the ABI requires the following to calculate the address of external thread-local variable x: Code sequence Relocation Symbol ld 9,x@got@tprel(2) R_PPC64_GOT_TPREL16_DS x add 9,9,x@tls R_PPC64_TLS x The register 9 is arbitrary here. The linker will replace x@got@tprel with the offset relative to the thread pointer to the generated GOT entry for symbol x. It will replace x@tls with the thread-pointer register (13). The two test cases verify correct assembly output and relocation output as just described. PowerPC-specific selection node variants are added for the two instructions above: LD_GOT_TPREL and ADD_TLS. These are inserted when an initial-exec global variable is encountered by PPCTargetLowering::LowerGlobalTLSAddress(), and later lowered to machine instructions LDgotTPREL and ADD8TLS. LDgotTPREL is a pseudo that uses the same LDrs support added for medium code model's LDtocL, with a different relocation type. The rest of the processing is straightforward. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169281 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib. Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
34a9d4b3b9b7858b729a1af67afa721c048fe5e7 |
|
27-Nov-2012 |
Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
This patch implements medium code model support for 64-bit PowerPC. The default for 64-bit PowerPC is small code model, in which TOC entries must be addressable using a 16-bit offset from the TOC pointer. Additionally, only TOC entries are addressed via the TOC pointer. With medium code model, TOC entries and data sections can all be addressed via the TOC pointer using a 32-bit offset. Cooperation with the linker allows 16-bit offsets to be used when these are sufficient, reducing the number of extra instructions that need to be executed. Medium code model also does not generate explicit TOC entries in ".section toc" for variables that are wholly internal to the compilation unit. Consider a load of an external 4-byte integer. With small code model, the compiler generates: ld 3, .LC1@toc(2) lwz 4, 0(3) .section .toc,"aw",@progbits .LC1: .tc ei[TC],ei With medium model, it instead generates: addis 3, 2, .LC1@toc@ha ld 3, .LC1@toc@l(3) lwz 4, 0(3) .section .toc,"aw",@progbits .LC1: .tc ei[TC],ei Here .LC1@toc@ha is a relocation requesting the upper 16 bits of the 32-bit offset of ei's TOC entry from the TOC base pointer. Similarly, .LC1@toc@l is a relocation requesting the lower 16 bits. Note that if the linker determines that ei's TOC entry is within a 16-bit offset of the TOC base pointer, it will replace the "addis" with a "nop", and replace the "ld" with the identical "ld" instruction from the small code model example. Consider next a load of a function-scope static integer. For small code model, the compiler generates: ld 3, .LC1@toc(2) lwz 4, 0(3) .section .toc,"aw",@progbits .LC1: .tc test_fn_static.si[TC],test_fn_static.si .type test_fn_static.si,@object .local test_fn_static.si .comm test_fn_static.si,4,4 For medium code model, the compiler generates: addis 3, 2, test_fn_static.si@toc@ha addi 3, 3, test_fn_static.si@toc@l lwz 4, 0(3) .type test_fn_static.si,@object .local test_fn_static.si .comm test_fn_static.si,4,4 Again, the linker may replace the "addis" with a "nop", calculating only a 16-bit offset when this is sufficient. Note that it would be more efficient for the compiler to generate: addis 3, 2, test_fn_static.si@toc@ha lwz 4, test_fn_static.si@toc@l(3) The current patch does not perform this optimization yet. This will be addressed as a peephole optimization in a later patch. For the moment, the default code model for 64-bit PowerPC will remain the small code model. We plan to eventually change the default to medium code model, which matches current upstream GCC behavior. Note that the different code models are ABI-compatible, so code compiled with different models will be linked and execute correctly. I've tested the regression suite and the application/benchmark test suite in two ways: Once with the patch as submitted here, and once with additional logic to force medium code model as the default. The tests all compile cleanly, with one exception. The mandel-2 application test fails due to an unrelated ABI compatibility with passing complex numbers. It just so happens that small code model was incredibly lucky, in that temporary values in floating-point registers held the expected values needed by the external library routine that was called incorrectly. My current thought is to correct the ABI problems with _Complex before making medium code model the default, to avoid introducing this "regression." Here are a few comments on how the patch works, since the selection code can be difficult to follow: The existing logic for small code model defines three pseudo-instructions: LDtoc for most uses, LDtocJTI for jump table addresses, and LDtocCPT for constant pool addresses. These are expanded by SelectCodeCommon(). The pseudo-instruction approach doesn't work for medium code model, because we need to generate two instructions when we match the same pattern. Instead, new logic in PPCDAGToDAGISel::Select() intercepts the TOC_ENTRY node for medium code model, and generates an ADDIStocHA followed by either a LDtocL or an ADDItocL. These new node types correspond naturally to the sequences described above. The addis/ld sequence is generated for the following cases: * Jump table addresses * Function addresses * External global variables * Tentative definitions of global variables (common linkage) The addis/addi sequence is generated for the following cases: * Constant pool entries * File-scope static global variables * Function-scope static variables Expanding to the two-instruction sequences at select time exposes the instructions to subsequent optimization, particularly scheduling. The rest of the processing occurs at assembly time, in PPCAsmPrinter::EmitInstruction. Each of the instructions is converted to a "real" PowerPC instruction. When a TOC entry needs to be created, this is done here in the same manner as for the existing LDtoc, LDtocJTI, and LDtocCPT pseudo-instructions (I factored out a new routine to handle this). I had originally thought that if a TOC entry was needed for LDtocL or ADDItocL, it would already have been generated for the previous ADDIStocHA. However, at higher optimization levels, the ADDIStocHA may appear in a different block, which may be assembled textually following the block containing the LDtocL or ADDItocL. So it is necessary to include the possibility of creating a new TOC entry for those two instructions. Note that for LDtocL, we generate a new form of LD called LDrs. This allows specifying the @toc@l relocation for the offset field of the LD instruction (i.e., the offset is replaced by a SymbolLo relocation). When the peephole optimization described above is added, we will need to do similar things for all immediate-form load and store operations. The seven "mcm-n.ll" test cases are kept separate because otherwise the intermingling of various TOC entries and so forth makes the tests fragile and hard to understand. The above assumes use of an external assembler. For use of the integrated assembler, new relocations are added and used by PPCELFObjectWriter. Testing is done with "mcm-obj.ll", which tests for proper generation of the various relocations for the same sequences tested with the external assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ed9e442cf098663ce213cb16778b44be466b441f |
|
26-Nov-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Decouple MCInstBuilder from the streamer per Eli's request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
391271f3bbcec02e0da26d7c246bfabff5cb4ddf |
|
26-Nov-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add MCInstBuilder, a utility class to simplify MCInst creation similar to MachineInstrBuilder. Simplify some repetitive code with it. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
915558e77559bf76c57031729d244d319fdce3e6 |
|
24-Nov-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
PPC: MCize most of the darwin PIC emission. The last remaining bit is "bcl 20, 31, AnonSymbol", which I couldn't find the instruction definition for. Only whitespace changes in assembly output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168541 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8f2dce0cda89a18c65735a62b2059a6d22d9ffd8 |
|
24-Nov-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
PPC: Simplify code with Twines. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
95d8afc5f2898b59240b0c0cd78d6f54140a91b8 |
|
12-Nov-2012 |
Ulrich Weigand <ulrich.weigand@de.ibm.com> |
Make TOC order deterministic by using MapVector instead of DenseMap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
827b7a070d349737f1d6ff63115e0cbb0c031f9c |
|
05-Nov-2012 |
Hal Finkel <hfinkel@anl.gov> |
Add support for the PowerPC-specific inline asm Z constraint and y modifier. The Z constraint specifies an r+r memory address, and the y modifier expands to the "r, r" in the asm string. For this initial implementation, the base register is forced to r0 (which has the special meaning of 0 for r+r addressing on PowerPC) and the full address is taken in the second register. In the future, this should be improved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167388 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
426c2bf5cdd2173e4a33aea8cb92cf684a724f4b |
|
01-Nov-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Revert the majority of the next patch in the address space series: r165941: Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. Despite this commit log, this change primarily changed stuff outside of VMCore, and those changes do not carry any tests for correctness (or even plausibility), and we have consistently found questionable or flat out incorrect cases in these changes. Most of them are probably correct, but we need to devise a system that makes it more clear when we have handled the address space concerns correctly, and ideally each pass that gets updated would receive an accompanying test case that exercises that pass specificaly w.r.t. alternate address spaces. However, from this commit, I have retained the new C API entry points. Those were an orthogonal change that probably should have been split apart, but they seem entirely good. In several places the changes were very obvious cleanups with no actual multiple address space code added; these I have not reverted when I spotted them. In a few other places there were merge conflicts due to a cleaner solution being implemented later, often not using address spaces at all. In those cases, I've preserved the new code which isn't address space dependent. This is part of my ongoing effort to clean out the partial address space code which carries high risk and low test coverage, and not likely to be finished before the 3.2 release looms closer. Duncan and I would both like to see the above issues addressed before we return to these changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
aa71428378c1cb491ca60041d8ba7aa110bc963d |
|
25-Oct-2012 |
Adhemerval Zanella <azanella@linux.vnet.ibm.com> |
Initial TOC support for PowerPC64 object creation This patch adds initial PPC64 TOC MC object creation using the small mcmodel (a single 64K TOC) adding the some TOC relocations (R_PPC64_TOC, R_PPC64_TOC16, and R_PPC64_TOC16DS). The addition of 'undefinedExplicitRelSym' hook on 'MCELFObjectTargetWriter' is meant to avoid the creation of an unreferenced ".TOC." symbol (used in the .odp creation) as well to set the R_PPC64_TOC relocation target as the temporary ".TOC." symbol. On PPC64 ABI, the R_PPC64_TOC relocation should not point to any symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2c39b15073db81d93bb629303915b7d7e5d088dc |
|
15-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165941 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f35c62bf025411393c7df0803851010cc0e597ba |
|
15-Oct-2012 |
Adhemerval Zanella <azanella@linux.vnet.ibm.com> |
PowerPC: add EmitTCEntry class for TOC creation This patch replaces the EmitRawText by a EmitTCEntry class (specialized for each Streamer) in PowerPC64 TOC entry creation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
fb384d61c78b60787ed65475d8403aee65023962 |
|
11-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Revert 165732 for further review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f3840d2c16a4ec4c879a8ded402835746de380f8 |
|
11-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Add in the first iteration of support for llvm/clang/lldb to allow variable per address space pointer sizes to be optimized correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3574eca1b02600bac4e625297f4ecf745f4c4f32 |
|
08-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Move TargetData to DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f145c135f3a28e2c59bd02e475fbf09f4157c9fb |
|
18-Sep-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Avoid symbol name clash when filling TOC. Patch by Adhemerval Zanella. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4cd56014ae05a6ccc92cdcc66d457ce37558fc31 |
|
18-Sep-2012 |
Roman Divacky <rdivacky@freebsd.org> |
On PPC64 emit the environment pointer. Patch by Adhemerval Zanella. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
94b17f334ba28cc11b2bf89911189904d00e99f7 |
|
03-Sep-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Remove always true checks. Noticed by Adhemerval Zanella. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bbd169b1d96e1012df9852d41b7fd00381ed9d48 |
|
29-Aug-2012 |
Hal Finkel <hfinkel@anl.gov> |
Reserve space for the mandatory traceback fields on PPC64. We need to reserve space for the mandatory traceback fields, though leaving them as zero is appropriate for now. Although the ABI calls for these fields to be filled in fully, no compiler on Linux currently does this, and GDB does not read these fields. GDB uses the first word of zeroes during exception handling to find the end of the function and the size field, allowing it to compute the beginning of the function. DWARF information is used for everything else. We need the extra 8 bytes of pad so the size field is found in the right place. As a comparison, GCC fills in a few of the fields -- language, number of saved registers -- but ignores the rest. IBM's proprietary OSes do make use of the full traceback table facility. Patch by Bill Schmidt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c6c2ced38411215e5bf46ded787c23810160dfa7 |
|
28-Aug-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Emit word of zeroes after the last instruction as a start of the mandatory traceback table on PowerPC64. This helps gdb handle exceptions. The other mandatory fields are ignored by gdb and harder to implement so just add there a FIXME. Patch by Bill Schmidt. PR13641. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
621b77ade2ff46d1d8594bddee6931b2f4a14706 |
|
28-Aug-2012 |
Hal Finkel <hfinkel@anl.gov> |
Add PPC Freescale e500mc and e5500 subtargets. Add subtargets for Freescale e500mc (32-bit) and e5500 (64-bit) to the PowerPC backend. Patch by Tobias von Koch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9fb8b49380e7cf6ce88400ad65051e830563bc81 |
|
24-Aug-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Lower constant pools and jump tables via TOC on PPC64/SVR4. In collaboration with Adhemerval Zanella. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162562 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0bcbd1df7a204e1e512f1a27066d725309de1b13 |
|
28-Jun-2012 |
Bill Wendling <isanbard@gmail.com> |
Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp and include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h. The reasoning is because the DebugInfo module is simply an interface to the debug info MDNodes and has nothing to do with analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0518fca843ff87d069ecb07fc00d306c1f587d58 |
|
26-Jun-2012 |
Jack Carter <jcarter@mips.com> |
There are a number of generic inline asm operand modifiers that up to r158925 were handled as processor specific. Making them generic and putting tests for these modifiers in the CodeGen/Generic directory caused a number of targets to fail. This commit addresses that problem by having the targets call the generic routine for generic modifiers that they don't currently have explicit code for. For now only generic print operands 'c' and 'n' are supported.vi Affected files: test/CodeGen/Generic/asm-large-immediate.ll lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/NVPTX/NVPTXAsmPrinter.cpp lib/Target/ARM/ARMAsmPrinter.cpp lib/Target/XCore/XCoreAsmPrinter.cpp lib/Target/X86/X86AsmPrinter.cpp lib/Target/Hexagon/HexagonAsmPrinter.cpp lib/Target/CellSPU/SPUAsmPrinter.cpp lib/Target/Sparc/SparcAsmPrinter.cpp lib/Target/MBlaze/MBlazeAsmPrinter.cpp lib/Target/Mips/MipsAsmPrinter.cpp MSP430 isn't represented because it did not even run with the long existing 'c' modifier and it was not apparent what needs to be done to get it inline asm ready. Contributer: Jack Carter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bd5cafd9bbba2180e7179436fb29071201d5ea9f |
|
11-Jun-2012 |
Hal Finkel <hfinkel@anl.gov> |
Rename the PPC target feature gpul to mfocrf. The PPC target feature gpul (IsGigaProcessor) was only used for one thing: To enable the generation of the MFOCRF instruction. Furthermore, this instruction is available on other PPC cores outside of the G5 line. This feature now corresponds to the HasMFOCRF flag. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
622382fc5effb34ccad6e029c9612c598a3dc050 |
|
11-Jun-2012 |
Hal Finkel <hfinkel@anl.gov> |
Add POWER6 and POWER7 CPU types to the PPC backend. No functional change; these will be used by upcoming scheduler enhancements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158313 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4d989ac93ce608057fb6b13a4068264ab037ecd5 |
|
01-Apr-2012 |
Hal Finkel <hfinkel@anl.gov> |
Add instruction itinerary for the PPC64 A2 core. This adds a full itinerary for IBM's PPC64 A2 embedded core. These cores form the basis for the CPUs in the new IBM BG/Q supercomputer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
79aa3417eb6f58d668aadfedf075240a41d35a26 |
|
17-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152997 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
21a1401413f074ffb216f74f94c5bc7a0e6cc1e1 |
|
28-Feb-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Properly MCize the section switch, removing a FIXME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151639 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4328f9f1749698fcf7ec0339666f6129847d258b |
|
27-Feb-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Reapply r151278 with fixes. MCize function entry label emission on PowerPC64 properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9b4d7088681b3386359497d5806b7365d5f6c39a |
|
25-Feb-2012 |
Hal Finkel <hfinkel@anl.gov> |
Revert r151278, breaks static linking. Reverting this because it breaks static linking on ppc64. Specifically, it may be linkonce_odr functions that are the problem. With this patch, if you link statically, calls to some functions end up calling their descriptor addresses instead of calling to their entry points. This causes the execution to fail with SIGILL (b/c the descriptor address just has some pointers, not code). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ca0af3a971eac682b1a60987831ae84b256ce37a |
|
23-Feb-2012 |
Roman Divacky <rdivacky@freebsd.org> |
MCize function entry label emission on PowerPC64 properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d55a2664f9493a4c3be242a75d339fac0ebe2e21 |
|
22-Feb-2012 |
Hal Finkel <hfinkel@anl.gov> |
Allow the use of an alternate symbol for calculating a function's size. The standard function epilog includes a .size directive, but ppc64 uses an alternate local symbol to tag the actual start of each function. Until recently, binutils accepted the .size directive as: .size test1, .Ltmp0-test1 however, using this directive with recent binutils will result in the error: .size expression for XXX does not evaluate to a constant so we must use the label which actually tags the start of the function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
31d157ae1ac2cd9c787dc3c1d28e64c682803844 |
|
18-Feb-2012 |
Jia Liu <proljc@gmail.com> |
Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
234bb38d6c421ea22229087a9835afe99e531276 |
|
07-Dec-2011 |
Hal Finkel <hfinkel@anl.gov> |
make CR spill and restore 64-bit clean (no functional change), and fix some other problems found with -verify-machineinstrs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146024 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
32e698cc104f4716dabddeae15133ba1b25969a1 |
|
01-Dec-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Small fix for assembler generation on Darwin PPC64. Patch by Michael Kostylev. PR11437. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f4e0d5d83db8bf73328d59d35471d0edd0b984f4 |
|
09-Nov-2011 |
Devang Patel <dpatel@apple.com> |
Remove unnecessary include. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c6d08f10bf797cc78068ef30bd0e8812a5bdc9a2 |
|
17-Oct-2011 |
Hal Finkel <hfinkel@anl.gov> |
Add PPC 440 scheduler and some associated tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3 |
|
24-Aug-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move TargetRegistry and TargetSelect from Target to Support where they belong. These are strictly utilities for registering targets and components. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
94b9550a32d189704a8eae55505edf62662c0534 |
|
26-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4b64e8a9e13ba782da2034e1dee52f077bdb759c |
|
25-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Separate MCInstPrinter registration from AsmPrinter registration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b262799d49891b036daa00eddf51947487346c98 |
|
06-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
createMCInstPrinter doesn't need TargetMachine anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134525 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a1000742d28f33dd8dd9858e64282e7749c0bd64 |
|
09-Jun-2011 |
Roman Divacky <rdivacky@freebsd.org> |
Fix emission of PPC64 assembler on non-darwin platforms by splitting VK_PPC_{HA,LO}16 into darwin and gas variants. Darwin wants {ha,lo}16(symbol) while gnu as wants symbol@{ha,l}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a5c177e70a42f48e4885075c4c48aad0816a2817 |
|
21-Mar-2011 |
Bill Wendling <isanbard@gmail.com> |
We need to pass the TargetMachine object to the InstPrinter if we are printing the alias of an InstAlias instead of the thing being aliased. Because we need to know the features that are valid for an InstAlias. This is part of a work-in-progress. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b46443a686c29a1aa8f881c48c35d3f61a35f7ac |
|
15-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
Wire up primitive support in the assembler backend for writing .o files directly on the mac. This is very early, doesn't support relocations and has a terrible hack to avoid .machine from being printed, but despite that it generates an bitwise-identical-to-cctools .o file for stuff like this: define i32 @test() nounwind { ret i32 42 } I don't plan to continue pushing this forward, but if anyone else was interested in doing it, it should be really straight-forward. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f3b6e0667996347e8c65e0173352d25d98ff0678 |
|
15-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
fix a regression with the new instprinter: we lost the ability to print DBG_VALUE instructions. This should unbreak the llvm-gcc-powerpc-darwin9 buildbot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
374c608fcac7fd550ce0cb1826355849a5e015be |
|
15-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
strength reduce TOC temp label generation, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
cb22fa6536bd17e54a89dc82cafc9fdf48321c36 |
|
15-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
rip out a ton of old instruction printing junk now that the new instprinting logic is there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3a4dd305ac7a3ddce109b359c8994c1a7868316a |
|
15-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
Turn on the new instprinter by default. The only change in the output is: 1) we get a better comment on mfcr, we get: mfcr r2 ; cr2 instead of: mfcr r2 ; 32 2) we no longer emit $stub's on powerpc/leopard. The Leopard linker autosynthesizes them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
dd57417c08d3fbb52935b70cf14edef34535d045 |
|
15-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
remove some extraneous quotes to make the new instprinter match. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
749ba48fabc929ae39d750e39231919f2135a500 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
with the picbase nonsense starting to be figured out, implement lowering support for MovePCtoLR[8]. Down to 4 failures again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
142b531e024c7b814df74951b378b9e3e11d0d42 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
move the pic base symbol stuff up to MachineFunction since it is trivial and will be shared between ppc and x86. This substantially simplifies the X86 backend also. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6135a96792ca05f6366e5dbaee6208e84589c47f |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
reimplement ppc asmprinter "toc" handling to use a VariantKind on the operand, required for .o file writing and fixing the PowerPC/mult-alt-generic-powerpc64.ll failure with the new instprinter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2ead458ae8423d6ecaec7cbd45e1e2c71ce9e618 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
lower PPC::MFCRpseud when transforming to MC, avoiding calling the aborting printSpecial() method. This gets us to 8 failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
fd6688f59aac65008f1a1ae6ce0529c72288361c |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
properly wire up the instprinter to the ppc64 backend, down to 5 failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a7217c824d512d6a80fbe97b82f4c2e15ec2a338 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
switch PPC to a simplified MCInstLowering model. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0d1b7d9e3dd8512b47655af7d8ea738ea1d4ac51 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
Implement support for printing register and immediate operands, add support for darwin vs aix syntax. We now can print instructions like this: add r3, r3, r4 blr and (in aix mode): add 3, 3, 4 blr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
293ef9ae0fd533429dc54d94c895c39a564466f7 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
stub out PPCMCInstLowering, add a new option that uses it and the new instprinter when -enable-ppc-inst-printer is passed to llc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119061 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
60d5b5fdeec64b69c92db60242d3d90b3f978e69 |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
stub out a powerpc MCInstPrinter implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0094345184bc0a791f0811c8d7f5b6f9c8296e0f |
|
14-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
move PPCAsmPrinter into the main PPC library, like ARM and X86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
06be997654120c92f99850bf1a1704a2042ef639 |
|
17-Aug-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Factor out asmprinter out of ppc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54887 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f5b6a47bb57fb5ffc734416d4d5d993e1a06273b |
|
08-Aug-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Handle visibility printing with all generality. Remove bunch of duplicate code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54540 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
382f0022726bff5ed088a171005c1ebde3635925 |
|
08-Aug-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Use chars, where possible git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7396e595434285d210fdafe51c41385b9fa709e3 |
|
08-Aug-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Convert PPC/Linux to new section printing stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54538 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bc331a8d6f8231ba383e00b9f8adcf72db8f5358 |
|
08-Aug-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Switch PPC/Darwin to new section handling stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
34da127be57c4d153f3ceae7a04b31aec373641f |
|
08-Aug-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Cleanup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
03b5ee77620483408a36c09e67ef2db1c5164de9 |
|
09-Jul-2008 |
Dale Johannesen <dalej@apple.com> |
Remove extra call to DW.SetModuleInfo on Linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
757809a1709dc939ae875f08419de158df04913d |
|
09-Jul-2008 |
Dale Johannesen <dalej@apple.com> |
Emit debug into for data-only files for Linux PPC. I cannot test this target, let me know if it breaks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
94618eb8887e34ead9afb711186526e7b080535c |
|
09-Jul-2008 |
Dale Johannesen <dalej@apple.com> |
Emit debug info for data-only files. This version applies to ppc Darwin only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
526be70f94538a2cc131ab1b0fd9f7264e00d297 |
|
09-Jul-2008 |
Evan Cheng <evan.cheng@apple.com> |
Back out 53254. It broke ppc debug info codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53280 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f71cb9b3ed1d7b3e438e9990ce1587ba275e70bf |
|
08-Jul-2008 |
Dale Johannesen <dalej@apple.com> |
Make debug info come out in data-only files. This is a question of the debugging setup code not being called at the right time, and it's called from target-dependent code for some reason. I have only attempted to fix Darwin, but I'm pretty sure it's broken elsewhere; I'll leave that to people who can test it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53254 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
247580b5695b948a0eb3ddaa236c9e206a4103fe |
|
24-May-2008 |
Dale Johannesen <dalej@apple.com> |
Put initialized const weak objects into correct sections on ppc32 darwin. g++.dg/abi/key2.C git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c215b3ef5d9627f5fb6fe9034e46bc29ae592916 |
|
19-May-2008 |
Dale Johannesen <dalej@apple.com> |
Handle quoted names when constructing $stub's, $non_lazy_ptr's and $lazy_ptr's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ea7dd407149332e5ab1ffc42c8344ecd1751008f |
|
16-May-2008 |
Dale Johannesen <dalej@apple.com> |
Record weak external linkage in a case where we were missing it. gcc.dg/darwin-weakimport-2.c. Handle common and weak differently for darwin ppc32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51201 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
aafce77b17d340aace52bcd49d1944109d82f14a |
|
14-May-2008 |
Dale Johannesen <dalej@apple.com> |
Add CommonLinkage; currently tentative definitions are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1532f3ddd77c362dd5f613af06b4de636e3c5b0e |
|
02-Apr-2008 |
Dale Johannesen <dalej@apple.com> |
Recommitting EH patch; this should answer most of the review feedback. -enable-eh is still accepted but doesn't do anything. EH intrinsics use Dwarf EH if the target supports that, and are handled by LowerInvoke otherwise. The separation of the EH table and frame move data is, I think, logically figured out, but either one still causes full EH info to be generated (not sure how to split the metadata correctly). MachineModuleInfo::needsFrameInfo is no longer used and is removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b6d5b1439047609c050576f3dc52b722e76bd30b |
|
01-Apr-2008 |
Dale Johannesen <dalej@apple.com> |
Revert 49006 for the moment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1544e4713be68edcf042de5aed7265dff7169d9d |
|
01-Apr-2008 |
Dale Johannesen <dalej@apple.com> |
Emit exception handling info for functions which are not marked nounwind, or for all functions when -enable-eh is set, provided the target supports Dwarf EH. llvm-gcc generates nounwind in the right places; other FEs will need to do so also. Given such a FE, -enable-eh should no longer be needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e22e62b5c07616782cc3dca50f5f369965eb095c |
|
25-Mar-2008 |
Evan Cheng <evan.cheng@apple.com> |
Smaller function alignment when optimizing for size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
cfbb2f074da2842e42956d3b4c21e91b37f36f06 |
|
25-Mar-2008 |
Dan Gohman <gohman@apple.com> |
A quick nm audit turned up several fixed tables and objects that were marked read-write. Use const so that they can be allocated in a read-only segment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
fb8075d03f5c87bd57dcc9c5f2304f6b13c55aad |
|
28-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to 16-byte boundaries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
74ab84c31ef64538a1b56e1f282e49303412ad17 |
|
26-Feb-2008 |
Bill Wendling <isanbard@gmail.com> |
Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool would have been a Godsend here! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47625 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ec321b4d64ee02a1b90021c09d9513618787c6e8 |
|
15-Feb-2008 |
Chris Lattner <sabre@nondot.org> |
Handle \n's in value names for more targets. The asm printers really really really need refactoring :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47171 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
db01c8ba26f288636d3f574a96af3499ee6d2579 |
|
15-Feb-2008 |
Dale Johannesen <dalej@apple.com> |
Rewrite tblgen handling of subtarget features so it follows the order of the enum, not alphabetical. The motivation is to make -mattr=+ssse3,+sse41 select SSE41 as it ought to. Added "ignored" enum values of 0 to PPC and SPU to avoid compiler warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6f0d024a534af18d9e60b3ea757376cd8a3a980e |
|
10-Feb-2008 |
Dan Gohman <gohman@apple.com> |
Rename MRegisterInfo to TargetRegisterInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5a804e3e21f8cfeb8b1a65aae0ef8d0e063a5256 |
|
05-Feb-2008 |
Nate Begeman <natebegeman@mac.com> |
Ident mnemonics appropriately git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4eecdeb3faf5df864790175da5d58301b751ec11 |
|
02-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
Get rid of the annoying blank lines before labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46667 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
824a721560f29eedb1427f81182e81cacf7e3ad4 |
|
26-Jan-2008 |
Bill Wendling <isanbard@gmail.com> |
If there's no instructions being emitted on X86 for a function, emit a nop. Emit the nop directly for PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
381802f8e06668d0ec5fc760804c83e511dafc7c |
|
26-Jan-2008 |
Bill Wendling <isanbard@gmail.com> |
If there are no machine instructions emitted for a function, then insert a "nop" instruction so that we don't have the function's label associated with something that it's not supposed to be associated with. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
25edeb32e77fdabbb986787a91a46435dfbaf716 |
|
23-Jan-2008 |
Dale Johannesen <dalej@apple.com> |
Honor explicit section information on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d15d086956f0b9fabd95d729023468e068e930c9 |
|
18-Jan-2008 |
Dale Johannesen <dalej@apple.com> |
Revert the part of 45848 that treated weak globals as weak globals rather than commons. While not wrong, this change tickled a latent bug in Darwin's strip, so revert it for now as a workaround. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c7406ae773a88b496b34d03896310631576c48a7 |
|
11-Jan-2008 |
Dale Johannesen <dalej@apple.com> |
Weak things initialized to 0 don't go in bss on Darwin. Cosmetic changes to spacing to match gcc (some dejagnu tests actually care). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
564da5d646dfeb56df931b42fefa7c5f2591057e |
|
02-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
leopard and above support alignment for common symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8aa797aa51cd4ea1ec6f46f4891a6897944b75b2 |
|
31-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Add new shorter predicates for testing machine operands for various types: e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9a1ceaedc282f0cae31f2723f4d6c00c7b88fe90 |
|
30-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Use MachineOperand::getImm instead of MachineOperand::getImmedValue. Likewise setImmedValue -> setImm git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4ee451de366474b9c228b4e5fa573795a715216d |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Remove attribution from file headers, per discussion on llvmdev. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1d4ce2ab962fee691239d58c8157c12b8037f9de |
|
21-Nov-2007 |
Dale Johannesen <dalej@apple.com> |
Fix .eh table linkage issues on Darwin. Some EH support for Darwin PPC, but it's not fully working yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44258 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ca0ed744852a7d9625572fbb793f65e81225a3e8 |
|
05-Nov-2007 |
Duncan Sands <baldrick@free.fr> |
Eliminate the remaining uses of getTypeSize. This should only effect x86 when using long double. Now 12/16 bytes are output for long double globals (the exact amount depends on the alignment). This brings globals in line with the rest of LLVM: the space reserved for an object is now always the ABI size. One tricky point is that only 10 bytes should be output for long double if it is a field in a packed struct, which is the reason for the additional argument to EmitGlobalConstant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43688 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f4c164c2b5bbaa2be4f1d8fedcf9df621378340d |
|
04-Nov-2007 |
Nick Lewycky <nicholas@mxc.ca> |
Fix crash before main on ppc/linux with static constructors. PR1771 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
347d39f1fd8ad825a7ec5b8a3dce816723a56d42 |
|
14-Oct-2007 |
Evan Cheng <evan.cheng@apple.com> |
Revert 42908 for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8ddde0a151c5297ae5694a4b9201b2d3fe56b196 |
|
12-Oct-2007 |
Dan Gohman <gohman@apple.com> |
Change the names used for internal labels to use the current function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
cb406c25973b4e88a6c10ad839ef1beeb3664715 |
|
03-Oct-2007 |
Dan Gohman <gohman@apple.com> |
Use empty() member functions when that's what's being tested for instead of comparing begin() and end(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
76a4023096fc330db11d711197388d9f3ba91cc6 |
|
21-Sep-2007 |
Evan Cheng <evan.cheng@apple.com> |
Honor user-defined section specification of a global, ignores whether its initializer is null. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0f0daea654791f48f17f7bd87eeb97c0868adee4 |
|
21-Sep-2007 |
Devang Patel <dpatel@apple.com> |
Do not override user specified section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
92dfe2001e96f6e2b6d327e8816f38033f88b295 |
|
14-Sep-2007 |
Dan Gohman <gohman@apple.com> |
Remove isReg, isImm, and isMBB, and change all their users to use isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b8275a3f6f6497889653cb2452d82a46f92b4926 |
|
25-Jul-2007 |
Dan Gohman <gohman@apple.com> |
Don't ignore the return value of AsmPrinter::doInitialization and AsmPrinter::doFinalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e2b905232f8cc61a601bc4003de42d32f4b97dd2 |
|
25-Jul-2007 |
Nick Lewycky <nicholas@mxc.ca> |
Fix debug info and globals filled with zeros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4105a9fec0b7aa57de3455fb69de1861a5d74752 |
|
03-May-2007 |
Chris Lattner <sabre@nondot.org> |
add support for printing offset of global git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36667 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6c2d2601614ba769c0371f01e22ebebd92643be5 |
|
25-Apr-2007 |
Chris Lattner <sabre@nondot.org> |
Fix PR1351 and CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
032953d74746fa89b62e49b63a38ba6d8827b81a |
|
08-Mar-2007 |
Evan Cheng <evan.cheng@apple.com> |
Putting more constants which do not contain relocations into .literal{4|8|16} git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
98ded765c2dc2f256e9f11502ca302f2b24f31e8 |
|
08-Mar-2007 |
Evan Cheng <evan.cheng@apple.com> |
For Darwin, put constant data into .const, .const_data, .literal{4|8|16} sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35017 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f54949dc494ced20b24b968284a25037fca06743 |
|
03-Mar-2007 |
Nick Lewycky <nicholas@mxc.ca> |
Emit low/high immediate loads properly for Linux/PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34871 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bda9b0ec7bd6974cebf751ecd23c5434b34054e9 |
|
21-Feb-2007 |
Jim Laskey <jlaskey@mac.com> |
Add support for changes in DwarfWriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9aa2895360bd3951fc4f204d8699b84fd9ea6ba5 |
|
01-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
Fix CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5cbf985dcbc89fba3208e7baf8b6f488b06d3ec9 |
|
30-Jan-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b267ca17d1351b28d597e7807b5ed398e92d65e4 |
|
30-Jan-2007 |
Evan Cheng <evan.cheng@apple.com> |
Darwin -static should codegen static ctors / dtors to .constructor / .destructor sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
44c3b9fdd416c79f4b67cde1aecfced5921efd81 |
|
26-Jan-2007 |
Jim Laskey <jlaskey@mac.com> |
Change the MachineDebugInfo to MachineModuleInfo to better reflect usage for debugging and exception handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
78192b620450ce7897b68c48cd5d3f1a6defbb7b |
|
25-Jan-2007 |
Chris Lattner <sabre@nondot.org> |
Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
70d4107a45ab39e1bc3e7a67a86b59655cba34ec |
|
14-Jan-2007 |
Chris Lattner <sabre@nondot.org> |
add support for hidden visibility to darwin/ppc and linux/ppc targets git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bf1118285c0f784b120a69b4a4207e15ef065ead |
|
21-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Changes from Nick Lewycky with a simplified PPCTargetAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2aa14aad985aac64076437cdf91ec5b54f07f011 |
|
20-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Oops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32724 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
40ee69f3ca4433dc14072b2b29f7b47fc75a5dca |
|
20-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Original patch was overly complicated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32723 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b608a4dd4c9f8693054362ab8156b6039ee07a88 |
|
20-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Changes to target powerpc for non-Darwin assemblers. 1. Patches from Nick Lewycky. 2. Code to filter register names and print them as numeric values on non-Darwin systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
95b2c7da5e83670881270c1cd231a240be0556d9 |
|
19-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
eliminate static ctors for Statistic objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
15404d060ba8b604c03b9223a0f2e2abcd0fdded |
|
18-Dec-2006 |
Rafael Espindola <rafael.espindola@gmail.com> |
move ExtWeakSymbols to AsmPrinter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c35010d3a44397dd04ed3bff5287f9c718dacd4a |
|
12-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Honor cpu directive, take two. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9a7dfa3fd465aa7cf275003dbb11234e34bb2d8c |
|
12-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Rollback changes to take a different tack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32488 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
55a7ec33d7cafa703a1b6e6410d7c26d5b7ded0b |
|
12-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Honor the command line specification for machine type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f5da13367f88f06e3b585dc2263ab6e9ca6c4bf8 |
|
07-Dec-2006 |
Bill Wendling <isanbard@gmail.com> |
What should be the last unnecessary <iostream>s in the library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ac0b6ae358944ae8b2b5a11dc08f52c3ed89f2da |
|
06-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8752ce61e1ba3973e0082085c1c3c9b8069ea2b7 |
|
01-Dec-2006 |
Evan Cheng <evan.cheng@apple.com> |
Add weak reference directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9382e29c1ebc6524618b173ed04bc25295d02c6e |
|
01-Dec-2006 |
Evan Cheng <evan.cheng@apple.com> |
Copy and paste error. An initialized global cannot be a weak reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
45e507ca9bb09f02e24496cc0885b4ea7debdba9 |
|
01-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
ExternalWeak case in wrong location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
81cf60fceb411b5cc8a161d4332c5c9d0784f326 |
|
01-Dec-2006 |
Evan Cheng <evan.cheng@apple.com> |
A initialized global variable cannot be extern weak. However, if a global value's initializer is itself a external weak symbol, emit the weak reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1c45a6687399d57d8da234d61f936ee37a108a45 |
|
01-Dec-2006 |
Evan Cheng <evan.cheng@apple.com> |
Darwin PPC external weak linkage support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2ada08536e30dbcbea21addc814f3bf8a394a4ee |
|
28-Nov-2006 |
Jim Laskey <jlaskey@mac.com> |
Prime text sections to improve branch locality in large object files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
566c1b1a0442ccbf9f52b176dbca9764d94e5f93 |
|
18-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
Pretty print 'rldicr r2, r2, 2, 61' as 'sldi r2, r2, 2'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
df4ed6350b2a51f71c0980e86c9078f4046ea706 |
|
17-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
start using PPC predicates more consistently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1b0a2d8370b28de0d3998b0303bc3dad983989d9 |
|
16-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
fix a regression that I introduced. stdu should scale the offset by 4 before printing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
af53a87052f41664ff5962731d0b64e3b51a5501 |
|
04-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
Go through all kinds of trouble to mark 'blr' as having a predicate operand that takes a register and condition code. Print these pieces of BLR the right way, even though it is currently set to 'always'. Next up: get the JIT encoding right, then enhance branch folding to produce predicated blr for simple examples. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3ed469ccd7b028a030b550d84b7336d146f5d8fa |
|
02-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR786: Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ab4022f196059745c0ca0780b71a80fa67e896be |
|
31-Oct-2006 |
Anton Korobeynikov <asl@math.spbu.ru> |
1. Clean up code due to changes in SwitchTo*Section(2) 2. Added partial debug support for mingw\cygwin targets (the same as Linux\ELF). Please note, that currently mingw\cygwin uses 'stabs' format for storing debug info by default, thus many (runtime) libraries has this information included. These formats shouldn't be mixed in one binary ('stabs' & 'DWARF'), otherwise binutils tools will be confused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
31b6ddad31689b996c94dcde5f32fb2585df4af6 |
|
28-Oct-2006 |
Evan Cheng <evan.cheng@apple.com> |
Doh. Must check if GV is constant first before putting it in .cstring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31253 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
80aa9a122fa8fab00b2431314cf57680f6807ad7 |
|
26-Oct-2006 |
Evan Cheng <evan.cheng@apple.com> |
Place cstrings in .cstring section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31207 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f9c197e022521a83f8876890b4241fc23e63572c |
|
24-Oct-2006 |
Devang Patel <dpatel@apple.com> |
Move getPreferredAlignmentLog from AsmPrinter to TargetData git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31171 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1da31ee472b9615d7329c656e2cc17c419ed7c95 |
|
05-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
Pass the MachineFunction into EmitJumpTableInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9b7ce7da820ada2cdada185de9c9aa94298e485e |
|
05-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
Move getSectionForFunction to AsmPrinter, change it to return a string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b56dcc453e1bd3fc75e4393b3b1bd1b07d86903e |
|
05-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
implement DarwinTargetAsmInfo::getSectionForFunction, use it when outputting function bodies git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
fea13d33e50a9d6777237e76bb59b3be5422bdbc |
|
05-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
emit jump table before debug info git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30731 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
37dfa02788711b72618497ce5acf39596e3a0211 |
|
05-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
Always emit the jump table after the function so it's part of the same 'atom' as the function body. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4da1c82f724adba2832f79b3b49fc96c1467076d |
|
20-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
The DarwinAsmPrinter need not check for isDarwin. createPPCAsmPrinterPass should create the right asmprinter subclass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
dadceedbdb9ef642c49283b632dcfefe48ee4cf4 |
|
20-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
Wrap some darwin'isms with isDarwin checks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30541 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a0f3d17daac73c9c71aad497b298cbe82848f726 |
|
08-Sep-2006 |
Jim Laskey <jlaskey@mac.com> |
Make target asm info a property of the target machine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
563321a2582851c653d0863e8e0bba3d483734f9 |
|
06-Sep-2006 |
Jim Laskey <jlaskey@mac.com> |
Separate target specific asm properties from the asm printers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a4f0b3a084d120cfc5b5bb06f64b222f5cb72740 |
|
27-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
s|llvm/Support/Visibility.h|llvm/Support/Compiler.h| git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b9ca92661cf145bfb3bd9705e5629fc5f411a42f |
|
25-Aug-2006 |
Evan Cheng <evan.cheng@apple.com> |
Encode pc-relative conditional branch offset as pc+(num of bytes / 4). The asm printer will print it as offset*4. e.g. bne cr0, $+8. The PPC code emitter was expecting the offset to be number of instructions, not number of bytes. This fixes a whole bunch of JIT failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
52a51e38dc312aa262b0d771419afe1785f3cb22 |
|
12-Aug-2006 |
Nate Begeman <natebegeman@mac.com> |
Emit .set directives for jump table entries when possible, which reduces the number of relocations in object files, shrinkifying them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2f1ae88445c696a9b9d61e14747ba721190cdc99 |
|
27-Jul-2006 |
Nate Begeman <natebegeman@mac.com> |
Support jump tables when in PIC relocation model git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
35d86fef1f1fc5845366c7c36803a6a3334d8a2e |
|
26-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ba4733d901b1c2b994f66707657342b8c81c92bc |
|
15-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Remove what little AIX support we have. It has never been tested and isn't complete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
45c04fc676027c2db5e20939c487dea54b3db151 |
|
13-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Print negative immediates as negative values instead of large constants when using the immshifted addressing mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9525528a7dc5462b6374d38c81ba5c07b11741fe |
|
29-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Use hidden visibility to make symbols in an anonymous namespace get dropped. This shrinks libllvmgcc.dylib another 67K git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2a41a98fb70923e2d6780220eb225ac0e8b4ff36 |
|
29-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
shrink libllvmgcc.dylib another 25K git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9f029a61e91b83c89b221bfce75d16a5442340c7 |
|
27-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Print stubs for external globals right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e4172be9209a81a41cbea97b9307e368e7e3ea4c |
|
27-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Add a pattern for i64 sra. Print 8-byte units with a space between the .quad and the data git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7e097e463314baa3c964a977408aa51ecabe7796 |
|
27-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Print darwin stub stuff correctly in 64-bit mode. With this, treeadd works in ppc64 mode! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
89d67faf30ed1a8b5364f53c9a0f5e07a9a0719c |
|
23-Jun-2006 |
Jim Laskey <jlaskey@mac.com> |
Add and sort "sections" in debug lines. This always stepping through code in sections other than ".text", including weak sections like ctors and dtors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b410dc99774d52b4491750dab10b91cca1d661d8 |
|
21-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Rename OR4 -> OR. Move some PPC64-specific stuff to the 64-bit file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f8a01a966120a041fe96300271573a8bf5a3e668 |
|
15-Jun-2006 |
Jim Laskey <jlaskey@mac.com> |
1. Support standard dwarf format (was bootstrapping in Apple format.) 2. Add vector support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
014f98c7e5cbf41104ab9a86e32b8ce869982934 |
|
14-Jun-2006 |
Jim Laskey <jlaskey@mac.com> |
Place dwarf headers at earliest possible point. Well behaved when skipping functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f1d2337be1adf74888d1709977fdeda393c8d532 |
|
15-May-2006 |
Chris Lattner <sabre@nondot.org> |
Remove some dead code, identified by coverity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b57b516f6d009ca3683f598a6026e23c7d1386e9 |
|
12-May-2006 |
Chris Lattner <sabre@nondot.org> |
remove dead variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
219f1b535dd65cf49d783f846bd8da80e3700c2e |
|
09-May-2006 |
Chris Lattner <sabre@nondot.org> |
Indent .data/.text in the .s file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4632d7a57008564c4b0f8246e85bd813a200d2c6 |
|
09-May-2006 |
Chris Lattner <sabre@nondot.org> |
Split SwitchSection into SwitchTo{Text|Data}Section methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
35c3913328b254871731f1f5cc092c303a2cd378 |
|
05-May-2006 |
Chris Lattner <sabre@nondot.org> |
Print a grouping around inline asm blocks so that we can tell when we are using them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2d90ac7ca6117d3b160dde8a4f322c1079a6ffce |
|
04-May-2006 |
Chris Lattner <sabre@nondot.org> |
Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
63b3d7113d93fda622c4954c6b1d046ce029044e |
|
04-May-2006 |
Chris Lattner <sabre@nondot.org> |
There shalt be only one "immediate" operand type! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ea50fabfd4e5fad25a25b312f64a9b2a53363586 |
|
04-May-2006 |
Chris Lattner <sabre@nondot.org> |
Remove a bunch more SparcV9 specific stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
10f3597c4e0c13ecf0272b7ca0be741a91ade48c |
|
04-May-2006 |
Chris Lattner <sabre@nondot.org> |
Remove some more unused stuff from MachineInstr that was leftover from V9. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a69571c7991813c93cba64e88eced6899ce93d81 |
|
03-May-2006 |
Owen Anderson <resistor@mac.com> |
Refactor TargetMachine, pushing handling of TargetData into the target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6e0f3868965612fbd391ec9d4c5eeec6ffebb351 |
|
02-May-2006 |
Nate Begeman <natebegeman@mac.com> |
Hooray, everyone now uses the same printBasicBlockLabel implementation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
cdf38c4edb892c356cfaa3c09c57728bc8d6bfd0 |
|
02-May-2006 |
Nate Begeman <natebegeman@mac.com> |
Extend printBasicBlockLabel a bit so that it can be used to print all basic block labels, consolidating the code to do so in one place for each target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
37efe6764568a3829fee26aba532283131d1a104 |
|
22-Apr-2006 |
Nate Begeman <natebegeman@mac.com> |
JumpTable support! What this represents is working asm and jit support for x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6b92b8e50d7e5b48407865c3aaf9966c01416c69 |
|
07-Apr-2006 |
Jim Laskey <jlaskey@mac.com> |
Make sure that debug labels are defined within the same section and after the entry point of a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9c61dcf1aaf275a1733b6785c54d34eda5426ae1 |
|
25-Mar-2006 |
Chris Lattner <sabre@nondot.org> |
Codegen things like: <int -1, int -1, int -1, int -1> and <int 65537, int 65537, int 65537, int 65537> Using things like: vspltisb v0, -1 and: vspltish v0, 1 instead of using constant pool loads. This implements CodeGen/PowerPC/vec_splat.ll:splat_imm_i{32|16}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
99db0442f03f75aa36b560a7f4327bfa992ac15c |
|
23-Mar-2006 |
Jim Laskey <jlaskey@mac.com> |
Change interface to DwarfWriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e5ba580ab05b18eaa9fd4d36e31466e41f693ad9 |
|
22-Mar-2006 |
Chris Lattner <sabre@nondot.org> |
Add support for "ri" addressing modes where the immediate is a 14-bit field which is shifted left two bits before use. Instructions like STD use this addressing mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
13feb58aa1042ed01962ade548459b8f01ba1a48 |
|
21-Mar-2006 |
Chris Lattner <sabre@nondot.org> |
Print absolute memory references like this: lwz r2, 8(0) instead of this: lwz r2, 8(r0) This fixes the llc/llc-beta failures on PPC last night. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c4c6257c1a154279bf10e9498d46d6c1793dbaa7 |
|
14-Mar-2006 |
Evan Cheng <evan.cheng@apple.com> |
Added getTargetLowering() to TargetMachine. Refactored targets to support this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7809811e4ed3c2462efa327cef0464b9844baea2 |
|
07-Mar-2006 |
Jim Laskey <jlaskey@mac.com> |
Use "llvm.metadata" section for debug globals. Filter out these globals in the asm printer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2c003e26e583e6acafca142ef93efa95a84866a1 |
|
24-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Add memory printing support for PPC. Input memory operands now work with inline asms! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e3f01570c172570fb2c0bacc6b8860ee6809362d |
|
23-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Implement the PPC inline asm "L" modifier. This allows us to compile: long long test(long long X) { __asm__("foo %0 %L0 %1 %L1" : "=r"(X): "r"(X)); return X; } to: foo r2 r3 r2 r3 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4c1aa866578f7a358407a22fe55b454f52a24325 |
|
22-Feb-2006 |
Evan Cheng <evan.cheng@apple.com> |
- Added option -relocation-model to set relocation model. Valid values include static, pic, dynamic-no-pic, and default. PPC and x86 default is dynamic-no-pic for Darwin, pic for others. - Removed options -enable-pic and -ppc-static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0420f2aaf9551a10e2060d076de2fcdd7b316370 |
|
22-Feb-2006 |
Jim Laskey <jlaskey@mac.com> |
Coordinate activities with llvm-gcc4 and dwarf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d2ee218b499fcd364aae7da031819b738f009cd1 |
|
18-Feb-2006 |
Evan Cheng <evan.cheng@apple.com> |
Moved PICEnabled to include/llvm/Target/TargetOptions.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0d7db6f79a61803fff87d12d9c75c0f54d863d10 |
|
14-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
If we have zero initialized data with external linkage, use .zerofill to emit it (instead of .space), saving a bit of space in the .o file. For example: int foo[100]; int bar[100] = {}; when compiled with C++ or -fno-common results in shrinkage from 1160 to 360 bytes of space. The X86 backend can also do this on darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
33d5082779c0957f80253c01e10cbddfbf2825c8 |
|
14-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Make sure that weak functions are aligned properly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
418caa135640833fda641997dae657062dccf0f4 |
|
09-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Darwin doesn't support #APP/#NO_APP git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4d73a5a204b2e9f409347102fc0701e5b68699cb |
|
08-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Emit the 'mr' pseudoop for easier reading. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
815ef5b3dd7536e62038c091f6bf17f7badbfe5a |
|
06-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Change prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
984cb3773f78ed290e33e05d25a6620deec6ca04 |
|
06-Feb-2006 |
Jim Laskey <jlaskey@mac.com> |
We seem to have settled to __DWARF for section name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7d8d5a522fb6d9d83f5d89f30fe1badf68832efd |
|
05-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Use the asmprinter to find out what the preferred alignment of a global is. This patch speeds up 172.mgrid from 31.81s to 11.39s on darwin/ppc. Many many thanks to Nate for tracking down the root cause of the issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25979 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
588732748ba804e1e258df8856e20b3b73348ac3 |
|
01-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
add a method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b3e789ac2548a4382d0db03b573fd8a127617f8f |
|
26-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Set up MachineDebugInfo to scan for debug information form "llvm.db"g globals. Global Variable information is now pulled from "llvm.dbg.globals" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
52060a0e7190d7713042f18b1b949d1ae953638f |
|
24-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Crude Dwarf global variable debugging. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2c2c6c61f100bc7c3df873b11203fcea1b5e18fe |
|
23-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
Add explicit #includes of <iostream> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25515 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bc1c2154534e8469ac5258ea145e3ce2ccd7ee07 |
|
21-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
trivial formatting improvement: don't insert extra blank lines between .comm vars. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e719a7c40b58a382144212828bfecd4e64210b92 |
|
18-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Added minimum Dwarf aranges. Cleaned up some section headers. Line number support now works in gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
19ef4efa70b29aa2ef2d68a60e9bdfa7a4b47d89 |
|
17-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Add frame work for additional dwarf sections. Comments will improve as code is added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
063e765345fd49df0f53b807e57ada7c2ded7e16 |
|
17-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Adding basic support for Dwarf line number debug information. I promise to keep future commits smaller. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
abf6d1784b2d4bbcb7d20ab64881f77d755059f6 |
|
05-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Added initial support for DEBUG_LABEL allowing debug specific labels to be inserted in the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b2efb853f00d45b1c8d57f92acd0028fbdeffda6 |
|
04-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Applied some recommend changes from sabre. The dominate one beginning "let the pass manager do it's thing." Fixes crash when compiling -g files and suppresses dwarf statements if no debug info is present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25100 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a7cea6f599418a579ab5ce66413fba7efa8bf581 |
|
04-Jan-2006 |
Jim Laskey <jlaskey@mac.com> |
Tie dwarf generation to darwin assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
50fb3c498601a84e0d82d7bab3e28c820dd64598 |
|
24-Dec-2005 |
Nate Begeman <natebegeman@mac.com> |
Fix one of the things in the todo file, and get a bit closer to folding constant offsets from statics into the address arithmetic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
cec26fc3bf1f9d177a4befabd278410f0cb7d2b8 |
|
22-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
fix handling of weak linkage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24964 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
88276b887c426cf5d998b705a14663bfa38f8efd |
|
20-Dec-2005 |
Nate Begeman <natebegeman@mac.com> |
Fix a couple of the FIXMEs, thanks to suggestion from Chris. This allows us to load and store vectors directly at a pointer (offset of zero) by using r0 as the base register. This also requires some asm printer work to satisfy the darwin assembler. For void %foo(<4 x float> * %a) { entry: %tmp1 = load <4 x float> * %a; %tmp2 = add <4 x float> %tmp1, %tmp1 store <4 x float> %tmp2, <4 x float> *%a ret void } We now produce: _foo: lvx v0, 0, r3 vaddfp v0, v0, v0 stvx v0, 0, r3 blr Instead of: _foo: li r2, 0 lvx v0, r2, r3 vaddfp v0, v0, v0 stvx v0, r2, r3 blr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7fd1edd32e9a6782dbcd00818bbdaf82f14284a1 |
|
20-Dec-2005 |
Nate Begeman <natebegeman@mac.com> |
Convert load/store over to being pattern matched git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24871 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f5395cee6a24699a016b2e379cf4804b09ce5030 |
|
16-Dec-2005 |
Jim Laskey <jlaskey@mac.com> |
Added source file/line correspondence for dwarf (PowerPC only at this point.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d9e0ba49a4cf288eee9b58857b92a89f5a141c4b |
|
16-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
Weak and linkonce global vars should still have a .globl emitted for them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a637c32e381316da47285961111e1793c542cc15 |
|
16-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
Update the darwin handling of linkonce & weak functions and GV stubs. This should work in all permutations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d1239b7c69e3c8f36d21c30d5df923cfeb96583e |
|
13-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
Use the shared asmprinter code for printing special llvm globals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
deea416570f31a82081f1bbbc65f0c06d44462bf |
|
13-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
reindent a loop, unswitch a loop. No functionality changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d717b19933f1e99617205c5f0c0340e6c9cccbfc |
|
11-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
Remove type casts that are no longer needed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
646f7afb797630020f02c6f552c6c5c8d7e73ad6 |
|
09-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
Teach the PPC backend about the ctor and dtor list when not using __main and linking the entire program into one bc file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
391c5d231a1d251ea9dc3d8745547c957db94ca4 |
|
30-Nov-2005 |
Nate Begeman <natebegeman@mac.com> |
No longer track value types for asm printer operands, and remove them as an argument to every operand printing function. Requires some slight tweaks to x86, the only user. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24541 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c569e6108adf701bc51635b35cb18bd35a843d18 |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Use generic constant pool emission code in the AsmPrinter class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0745536c0006f291c3fb98bdd71aa19130a561fd |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Use the FunctionNumber provided by the AsmPrinter class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6d5a4f6a8ed7347bbe4880ac3f3bb87d62836e01 |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Use CommentString where possible, fix a bug where aix mode wouldn't assemble due to basic blocks being misnamed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ef658741519db6e7091329c3fe57a771f67c237a |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
unify the darwin and aix constant pool printers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8b8b9515d6b18f9fdd0303a6ce603f5b5997ef50 |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Adjust to capitalized AsmPrinter method names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24456 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7f9ccde91eb1532af2571f0f001e4d919fd61410 |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
use PrivateGlobalPrefix for basic blocks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f6163a00793b4bae585d7b77a10faf3f51eb431b |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
This is now implemented in common codegen code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f55366e3c269505b2ecb0173a2ece59acf1b5df8 |
|
21-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
set PrivateGlobalPrefix on darwin, use it when printing out CP references git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9542f9714e4b4b1c5cf7b0faef40c67af1f1e0bb |
|
17-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
only use dyld stubs if not in ppc-static mode. This completes support for non-static codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24403 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9ba13e4aeff453cdc8ed26fb927ec65dd44625b4 |
|
17-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
refactor call operand handling to eliminate special cases from printOp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24401 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3e7f86a037181bf8804600c1000da2dc8a2f2f70 |
|
17-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
disentangle call operands from branch operands a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
422b0cee7a32636303398d8788f98a59bf15381c |
|
16-Nov-2005 |
Nate Begeman <natebegeman@mac.com> |
Patch to clean up function call pseudos and support the BLA instruction, which branches to an absolute address. This is required to support objc direct dispatch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2c3d3d2a59e8c241de43a7c50272ab6443794a19 |
|
15-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Make sure to use SwitchSection to switch sections so that we don't accidentally emit functions into the .const section. Whoops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ced704ba608ce0675bdba1677b612288b6e0956f |
|
14-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Handle globals with explicit alignment requests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ac7fd7fcc67948475c89f033b90d94b666722dd7 |
|
14-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Teach the PPC asmwriter to honor globals with explicit section requests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5684598f3fbebc7629e7fb2c2b5e120a99597c46 |
|
10-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Make BB and CPI labels use the function number, not the function name as a uniquing id. This makes things happy when the function name is quoted, preventing labels like LBB"foo"_2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
85eac0d9411c0a2005b2f4111528f276f672fee3 |
|
10-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Darwin supports quoted labels. This implements: test/Regression/CodeGen/PowerPC/darwin-labels.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24287 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3459bfbc395914ec895aef13123f3b180242577f |
|
10-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Make the aix asm printer interface properly with the parent class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5b0ac99c9690d7534ade82848c207e202883831b |
|
01-Nov-2005 |
Chris Lattner <sabre@nondot.org> |
Add a flag to enable a darwin linker optimization git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bb69e39b5b8ddf7243e2b77cebe2f9f23ba819b2 |
|
31-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Make constant pool entries use private labels. This is important when you're not compiling a whole program at a time :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f02a916d82e35998c52b1eba6601049f8eee4fac |
|
28-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Do not globalize internal symbols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
841d12d9ac489ec33d933af96d77dd4fc2a4cee2 |
|
18-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Fix the JIT encoding of LWA, LD, STD, and STDU. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
21e463b2bf864671a87ebe386cb100ef9349a540 |
|
16-Oct-2005 |
Nate Begeman <natebegeman@mac.com> |
More PPC32 -> PPC changes, as well as merging some classes that were redundant after the change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
16e71f2f70811c69c56052dd146324fe20e31db5 |
|
15-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Rename PPC32*.h to PPC*.h This completes the grand PPC file renaming git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2668959b8879097db368aec7d76c455260abc75b |
|
15-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Rename PowerPC*.h to PPC*.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ec4b73cb09723a65024c207b5ac3305c3b64b949 |
|
15-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Nuke the PowerPCTargetMachine.h header. Note that the PowerPCTargetMachine still should be merged into the PPC32TargetMachine class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4c7b43b43fdf943c7298718e15ab5d6dfe345be7 |
|
15-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Eliminate PowerPC.td and PPC32.td, consolidating them into PPC.td git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23738 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e87bc1f3a841d47b037ba05a5e8350a5f17a7c1e |
|
15-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Like the comment says... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
617742b1b8b7fbb07b4ab5db7c292bff78d709f6 |
|
15-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Nuke PowerPCInstrFormats.h, its contents are dead. Remove the definitions from the .td file that correspond to it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8ca02914e53b953e880f3d9eec303c2b2fcd9150 |
|
03-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Speed up the asm printer a lot by not printing formatted LLVM asm output for globals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23608 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2b8ad8e55ac04472af769fa36d80893330f90f3d |
|
02-Sep-2005 |
Chris Lattner <sabre@nondot.org> |
Align functions to 16-byte boundaries, to eliminate noise in performance measurements. This improves the performance of 'treeadd' by about 20% with the dag isel, restoring it to the pattern-isel level (which happens to get the alignment right). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23194 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a82f7b2be074e7471e35854a395b1b140c5a7fba |
|
01-Sep-2005 |
Chris Lattner <sabre@nondot.org> |
Local labels on darwin apparently start with just 'L', not .L like other platforms. This reduces executable size and makes shark realize the actual bounds of functions instead of showing each MBB as a function :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a0df5d8da5d4ba1e75fd3c3449ae535b283b8621 |
|
27-Aug-2005 |
Nate Begeman <natebegeman@mac.com> |
Remove operand type 'crbit', since it is no longer used git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9dc4d3cbac284b8301832fb1b575364490c745f3 |
|
23-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Nate noticed that 30% of the malloc/frees in llc come from calls to LowercaseString in the asmprinter. This changes the .td files to use lower case register names, avoiding the need to do this call. This speeds up the asmprinter from 1.52s to 1.06s on kc++ in a release build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1db1adbdee847906b4541ae582dc5be001fe2214 |
|
21-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Don't print out the MBB label for the entry mbb git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3c304a3ba18a040d3c3dbd15ab69da5543cdbd54 |
|
06-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Consolidate the GPOpt stuff to all use the Subtarget, instead of still depending on the command line option. Now the command line option just sets the subtarget as appropriate. G5 opts will now default to on on G5-enabled nightly testers among other machines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22688 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
99558806f8c4c6867a335fe896350302b126a2b5 |
|
04-Aug-2005 |
Nate Begeman <natebegeman@mac.com> |
Hack to naturally align doubles in the constant pool. Remove this once we know what The Right Thing To Do is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0561b3ff9fd08f9cda48551f2f91590ca5f60656 |
|
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Update to use the new MathExtras.h support for log2 computation. Patch contributed by Jim Laskey! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2e00d7d0ae32a87ec978fc99849e718f1914279a |
|
26-Jul-2005 |
Chris Lattner <sabre@nondot.org> |
Wrap some long lines, fix emission of weak global variables git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2497e6391f8df05926fe17b5cf08dad61c4797d2 |
|
21-Jul-2005 |
Nate Begeman <natebegeman@mac.com> |
Support building non-PIC Remove the LoadHiAddr pseudo-instruction. Optimization of stores to and loads from statics. Force JIT to use new non-PIC codepaths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
18ed029a7b75b2a39d39cd4c7f2ec68284c10102 |
|
21-Jul-2005 |
Nate Begeman <natebegeman@mac.com> |
Support assembling fsqrt on darwin. This will be implemented better when PowerPC gets subtarget support up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22489 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
adeb43ddf4eac9e75b7c8e79fa832f72922a2926 |
|
21-Jul-2005 |
Nate Begeman <natebegeman@mac.com> |
Generate mfocrf when targeting g5. Generate fsqrt/fsqrts when targetin g5. 8-byte align doubles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
63b3f9acae5ccfc7f806c461a2e9509318eac5b8 |
|
12-Jul-2005 |
Nate Begeman <natebegeman@mac.com> |
Remove some code that moved to the generic asm printer a long time ago. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22407 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
72b286b0a0f8987bc247ae052ac86008c553e9ae |
|
08-Jul-2005 |
Nate Begeman <natebegeman@mac.com> |
Add support for assembling .s files on mac os x for intel Add support for running bugpoint on mac os x for intel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b5f662fa0314f7e7e690aae8ebff7136cc3a5ab0 |
|
22-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ef7288c824e082d560edb783156a74ee310bfe28 |
|
14-Apr-2005 |
Nate Begeman <natebegeman@mac.com> |
Add the necessary support to codegen condition register logical ops with register allocated condition registers. Make sure that the printed output is gas compatible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
27499e3f1beaf21b5afa95c0008649a6cfcadf7a |
|
10-Apr-2005 |
Nate Begeman <natebegeman@mac.com> |
Make sure that BRCOND branches can be converted into long branches too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ad5f65c74bb2b06fdb5544d2dcdf586b26c44ca0 |
|
05-Apr-2005 |
Nate Begeman <natebegeman@mac.com> |
Behold, rlwinm with certain immediate arguments is printed as the much more readable slwi or srwi (shift left/right word immediate). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
01d05266f9efcbd011f3ef1d19d4b78bc395b0c1 |
|
30-Mar-2005 |
Nate Begeman <natebegeman@mac.com> |
Fix external symbol printing in the AsmPrinter. Tell the ISel that we don't support things like memcpy directly. This allows a handful of the Shootout programs to work, yay! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e4d5c441e04bdc00ccf1804744af670655123b07 |
|
15-Mar-2005 |
Chris Lattner <sabre@nondot.org> |
This mega patch converts us from using Function::a{iterator|begin|end} to using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
869f45937b843cf342865ba5b03196df0601d10b |
|
12-Dec-2004 |
Chris Lattner <sabre@nondot.org> |
Fix Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll, and all programs when compiled with debug information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
8363ad6bfc1448d5ad186075ac9e1258d4018f36 |
|
12-Dec-2004 |
Chris Lattner <sabre@nondot.org> |
CSE calls to getTypeSize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3330e08888143e5935c182ac63c1f561bb21648a |
|
27-Nov-2004 |
Nate Begeman <natebegeman@mac.com> |
Remove the ISel->AsmPrinter link via the TargetMachine that was put in place to help bring up the PowerPC back end on Darwin. This code is no longer serves any purpose now that the AsmPrinter does the right thing all the time printing GlobalValues. --Cruft. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d4c8bea47fd3403ff1f3786b99ff11e6e1b5fc09 |
|
25-Nov-2004 |
Nate Begeman <natebegeman@mac.com> |
Enable optimization suggested by Chris Lattner to not emit reloc stubs for static global variables whose addresses are taken. This allows us to convert the following code for taking the address of a static function foo addis r2, r30, ha16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb") lwz r3, lo16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")(r2) which also includes linker stub code emitted at the end of the .s file not shown here, and replace it with this: addis r2, r30, ha16(l1__2E_foo_2-"L00001$pb") la r3, lo16(l1__2E_foo_2-"L00001$pb")(r2) which in addition to not needing linker help, also has no load instruction. For those not up on PowerPC mnemonics, la is shorthand for add immediate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3a8a42a9b403ac4d25bb405e3577a8ad1f209e25 |
|
14-Nov-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Handle GhostLinkage (should not ever reach the assembly printing stage!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a59145785719462aec77a5995cde54e0a82f8a5b |
|
09-Nov-2004 |
Nate Begeman <natebegeman@mac.com> |
Allow hbd to be bugpointable on darwin by fixing common and linkonce codegen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
17304c393e14a9ddb10ae0483d45d7e926c41078 |
|
26-Oct-2004 |
Nate Begeman <natebegeman@mac.com> |
Remove file that is no longer used, and move include of MRegisterInfo.h from PowerPCFrameInfo.h to PowerPCAsmPrinter.cpp where it is actually needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17244 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3a060e5279e27a3597905d6859407f33ec5009a4 |
|
23-Oct-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Align function arguments in function headers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
fcf4a42cdf5d34b7761f34e3cb978b4cef93e2cb |
|
18-Oct-2004 |
Nate Begeman <natebegeman@mac.com> |
Generate correct stubs for weak-linked symbols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a2de102a5bd43131dd0ee5c5498cb18ee0ac4282 |
|
22-Sep-2004 |
Nate Begeman <natebegeman@mac.com> |
add optimized code sequences for setcc x, 0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3e0b51ab3ba2b8e411fc9cedb7e762068671691b |
|
05-Sep-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Change PPC32AsmPrinter => PowerPCAsmPrinter since it is now shared between Darwin and AIX and is not 32- or 64-bit specific * Bring back PowerPC.td as a result, to make it use the `PowerPC' class name * Adjust Makefile accordingly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a11c2e8fb99bb93f618894aaa92b5d4c6c2e4ea6 |
|
04-Sep-2004 |
Nate Begeman <natebegeman@mac.com> |
Include MathExtras.h to fix build breakage, thanks to Vladimir git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ed42853be1ef530890043da7c8966dc6678cf9bf |
|
04-Sep-2004 |
Nate Begeman <natebegeman@mac.com> |
All PPC instructions are now auto-printed 32 and 64 bit AsmWriters unified Darwin and AIX specific features of AsmWriter split out git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b7a8f2cdaa3db15861c7f06238fcacc4b10b74f3 |
|
02-Sep-2004 |
Nate Begeman <natebegeman@mac.com> |
Convert remaining X-Form and Pseudo instructions over to asm writer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
551ccae044b0ff658fe629dd67edd5ffe75d10e8 |
|
02-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Changes For Bug 352 Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
07aada8b0fcac511424623a632dec909e40cd201 |
|
30-Aug-2004 |
Nate Begeman <natebegeman@mac.com> |
Move yet more instructions over to being printed by the generated asm writer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
12585baf1a086f7d54e0ac963e3b0e7b6792b80c |
|
21-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Fix warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15964 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c3306120cc66b1c5bc73bd0e95e1f613e27b12dc |
|
21-Aug-2004 |
Nate Begeman <natebegeman@mac.com> |
Move XForm instructions over to the auto-generated asm writer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15962 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
81d265d692f0043bdbc9eab9cf833ead06a88ad7 |
|
19-Aug-2004 |
Nate Begeman <natebegeman@mac.com> |
Clean up floating point instruction selection. Change int->float cast code to put conversion constants in constant pool. Shorten code sequence for constant pool fp loads. Remove LOADLoDirect/LOADLoIndirect psuedo instructions and tweak asmwriter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f746a7d09b219619b16ffa875e762d6e24868d6f |
|
18-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Rename var git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
69d485e64689533c80e62f530968ca6bf1eef864 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Start using alignment output routines from AsmPrinter. Changes to make this more similar to the X86 asmprinter Fix overalignment of globals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15891 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5676310c5dd8c31a6a42eecdf3621df52801558b |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Print comments with ; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
79835d9f9fd6890249414c55b5f4fd80a355eb65 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Use the emitGlobalConstant defined in AsmPrinter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b462e47d2d706cea7d8035c155b0f4f25d58a8f9 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
New, more general, interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f2ccb77ee9d8ab35866dae111fa36929689c7511 |
|
17-Aug-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
PowerPC 32-/64-bit split: Part I, PPC32* bit files, adapted from former PowerPC* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
469ab79584cd31d9f632988abccefc16c7a215e0 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Print float constants as 4 byte values. Also, fix endianness problems when cross compiling from little-endian host. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
505e783d8cecda3262eb5ef24326ef2e74da2ce3 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Make sure to put an _ prefix on all identifiers! Also, add some (currently disabled) code to print float's as 32-bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
416ca3384afcd4277b41c230736eb0a4552165f7 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
More changes to make PPC32 and X86 more similar git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
36aacdb974a65e1f5c76c38a008a01c3f44202d9 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Minor changes to make the diff be nothing against the X86 version git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a3840795a58b3fe3c7d986bfa20951e8d5e1d6e2 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Finegrainify namespacification Start using the AsmPrinter base class to factor out a bunch of code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
08eceec98df96a0eb0a8afe8b5667c75b659f0db |
|
15-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Zimm16 is now dead. Its entry is not removed from the enum, to avoid having to renumber everything. Similar elimination should be applied to other operand enum values that are only used to format printing in the .s file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
0ea3171fbfaf78672264a9299c33c81c63b2a522 |
|
15-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Convert all of the DForm_6* operations, which makes all of the Zimm16 users dead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
97b2a2e389834ae237641cd068ad03b44eaa1e08 |
|
15-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Convert the DForm_4 over to the asmprintergen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ad9c242605ae694017e41a4e528a81f9fea291c6 |
|
15-Aug-2004 |
Nate Begeman <natebegeman@mac.com> |
Remove dead code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7bb424fafcfc3452c209556cd764e60b45ae6a5d |
|
15-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Print mflr using the asmwriter generator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e59bf59ba55c6bdba82a7126e91f5bb53118e84c |
|
15-Aug-2004 |
Nate Begeman <natebegeman@mac.com> |
Add initial support for using the generated asm writer. Also, fix FP constant printing to always print 8 byte intializers. Move printing of LinkOnce stubs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b73a711ed7c1da332ae8d22b0defcbdf0411d1a4 |
|
13-Aug-2004 |
Nate Begeman <natebegeman@mac.com> |
Fix siod by switching BoolTy to byte rather than int until CFE changes for Darwin. Also, change asm printer to output proper stubs for external functions whose address is passed as an argument to aid in bugpointing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
3d9a6c2842599b9d8659ae97e19c413d435d7b34 |
|
11-Aug-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Breaking up the PowerPC target into 32- and 64-bit subparts, Part I: 32-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5b5708106e409d2b8bb23335f7de8dda361dca3e |
|
11-Aug-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targets git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7103fba019a8c6e2436d6d5d0e708b98cb5b3f83 |
|
10-Aug-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
CodePrinter -> AsmPrinter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
6173cd9c163de5288aa8c3a241f21515f60c8b20 |
|
04-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
getValues does not exist git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
83660c5aed4902dd218ba0f730dc7801b99b30cb |
|
28-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Minor corrections git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
f63bc199c65a19952c480eb4d0c592dfd58c966f |
|
28-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Find longs by type, not by their primitive size being 64. Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
af313fb188a8d03ad863de81fa9f87b0a76579fc |
|
28-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Fix printing of immediate operands by looking at their operand types in the TargetInstrInfo. This fixes UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
ab96790f2c343fe9cb97a425825adaf794b1ef98 |
|
27-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Correctly print out long branches, assert on finding pseudo instr COND_BRANCH Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
cf8d24439458ac77e3d3565b51964e0a8802b339 |
|
26-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Increment the label number in runOnFunction() rather than while printing out some instruction. Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15236 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
1245c3593575d0a754cc679f9964fc35f841feee |
|
23-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Simplify boolean test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e2eceb5c739285a6c507ac766ab2807429e13101 |
|
23-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Codegen of GEPs dramatically improved by folding multiplies and adds * Function pointers implemented correctly using appropriate stubs Contributed by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
97a296f743c3cb78ae106a8e4800a5daa0ca6fc9 |
|
21-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Fix printing of signed immediate values (Nate Begeman) * Fix printing of `zeroinitializer' * Fix printing of `linkonce' globals, complete with stubs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
e48178e8a652623c5c675f0f9dc495053ca76d2b |
|
20-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Differentiate between global and weak symbol loads git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
61114619bcd71c11cf0fcd8d4de36be12406b589 |
|
20-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Fn args passed in registers are now recorded as used by the call instruction `-> asm printer updated to not print out those registers with the call instr All of Shootout tests now work. Great thanks to Nate Begeman for the patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
67910e1eb024bb78cab2f4ffb48c3a79b5647f64 |
|
18-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
CPR Fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
da2b13f694b3866b7201b6ab9596981c9eaab983 |
|
16-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Output non-lazy linking stubs for external global variables * Get rid of dead and #if 0'd code * Minor for loop speed-up: save end iterator instead of querying every time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
29188c6ff653aa69fac958077b62a06013be98f9 |
|
16-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Add spaces between words and numbers in comments printed out for longs/floats * Print out IMPLICIT_DEFS as comments in the assembly, patch by Nate Begeman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14890 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
05fcd0c891c1cab4b90368094081a96ebf655e96 |
|
08-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Fix header comment, excise references to X86 * Add suport for printing out references to constant pool indices git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4cf51125007f2c5a32a6de710ba8df094cb441db |
|
07-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Use the more compact `bl' instead of cryptic (but equivalent) `bcl 20,31' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
4363bdb0e5d20ebfa5b0a1f703c5a8102e637541 |
|
01-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Check if operand has an allocated reg before requesting it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
b9e8f97aef725324724d9e59e55dbafec02c79e9 |
|
30-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Inquire about the number of operands from the instruction directly * Only check for a register if we are sure the instruction has one allocated git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
61297ee1185fd267471a1cb1fa28c585b51c5e08 |
|
30-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Stop using BBNumbering, we don't really need it * Only increment labelNumber once, because it's used by both Load{hi,lo}Addr * There is no .bss section on PowerPC * Use .align 2 instead of other random numbers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
218bec7bd3a2deb94768e298025f07d7682c4377 |
|
29-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Assembly syntax/comment fixes by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
a6e58b3cfb4b5a9be2512bd4fb936a1cb2010924 |
|
28-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
No need to generate a lazy-linking stub for internal functions, they can be resolved by the static linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
9c661c8e26e93cbc1080d881e422cbcb4ca02e7b |
|
28-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Do not set the `link' bit when branching to the first BB of a function, as it will cause an infinite loop. The link bit is only used for calling functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
bb4a90820c8a5e018c5a67728d0b3e3400cc8e2f |
|
28-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Fix spacing around function arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
c6cc10f48f5956eee4c1947c7b2417423f818077 |
|
25-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Combine several if stmts with returns into an if-then-elseif-else chain. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
2bf183c092138e426c7f66bb072d8e0f7de36648 |
|
25-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Be consistent about MachineBB labels and references to them in instr stream * Use MachineBB's built-in numbering system instead of reinventing one git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
22e12076e9bd62401d28b0c6bae380955a76abff |
|
25-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Initialize the entire array statically, not member-at-a-time * Remove x86-specific comment re: intel vs. at&t assembly syntax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14406 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
7f484a5fff140ade284a1af34641da067bea11ae |
|
25-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Lowercase the register names * Parenthesize assert() expressions correctly * Fix spacing around for() and if() statements git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
46fd00aec6a674003a565c60ae2894966ccb9a36 |
|
25-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Tabs to spaces * Remove unnecessary parens, braces, clean up code layout git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
05794498d95903d22e4402d005d1f03fab3bc78a |
|
24-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Order #includes * Use the DEBUG() guard for debug printouts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
d71bd56caa4bddc1219584fce81af6e8a53c85a1 |
|
21-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Type::getPrimitiveID() -> getTypeID() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14287 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|
5dfe3a9c3bd9091f9adecc909665d52bdd4edd8c |
|
21-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Initial revision git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
|