X86TargetMachine.cpp (199481) | X86TargetMachine.cpp (200581) |
---|---|
1//===-- X86TargetMachine.cpp - Define TargetMachine for the X86 -----------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 149 unchanged lines hidden (view full) --- 158 159 return false; 160} 161 162bool X86TargetMachine::addPreRegAlloc(PassManagerBase &PM, 163 CodeGenOpt::Level OptLevel) { 164 // Calculate and set max stack object alignment early, so we can decide 165 // whether we will need stack realignment (and thus FP). | 1//===-- X86TargetMachine.cpp - Define TargetMachine for the X86 -----------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 149 unchanged lines hidden (view full) --- 158 159 return false; 160} 161 162bool X86TargetMachine::addPreRegAlloc(PassManagerBase &PM, 163 CodeGenOpt::Level OptLevel) { 164 // Calculate and set max stack object alignment early, so we can decide 165 // whether we will need stack realignment (and thus FP). |
166 PM.add(createX86MaxStackAlignmentCalculatorPass()); | 166 PM.add(createMaxStackAlignmentCalculatorPass()); |
167 return false; // -print-machineinstr shouldn't print after this. 168} 169 170bool X86TargetMachine::addPostRegAlloc(PassManagerBase &PM, 171 CodeGenOpt::Level OptLevel) { 172 PM.add(createX86FloatingPointStackifierPass()); 173 return true; // -print-machineinstr should print after this. 174} --- 68 unchanged lines hidden --- | 167 return false; // -print-machineinstr shouldn't print after this. 168} 169 170bool X86TargetMachine::addPostRegAlloc(PassManagerBase &PM, 171 CodeGenOpt::Level OptLevel) { 172 PM.add(createX86FloatingPointStackifierPass()); 173 return true; // -print-machineinstr should print after this. 174} --- 68 unchanged lines hidden --- |