llvm.org GIT mirror llvm / 85db3a9
De-tabify git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47600 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 12 years ago
3 changed file(s) with 4 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
4040 int VarArgsFrameIndex; // FrameIndex for start of varargs area.
4141 //int ReturnAddrIndex; // FrameIndex for return slot.
4242 unsigned GP, SP, RP; // FIXME - clean this mess up
43
4443 public:
4544 explicit IA64TargetLowering(TargetMachine &TM);
4645
4746 unsigned VirtGPR; // this is public so it can be accessed in the selector
4847 // for ISD::RET. add an accessor instead? FIXME
49
5048 const char *getTargetNodeName(unsigned Opcode) const;
5149
5250 /// LowerArguments - This hook must be implemented to indicate how we should
0 //===-- MSILWriter.cpp - Library for converting LLVM code to MSIL ---------===//
11 //
2 // The LLVM Compiler Infrastructure
2 // The LLVM Compiler Infrastructure
33 //
44 // This file is distributed under the University of Illinois Open Source
55 // License. See LICENSE.TXT for details.
16391639
16401640
16411641 //===----------------------------------------------------------------------===//
1642 // External Interface declaration
1642 // External Interface declaration
16431643 //===----------------------------------------------------------------------===//
16441644
16451645 bool MSILTarget::addPassesToEmitWholeFile(PassManager &PM, std::ostream &o,
270270 if (RelocOp->isGlobalAddress()) {
271271 // In 64-bit static small code model, we could potentially emit absolute.
272272 // But it's probably not beneficial.
273 // 89 05 00 00 00 00 mov %eax,0(%rip) # PC-relative
274 // 89 04 25 00 00 00 00 mov %eax,0x0 # Absolute
273 // 89 05 00 00 00 00 mov %eax,0(%rip) # PC-relative
274 // 89 04 25 00 00 00 00 mov %eax,0x0 # Absolute
275275 unsigned rt = Is64BitMode ? X86::reloc_pcrel_word
276276 : (IsPIC ? X86::reloc_picrel_word : X86::reloc_absolute_word);
277277 bool NeedStub = isa(RelocOp->getGlobal());