Deleted Added
full compact
TargetMachine.h (206083) TargetMachine.h (207618)
1//===-- llvm/Target/TargetMachine.h - Target Information --------*- C++ -*-===//
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//===----------------------------------------------------------------------===//

--- 14 unchanged lines hidden (view full) ---

23class Target;
24class MCAsmInfo;
25class TargetData;
26class TargetSubtarget;
27class TargetInstrInfo;
28class TargetIntrinsicInfo;
29class TargetJITInfo;
30class TargetLowering;
1//===-- llvm/Target/TargetMachine.h - Target Information --------*- C++ -*-===//
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//===----------------------------------------------------------------------===//

--- 14 unchanged lines hidden (view full) ---

23class Target;
24class MCAsmInfo;
25class TargetData;
26class TargetSubtarget;
27class TargetInstrInfo;
28class TargetIntrinsicInfo;
29class TargetJITInfo;
30class TargetLowering;
31class TargetSelectionDAGInfo;
31class TargetFrameInfo;
32class JITCodeEmitter;
33class MCContext;
34class TargetRegisterInfo;
35class PassManagerBase;
36class PassManager;
37class Pass;
38class TargetELFWriterInfo;

--- 61 unchanged lines hidden (view full) ---

100 // Interfaces to the major aspects of target machine information:
101 // -- Instruction opcode and operand information
102 // -- Pipelines and scheduling information
103 // -- Stack frame information
104 // -- Selection DAG lowering information
105 //
106 virtual const TargetInstrInfo *getInstrInfo() const { return 0; }
107 virtual const TargetFrameInfo *getFrameInfo() const { return 0; }
32class TargetFrameInfo;
33class JITCodeEmitter;
34class MCContext;
35class TargetRegisterInfo;
36class PassManagerBase;
37class PassManager;
38class Pass;
39class TargetELFWriterInfo;

--- 61 unchanged lines hidden (view full) ---

101 // Interfaces to the major aspects of target machine information:
102 // -- Instruction opcode and operand information
103 // -- Pipelines and scheduling information
104 // -- Stack frame information
105 // -- Selection DAG lowering information
106 //
107 virtual const TargetInstrInfo *getInstrInfo() const { return 0; }
108 virtual const TargetFrameInfo *getFrameInfo() const { return 0; }
108 virtual TargetLowering *getTargetLowering() const { return 0; }
109 virtual const TargetLowering *getTargetLowering() const { return 0; }
110 virtual const TargetSelectionDAGInfo *getSelectionDAGInfo() const{ return 0; }
109 virtual const TargetData *getTargetData() const { return 0; }
110
111 /// getMCAsmInfo - Return target specific asm information.
112 ///
113 const MCAsmInfo *getMCAsmInfo() const { return AsmInfo; }
114
115 /// getSubtarget - This method returns a pointer to the specified type of
116 /// TargetSubtarget. In debug builds, it verifies that the object being

--- 49 unchanged lines hidden (view full) ---

166 /// getAsmVerbosityDefault - Returns the default value of asm verbosity.
167 ///
168 static bool getAsmVerbosityDefault();
169
170 /// setAsmVerbosityDefault - Set the default value of asm verbosity. Default
171 /// is false.
172 static void setAsmVerbosityDefault(bool);
173
111 virtual const TargetData *getTargetData() const { return 0; }
112
113 /// getMCAsmInfo - Return target specific asm information.
114 ///
115 const MCAsmInfo *getMCAsmInfo() const { return AsmInfo; }
116
117 /// getSubtarget - This method returns a pointer to the specified type of
118 /// TargetSubtarget. In debug builds, it verifies that the object being

--- 49 unchanged lines hidden (view full) ---

168 /// getAsmVerbosityDefault - Returns the default value of asm verbosity.
169 ///
170 static bool getAsmVerbosityDefault();
171
172 /// setAsmVerbosityDefault - Set the default value of asm verbosity. Default
173 /// is false.
174 static void setAsmVerbosityDefault(bool);
175
176 /// getDataSections - Return true if data objects should be emitted into their
177 /// own section, corresponds to -fdata-sections.
178 static bool getDataSections();
179
180 /// getFunctionSections - Return true if functions should be emitted into
181 /// their own section, corresponding to -ffunction-sections.
182 static bool getFunctionSections();
183
184 /// setDataSections - Set if the data are emit into separate sections.
185 static void setDataSections(bool);
186
187 /// setFunctionSections - Set if the functions are emit into separate
188 /// sections.
189 static void setFunctionSections(bool);
190
174 /// CodeGenFileType - These enums are meant to be passed into
175 /// addPassesToEmitFile to indicate what type of file to emit, and returned by
176 /// it to indicate what type of file could actually be made.
177 enum CodeGenFileType {
178 CGFT_AssemblyFile,
179 CGFT_ObjectFile,
180 CGFT_Null // Do not emit any output.
181 };

--- 140 unchanged lines hidden ---
191 /// CodeGenFileType - These enums are meant to be passed into
192 /// addPassesToEmitFile to indicate what type of file to emit, and returned by
193 /// it to indicate what type of file could actually be made.
194 enum CodeGenFileType {
195 CGFT_AssemblyFile,
196 CGFT_ObjectFile,
197 CGFT_Null // Do not emit any output.
198 };

--- 140 unchanged lines hidden ---