llvm.org GIT mirror llvm / d41b30d
Unbreak VC++ build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31464 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 12 years ago
37 changed file(s) with 209 addition(s) and 108 deletion(s). Raw diff Collapse all Expand all
1515 #ifndef LLVM_ADT_FOLDINGSET_H
1616 #define LLVM_ADT_FOLDINGSET_H
1717
18 #include "llvm/Support/DataTypes.h"
1819 #include "llvm/ADT/SmallVector.h"
20 #include
1921
2022 namespace llvm {
2123
303303 Node *RootNode;
304304 public:
305305 class Node {
306 friend struct DominatorTree;
306 friend class DominatorTree;
307307 friend struct PostDominatorTree;
308 friend struct DominatorTreeBase;
308 friend class DominatorTreeBase;
309309 BasicBlock *TheBB;
310310 Node *IDom;
311311 std::vector Children;
3434
3535 namespace llvm {
3636
37 struct ETForest;
37 class ETForest;
3838 class LoopInfo;
3939 class PHINode;
4040 class Instruction;
9494
9595 /// @returns the size of the archive member in bytes.
9696 /// @brief Get the size of the archive member.
97 unsigned getSize() const { return info.getSize(); }
97 uint64_t getSize() const { return info.getSize(); }
9898
9999 /// This method returns the total size of the archive member as it
100100 /// appears on disk. This includes the file content, the header, the
6060 /// It contains a pointer to the value and an offset from the start of
6161 /// the constant pool.
6262 /// @brief An entry in a MachineConstantPool
63 struct MachineConstantPoolEntry {
63 class MachineConstantPoolEntry {
64 public:
6465 /// The constant itself.
6566 union {
6667 Constant *ConstVal;
321321
322322 /// getStore - Helper function to build ISD::STORE nodes.
323323 ///
324 SDOperand getStore(SDOperand Chain, SDOperand Value, SDOperand Ptr,
324 SDOperand getStore(SDOperand Chain, SDOperand Val, SDOperand Ptr,
325325 const Value *SV, int SVOffset, bool isVolatile=false);
326 SDOperand getTruncStore(SDOperand Chain, SDOperand Value, SDOperand Ptr,
326 SDOperand getTruncStore(SDOperand Chain, SDOperand Val, SDOperand Ptr,
327327 const Value *SV, int SVOffset, MVT::ValueType TVT,
328328 bool isVolatile=false);
329329 SDOperand getIndexedStore(SDOperand OrigStoe, SDOperand Base,
1515
1616 #include "llvm/Support/DataTypes.h"
1717 #include
18 #include
1819
1920 namespace llvm {
2021
4646 group(999), isDir(false) { }
4747
4848 TimeValue getTimestamp() const { return modTime; }
49 size_t getSize() const { return fileSize; }
49 uint64_t getSize() const { return fileSize; }
5050 uint32_t getMode() const { return mode; }
5151 uint32_t getUser() const { return user; }
5252 uint32_t getGroup() const { return group; }
1717
1818 namespace llvm {
1919 class BasicBlock;
20 struct DominatorSet;
20 class DominatorSet;
2121 class Function;
2222 class Loop;
2323
1919 namespace llvm {
2020
2121 class AllocaInst;
22 struct DominatorTree;
23 struct DominanceFrontier;
22 class DominatorTree;
23 class DominanceFrontier;
2424 class TargetData;
2525 class AliasSetTracker;
2626
2424 #include "llvm/Support/CommandLine.h"
2525 #include "llvm/ADT/Statistic.h"
2626 #include "llvm/ADT/STLExtras.h"
27 #include
2728 using namespace llvm;
2829
2930 static Statistic<> NumDeadBlocks("branchfold", "Number of dead blocks removed");
382382 bool isAlias(SDOperand Ptr1, int64_t Size1,
383383 const Value *SrcValue1, int SrcValueOffset1,
384384 SDOperand Ptr2, int64_t Size2,
385 const Value *SrcValue2, int SrcValueOffset1);
385 const Value *SrcValue2, int SrcValueOffset2);
386386
387387 /// FindAliasInfo - Extracts the relevant alias information from the memory
388388 /// node. Returns true if the operand was a load.
16561656 return getNode(ISD::VLOAD, getVTList(MVT::Vector, MVT::Other), Ops, 5);
16571657 }
16581658
1659 SDOperand SelectionDAG::getStore(SDOperand Chain, SDOperand Value,
1659 SDOperand SelectionDAG::getStore(SDOperand Chain, SDOperand Val,
16601660 SDOperand Ptr, const Value *SV, int SVOffset,
16611661 bool isVolatile) {
1662 MVT::ValueType VT = Value.getValueType();
1662 MVT::ValueType VT = Val.getValueType();
16631663
16641664 // FIXME: Alignment == 1 for now.
16651665 unsigned Alignment = 1;
16661666 SDVTList VTs = getVTList(MVT::Other);
16671667 SDOperand Undef = getNode(ISD::UNDEF, Ptr.getValueType());
1668 SDOperand Ops[] = { Chain, Value, Ptr, Undef };
1668 SDOperand Ops[] = { Chain, Val, Ptr, Undef };
16691669 FoldingSetNodeID ID;
16701670 AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4);
16711671 ID.AddInteger(ISD::UNINDEXED);
16781678 void *IP = 0;
16791679 if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP))
16801680 return SDOperand(E, 0);
1681 SDNode *N = new StoreSDNode(Chain, Value, Ptr, Undef, ISD::UNINDEXED, false,
1681 SDNode *N = new StoreSDNode(Chain, Val, Ptr, Undef, ISD::UNINDEXED, false,
16821682 VT, SV, SVOffset, Alignment, isVolatile);
16831683 N->setValueTypes(VTs);
16841684 CSEMap.InsertNode(N, IP);
16861686 return SDOperand(N, 0);
16871687 }
16881688
1689 SDOperand SelectionDAG::getTruncStore(SDOperand Chain, SDOperand Value,
1689 SDOperand SelectionDAG::getTruncStore(SDOperand Chain, SDOperand Val,
16901690 SDOperand Ptr, const Value *SV,
16911691 int SVOffset, MVT::ValueType SVT,
16921692 bool isVolatile) {
1693 MVT::ValueType VT = Value.getValueType();
1693 MVT::ValueType VT = Val.getValueType();
16941694 bool isTrunc = VT != SVT;
16951695
16961696 assert(VT > SVT && "Not a truncation?");
17011701 unsigned Alignment = 1;
17021702 SDVTList VTs = getVTList(MVT::Other);
17031703 SDOperand Undef = getNode(ISD::UNDEF, Ptr.getValueType());
1704 SDOperand Ops[] = { Chain, Value, Ptr, Undef };
1704 SDOperand Ops[] = { Chain, Val, Ptr, Undef };
17051705 FoldingSetNodeID ID;
17061706 AddNodeIDNode(ID, ISD::STORE, VTs, Ops, 4);
17071707 ID.AddInteger(ISD::UNINDEXED);
17141714 void *IP = 0;
17151715 if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP))
17161716 return SDOperand(E, 0);
1717 SDNode *N = new StoreSDNode(Chain, Value, Ptr, Undef, ISD::UNINDEXED, isTrunc,
1717 SDNode *N = new StoreSDNode(Chain, Val, Ptr, Undef, ISD::UNINDEXED, isTrunc,
17181718 SVT, SV, SVOffset, Alignment, isVolatile);
17191719 N->setValueTypes(VTs);
17201720 CSEMap.InsertNode(N, IP);
123123
124124 // Append a subdirectory passed on our process id so multiple LLVMs don't
125125 // step on each other's toes.
126 #ifdef __MINGW32__
127 // Mingw's Win32 header files are broken.
126128 sprintf(pathname, "LLVM_%u", unsigned(GetCurrentProcessId()));
129 #else
130 sprintf(pathname, "LLVM_%u", GetCurrentProcessId());
131 #endif
127132 result.appendComponent(pathname);
128133
129134 // If there's a directory left over from a previous LLVM execution that
662662 AM.IndexReg = ShVal.Val->getOperand(0);
663663 ConstantSDNode *AddVal =
664664 cast(ShVal.Val->getOperand(1));
665 uint64_t Disp = AM.Disp + AddVal->getValue() << Val;
665 uint64_t Disp = AM.Disp + (AddVal->getValue() << Val);
666666 if (isInt32(Disp))
667667 AM.Disp = Disp;
668668 else
2121 class TargetInstrInfo;
2222 class X86TargetMachine;
2323
24 struct X86RegisterInfo : public X86GenRegisterInfo {
24 class X86RegisterInfo : public X86GenRegisterInfo {
25 public:
2526 X86TargetMachine &TM;
2627 const TargetInstrInfo &TII;
28
2729 private:
2830 /// Is64Bit - Is the target 64-bits.
2931 bool Is64Bit;
427427 // "setlt/gt int %a, %b" NE false then %a NE %b
428428
429429 if (ConstantBool *CB = dyn_cast(V1)) {
430 if (CB->getValue() ^ Opcode==NE)
430 if (CB->getValue() ^ (Opcode==NE))
431431 addNotEqual(BO->getOperand(0), BO->getOperand(1));
432432 }
433433 break;
436436 // "setle/ge int %a, %b" EQ false then %a NE %b
437437 // "setle/ge int %a, %b" NE true then %a NE %b
438438 if (ConstantBool *CB = dyn_cast(V1)) {
439 if (CB->getValue() ^ Opcode==EQ)
439 if (CB->getValue() ^ (Opcode==EQ))
440440 addNotEqual(BO->getOperand(0), BO->getOperand(1));
441441 }
442442 break;
485485 if (ConstantBool *CB = dyn_cast(V1)) {
486486 if (ConstantBool *A = dyn_cast(LHS)) {
487487 addEqual(RHS, ConstantBool::get(A->getValue() ^ CB->getValue()
488 ^ Opcode==NE));
488 ^ (Opcode==NE)));
489489 }
490490 }
491491 else if (ConstantIntegral *CI = dyn_cast(V1)) {
312312 assert(NameSuffix && "NameSuffix cannot be null!");
313313
314314 #ifndef NDEBUG
315 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
316 E = OldFunc->arg_end(); I != E; ++I)
317 assert(ValueMap.count(I) && "No mapping from source argument specified!");
315 for (Function::const_arg_iterator II = OldFunc->arg_begin(),
316 E = OldFunc->arg_end(); II != E; ++II)
317 assert(ValueMap.count(II) && "No mapping from source argument specified!");
318318 #endif
319319
320320 PruningFunctionCloner PFC(NewFunc, OldFunc, ValueMap, Returns,
319319 bool BugDriver::createReferenceFile(Module *M, const std::string &Filename) {
320320 try {
321321 compileProgram(Program);
322 } catch (ToolExecutionError &TEE) {
322 } catch (ToolExecutionError &) {
323323 return false;
324324 }
325325 try {
498498 // Get the program arguments
499499 sys::Path tmp_output("opt_result");
500500 std::string ErrMsg;
501 if (tmp_output.createTemporaryFileOnDisk(&ErrMsg)) {
501 if (tmp_output.createTemporaryFileOnDisk(true)) {
502502 return PrintAndReturn(ErrMsg);
503503 }
504504 const char* args[4];
6868 }
6969
7070 namespace llvm {
71 struct AsmWriterInst {
71 class AsmWriterInst {
72 public:
7273 std::vector Operands;
7374 const CodeGenInstruction *CGI;
7475
2222 class Record;
2323 class DagInit;
2424
25 struct CodeGenInstruction {
25 class CodeGenInstruction {
26 public:
2627 Record *TheDef; // The actual record defining this instruction.
2728 std::string Name; // Contents of the 'Name' field.
2829 std::string Namespace; // The namespace the instruction is in.
2626 %x comment
2727
2828 %{
29 #include "llvm/Config/config.h"
2930 #include "Record.h"
3031 typedef std::pair*> SubClassRefTy;
3132 #include "FileParser.h"
2323 class StringInit;
2424 class IntInit;
2525 class ListInit;
26 struct CodeGenInstruction;
26 class CodeGenInstruction;
2727
2828 class InstrInfoEmitter : public TableGenBackend {
2929 RecordKeeper &Records;
196196 RelativePath="..\..\lib\Analysis\DataStructure\BottomUpClosure.cpp">
197197
198198
199 RelativePath="..\..\lib\Analysis\DataStructure\CallTargets.cpp">
200
201
199202 RelativePath="..\..\lib\Analysis\DataStructure\CompleteBottomUp.cpp">
200203
201204
316319 Name="DataStructure"
317320 Filter="">
318321
322 RelativePath="..\..\include\llvm\Analysis\DataStructure\CallTargets.h">
323
324
319325 RelativePath="..\..\include\llvm\Analysis\DataStructure\DataStructure.h">
320326
321327
132132 RelativePath="..\..\lib\CodeGen\LiveVariables.cpp">
133133
134134
135 RelativePath="..\..\lib\CodeGen\LLVMTargetMachine.cpp">
136
137
135138 RelativePath="..\..\lib\CodeGen\MachineBasicBlock.cpp">
136139
137140
144147 RelativePath="..\..\lib\CodeGen\MachineInstr.cpp">
145148
146149
150 RelativePath="..\..\lib\CodeGen\MachinePassRegistry.cpp">
151
152
147153 RelativePath="..\..\lib\CodeGen\Passes.cpp">
148154
149155
166172
167173
168174 RelativePath="..\..\lib\CodeGen\UnreachableBlockElim.cpp">
169
170
171 RelativePath="..\..\lib\CodeGen\ValueTypes.cpp">
172175
173176
174177 RelativePath="..\..\lib\CodeGen\VirtRegMap.cpp">
189192 RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGList.cpp">
190193
191194
195 RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGRRList.cpp">
196
197
192198 RelativePath="..\..\lib\CodeGen\SelectionDAG\ScheduleDAGSimple.cpp">
193199
194200
199205
200206
201207 RelativePath="..\..\lib\CodeGen\SelectionDAG\SelectionDAGPrinter.cpp">
208
209
210 RelativePath="..\..\lib\CodeGen\SelectionDAG\TargetLowering.cpp">
202211
203212
204213
222231 RelativePath="..\..\include\llvm\CodeGen\IntrinsicLowering.h">
223232
224233
234 RelativePath="..\..\include\llvm\CodeGen\LinkAllCodegenComponents.h">
235
236
225237 RelativePath="..\..\include\llvm\CodeGen\LiveInterval.h">
226238
227239
261273 RelativePath="..\..\include\llvm\CodeGen\MachineLocation.h">
262274
263275
276 RelativePath="..\..\include\llvm\CodeGen\MachinePassRegistry.h">
277
278
264279 RelativePath="..\..\include\llvm\CodeGen\MachineRelocation.h">
265280
266281
282 RelativePath="..\..\include\llvm\CodeGen\MachOWriter.h">
283
284
267285 RelativePath="..\..\include\llvm\CodeGen\Passes.h">
268286
269287
270288 RelativePath="..\..\lib\CodeGen\PhysRegTracker.h">
271289
272290
291 RelativePath="..\..\include\llvm\CodeGen\RegAllocRegistry.h">
292
293
273294 RelativePath="..\..\include\llvm\CodeGen\SchedGraphCommon.h">
274295
275296
276297 RelativePath="..\..\include\llvm\CodeGen\ScheduleDAG.h">
277298
278299
300 RelativePath="..\..\include\llvm\CodeGen\SchedulerRegistry.h">
301
302
279303 RelativePath="..\..\include\llvm\CodeGen\SelectionDAG.h">
280304
281305
286310
287311
288312 RelativePath="..\..\include\llvm\CodeGen\SSARegMap.h">
289
290
291 RelativePath="..\..\include\llvm\CodeGen\ValueSet.h">
292313
293314
294315 RelativePath="..\..\include\llvm\CodeGen\ValueTypes.h">
109109 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
110110 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
111111
112 RelativePath="..\..\lib\Support\Allocator.cpp">
113
114
112115 RelativePath="..\..\lib\Support\Annotation.cpp">
113116
114117
124127
125128
126129
130 RelativePath="..\..\lib\Support\CStringMap.cpp">
131
132
127133 RelativePath="..\..\lib\Support\Debug.cpp">
128134
129135
133139 RelativePath="..\..\lib\Support\FileUtilities.cpp">
134140
135141
142 RelativePath="..\..\lib\Support\FoldingSet.cpp">
143
144
145 RelativePath="..\..\lib\Support\GraphWriter.cpp">
146
147
136148 RelativePath="..\..\lib\Support\IsInf.cpp">
137149
138150
139151 RelativePath="..\..\lib\Support\IsNAN.cpp">
152
153
154 RelativePath="..\..\lib\Support\ManagedStatic.cpp">
140155
141156
142157 RelativePath="..\..\lib\Support\PluginLoader.cpp">
168183
169184 RelativePath="..\..\lib\Support\Timer.cpp">
170185
171
172 RelativePath="..\..\lib\Support\ToolRunner.cpp">
173
174186
175187 Name="bzip2"
176188 Filter="">
211223 RelativePath="..\..\include\llvm\Support\AIXDataTypesFix.h">
212224
213225
226 RelativePath="..\..\include\llvm\Support\Allocator.h">
227
228
214229 RelativePath="..\..\include\llvm\Support\Annotation.h">
215230
216231
226241 RelativePath="..\..\include\llvm\Support\CommandLine.h">
227242
228243
244 RelativePath="..\..\include\llvm\Support\Compiler.h">
245
246
229247 RelativePath="..\..\include\llvm\Support\Compressor.h">
230248
231249
271289 RelativePath="..\..\include\llvm\Support\MallocAllocator.h">
272290
273291
292 RelativePath="..\..\include\llvm\Support\ManagedStatic.h">
293
294
274295 RelativePath="..\..\include\llvm\Support\Mangler.h">
275296
276297
302323
303324
304325 RelativePath="..\..\include\llvm\Support\Timer.h">
305
306
307 RelativePath="..\..\include\llvm\Support\ToolRunner.h">
308326
309327
310328 RelativePath="..\..\include\llvm\Support\type_traits.h">
320338 RelativePath="..\..\include\llvm\Adt\BitSetVector.h">
321339
322340
341 RelativePath="..\..\include\llvm\ADT\CStringMap.h">
342
343
323344 RelativePath="..\..\include\llvm\Adt\DenseMap.h">
324345
325346
329350 RelativePath="..\..\include\llvm\Adt\EquivalenceClasses.h">
330351
331352
353 RelativePath="..\..\include\llvm\ADT\FoldingSet.h">
354
355
332356 RelativePath="..\..\include\llvm\Adt\GraphTraits.h">
333357
334358
357381
358382
359383 RelativePath="..\..\include\llvm\Adt\SetVector.h">
384
385
386 RelativePath="..\..\include\llvm\ADT\SmallString.h">
387
388
389 RelativePath="..\..\include\llvm\ADT\SmallVector.h">
360390
361391
362392 RelativePath="..\..\include\llvm\Adt\Statistic.h">
109109 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
110110 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
111111
112 RelativePath="..\..\lib\System\Alarm.cpp">
113
114
112115 RelativePath="..\..\lib\System\DynamicLibrary.cpp">
116
117
118 RelativePath="..\..\lib\System\IncludeFile.cpp">
113119
114120
115121 RelativePath="..\..\lib\System\MappedFile.cpp">
141147 Filter="h;hpp;hxx;hm;inl;inc;xsd"
142148 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
143149
150 RelativePath="..\..\include\llvm\System\Alarm.h">
151
152
144153 RelativePath="..\..\include\llvm\System\DynamicLibrary.h">
154
155
156 RelativePath="..\..\include\llvm\System\IncludeFile.h">
145157
146158
147159 RelativePath="..\..\include\llvm\System\MappedFile.h">
114114 RelativePath="..\..\lib\Target\SubtargetFeature.cpp">
115115
116116
117 RelativePath="..\..\lib\Target\TargetAsmInfo.cpp">
118
119
117120 RelativePath="..\..\lib\Target\TargetData.cpp">
118121
119122
121124
122125
123126 RelativePath="..\..\lib\Target\TargetInstrInfo.cpp">
124
125
126 RelativePath="..\..\lib\Target\TargetLowering.cpp">
127127
128128
129129 RelativePath="..\..\lib\Target\TargetMachine.cpp">
144144
145145
146146 RelativePath="..\..\include\llvm\Target\SubtargetFeature.h">
147
148
149 RelativePath="..\..\include\llvm\Target\TargetAsmInfo.h">
147150
148151
149152 RelativePath="..\..\include\llvm\Target\TargetData.h">
260260 RelativePath="..\..\lib\Transforms\Scalar\LoopUnswitch.cpp">
261261
262262
263 RelativePath="..\..\lib\Transforms\Scalar\LowerAllocations.cpp">
264
265
266263 RelativePath="..\..\lib\Transforms\Scalar\LowerGC.cpp">
267264
268265
269 RelativePath="..\..\lib\Transforms\Scalar\LowerInvoke.cpp">
270
271
272266 RelativePath="..\..\lib\Transforms\Scalar\LowerPacked.cpp">
273267
274268
275 RelativePath="..\..\lib\Transforms\Scalar\LowerSelect.cpp">
276
277
278 RelativePath="..\..\lib\Transforms\Scalar\LowerSwitch.cpp">
279
280
281 RelativePath="..\..\lib\Transforms\Scalar\Mem2Reg.cpp">
269 RelativePath="..\..\lib\Transforms\Scalar\PredicateSimplifier.cpp">
282270
283271
284272 RelativePath="..\..\lib\Transforms\Scalar\Reassociate.cpp">
334322 RelativePath="..\..\lib\Transforms\Utils\InlineFunction.cpp">
335323
336324
325 RelativePath="..\..\lib\Transforms\Utils\LCSSA.cpp">
326
327
337328 RelativePath="..\..\lib\Transforms\Utils\Local.cpp">
338329
339330
340331 RelativePath="..\..\lib\Transforms\Utils\LoopSimplify.cpp">
332
333
334 RelativePath="..\..\lib\Transforms\Utils\LowerAllocations.cpp">
335
336
337 RelativePath="..\..\lib\Transforms\Utils\LowerInvoke.cpp">
338
339
340 RelativePath="..\..\lib\Transforms\Utils\LowerSelect.cpp">
341
342
343 RelativePath="..\..\lib\Transforms\Utils\LowerSwitch.cpp">
344
345
346 RelativePath="..\..\lib\Transforms\Utils\Mem2Reg.cpp">
341347
342348
343349 RelativePath="..\..\lib\Transforms\Utils\PromoteMemoryToRegister.cpp">
388394 RelativePath="..\..\include\llvm\Transforms\IPO.h">
389395
390396
391 RelativePath="..\..\include\llvm\Transforms\LinkAllPasses.h">
392
393
394397 RelativePath="..\..\include\llvm\Transforms\Utils\Local.h">
395398
396399
198198 RelativePath="..\..\lib\VMCore\ValueSymbolTable.cpp">
199199
200200
201 RelativePath="..\..\lib\VMCore\ValueTypes.cpp">
202
203
201204 RelativePath="..\..\lib\VMCore\Verifier.cpp">
202205
203206
123123 Name="Source Files"
124124 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
125125 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
126
127 RelativePath="..\..\tools\analyze\AnalysisWrappers.cpp">
128
129
130 RelativePath="..\..\tools\analyze\analyze.cpp">
131
132
133 RelativePath="..\..\tools\analyze\GraphPrinters.cpp">
134
135126
136127
137128 Name="Header Files"
139139 RelativePath="..\..\tools\bugpoint\ExtractFunction.cpp">
140140
141141
142 RelativePath="..\..\tools\bugpoint\FindBugs.cpp">
143
144
142145 RelativePath="..\..\tools\bugpoint\Miscompilation.cpp">
143146
144147
146149
147150
148151 RelativePath="..\..\tools\bugpoint\TestPasses.cpp">
152
153
154 RelativePath="..\..\tools\bugpoint\ToolRunner.cpp">
149155
150156
151157
158164
159165 RelativePath="..\..\tools\bugpoint\ListReducer.h">
160166
167
168 RelativePath="..\..\tools\bugpoint\ToolRunner.h">
169
161170
162171
163172
1919 #define LTDL_SHLIB_EXT ".dll"
2020 #define LTDL_SYSSEARCHPATH ""
2121 #define LLVM_ON_WIN32 1
22
23 #define strtoll strtol
217217 {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61} = {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61}
218218 {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
219219 {0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
220 EndProjectSection
221 EndProject
222 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "analyze", "analyze\analyze.vcproj", "{DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}"
223 ProjectSection(ProjectDependencies) = postProject
224 {0622E827-8464-489D-8B1C-B0B496F35C08} = {0622E827-8464-489D-8B1C-B0B496F35C08}
225 {28AA9146-3482-4F41-9CC6-407B1D258508} = {28AA9146-3482-4F41-9CC6-407B1D258508}
226 {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
227 {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61} = {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61}
228 {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4} = {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}
229 {C59374C1-9FC0-4147-B836-327DFDC52D99} = {C59374C1-9FC0-4147-B836-327DFDC52D99}
230 {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
231 {0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
232 {3DC216F5-1DDD-478A-84F8-C124E5C31982} = {3DC216F5-1DDD-478A-84F8-C124E5C31982}
233220 EndProjectSection
234221 EndProject
235222 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bugpoint", "bugpoint\bugpoint.vcproj", "{57249192-8E29-4D85-8B7A-FEFF1760B1DA}"
250237 GlobalSection(SolutionConfiguration) = preSolution
251238 Debug = Debug
252239 Release = Release
240 EndGlobalSection
241 GlobalSection(ProjectDependencies) = postSolution
253242 EndGlobalSection
254243 GlobalSection(ProjectConfiguration) = postSolution
255244 {28AA9146-3482-4F41-9CC6-407B1D258508}.Debug.ActiveCfg = Debug|Win32
364353 {ACBE81D9-64B1-4133-823A-807A4E60B454}.Debug.Build.0 = Debug|Win32
365354 {ACBE81D9-64B1-4133-823A-807A4E60B454}.Release.ActiveCfg = Release|Win32
366355 {ACBE81D9-64B1-4133-823A-807A4E60B454}.Release.Build.0 = Release|Win32
367 {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Debug.ActiveCfg = Debug|Win32
368 {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Debug.Build.0 = Debug|Win32
369 {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Release.ActiveCfg = Release|Win32
370 {DF8506B5-28D2-4D2E-9A6C-57D5BC98BF76}.Release.Build.0 = Release|Win32
371356 {57249192-8E29-4D85-8B7A-FEFF1760B1DA}.Debug.ActiveCfg = Debug|Win32
372357 {57249192-8E29-4D85-8B7A-FEFF1760B1DA}.Debug.Build.0 = Debug|Win32
373358 {57249192-8E29-4D85-8B7A-FEFF1760B1DA}.Release.ActiveCfg = Release|Win32
124124 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
125125 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
126126
127 RelativePath="..\..\tools\opt\AnalysisWrappers.cpp">
128
129
130 RelativePath="..\..\tools\opt\GraphPrinters.cpp">
131
132
127133 RelativePath="..\..\tools\opt\opt.cpp">
134
135
136 RelativePath="..\..\tools\opt\PrintSCC.cpp">
128137
129138
130139
115115
116116 Name="VCCustomBuildTool"
117117 Description="Performing TableGen Step"
118 CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
119 ..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
120 ..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
121 ..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
122 ..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
123 ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
124 ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
125 ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
126 ..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
118 CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
119 ..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
120 ..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
121 ..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
122 ..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
123 ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
124 ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
125 ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
126 ..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
127127 "
128128 AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)X86InstrFPStack.td;$(InputDir)X86InstrMMX.td;$(InputDir)X86InstrSSE.td;$(InputDir)..\Target.td;$(InputDir)..\TargetSchedule.td;$(InputDir)..\TargetScheduleDAG.td;$(ProjectDir)..\$(IntDir)\TableGen.exe"
129129 Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/>
133133
134134 Name="VCCustomBuildTool"
135135 Description="Performing TableGen Step"
136 CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
137 ..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
138 ..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
139 ..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
140 ..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
141 ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
142 ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
143 ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
144 ..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
136 CommandLine="..\$(IntDir)\TableGen.exe -gen-register-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterNames.inc
137 ..\$(IntDir)\TableGen.exe -gen-register-desc-header -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.h.inc
138 ..\$(IntDir)\TableGen.exe -gen-register-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenRegisterInfo.inc
139 ..\$(IntDir)\TableGen.exe -gen-instr-enums -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrNames.inc
140 ..\$(IntDir)\TableGen.exe -gen-instr-desc -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenInstrInfo.inc
141 ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc
142 ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc
143 ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc
144 ..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc
145145 "
146146 AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)X86InstrFPStack.td;$(InputDir)X86InstrMMX.td;$(InputDir)X86InstrSSE.td;$(InputDir)..\Target.td;$(InputDir)..\TargetSchedule.td;$(InputDir)..\TargetScheduleDAG.td;$(ProjectDir)..\$(IntDir)\TableGen.exe"
147147 Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/>
166166 RelativePath="..\..\lib\Target\X86\X86InstrInfo.cpp">
167167
168168
169 RelativePath="..\..\lib\Target\X86\X86InstrX86-64.td">
170
171
169172 RelativePath="..\..\lib\Target\X86\X86IntelAsmPrinter.cpp">
170173
171174
182185
183186
184187 RelativePath="..\..\lib\Target\X86\X86Subtarget.cpp">
188
189
190 RelativePath="..\..\lib\Target\X86\X86TargetAsmInfo.cpp">
185191
186192
187193 RelativePath="..\..\lib\Target\X86\X86TargetMachine.cpp">
234240 RelativePath="..\..\lib\Target\X86\X86JITInfo.h">
235241
236242
243 RelativePath="..\..\lib\Target\X86\X86MachineFunctionInfo.h">
244
245
237246 RelativePath="..\..\lib\Target\X86\X86RegisterInfo.h">
238247
239248
241250
242251
243252 RelativePath="..\..\lib\Target\X86\X86Subtarget.h">
253
254
255 RelativePath="..\..\lib\Target\X86\X86TargetAsmInfo.h">
244256
245257
246258 RelativePath="..\..\lib\Target\X86\X86TargetMachine.h">