Included assert.h so that the code compiles under newer versions of GCC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2003-06-11 14:01:36 +00:00
parent aff713cca5
commit be583b914d
69 changed files with 115 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#define SUPPORT_ANNOTATION_H
#include <string>
#include <assert.h>
class AnnotationID;
class Annotation;
class Annotable;

View File

@ -31,6 +31,7 @@
#include <functional>
#include <iostream>
#include <assert.h>
#define WORDSIZE (32U)

View File

@ -19,6 +19,8 @@
#include <cstdarg>
#include "boost/type_traits/object_traits.hpp"
#include <assert.h>
/// cl Namespace - This namespace contains all of the command line option
/// processing machinery. It is intentionally a short name to make qualified
/// usage concise.

View File

@ -21,6 +21,7 @@
#include <stack>
#include <map>
#include <assert.h>
//--------------------------------------------------------------------------
// class SCC : A simple representation of an SCC in a generic Graph.

View File

@ -29,6 +29,8 @@
#include <vector>
#include <iosfwd>
#include <assert.h>
class TimerGroup;
class Timer {

View File

@ -10,6 +10,8 @@
#include <vector>
#include <assert.h>
template<class ConcreteTreeNode, class Payload>
class Tree {
std::vector<ConcreteTreeNode*> Children; // This nodes children, if any

View File

@ -31,6 +31,7 @@
#include <functional>
#include <iostream>
#include <assert.h>
#define WORDSIZE (32U)

View File

@ -21,6 +21,7 @@
#include <stack>
#include <map>
#include <assert.h>
//--------------------------------------------------------------------------
// class SCC : A simple representation of an SCC in a generic Graph.

View File

@ -10,6 +10,8 @@
#include <vector>
#include <assert.h>
template<class ConcreteTreeNode, class Payload>
class Tree {
std::vector<ConcreteTreeNode*> Children; // This nodes children, if any

View File

@ -10,6 +10,8 @@
#ifndef LLVM_ANALYSIS_ALIASSETTRACKER_H
#define LLVM_ANALYSIS_ALIASSETTRACKER_H
#include <assert.h>
#include "llvm/Support/CallSite.h"
#include "Support/iterator"
#include "Support/hash_map"

View File

@ -41,6 +41,8 @@
#ifndef LLVM_ANALYSIS_CALLGRAPH_H
#define LLVM_ANALYSIS_CALLGRAPH_H
#include <assert.h>
#include "Support/GraphTraits.h"
#include "Support/STLExtras.h"
#include "llvm/Pass.h"

View File

@ -9,6 +9,8 @@
#ifndef LLVM_ANALYSIS_CONSTANTSSCANNER_H
#define LLVM_ANALYSIS_CONSTANTSSCANNER_H
#include <assert.h>
#include "llvm/Support/InstIterator.h"
#include "llvm/Instruction.h"
#include "Support/iterator"

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DSGRAPH_H
#define LLVM_ANALYSIS_DSGRAPH_H
#include <assert.h>
#include "llvm/Analysis/DSNode.h"
//===----------------------------------------------------------------------===//

View File

@ -9,6 +9,8 @@
#ifndef LLVM_ANALYSIS_DSGRAPHTRAITS_H
#define LLVM_ANALYSIS_DSGRAPHTRAITS_H
#include <assert.h>
#include "llvm/Analysis/DSGraph.h"
#include "Support/GraphTraits.h"
#include "Support/iterator"

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DSNODE_H
#define LLVM_ANALYSIS_DSNODE_H
#include <assert.h>
#include "llvm/Analysis/DSSupport.h"
template<typename BaseType>
class DSNodeIterator; // Data structure graph traversal iterator

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DSSUPPORT_H
#define LLVM_ANALYSIS_DSSUPPORT_H
#include <assert.h>
#include <vector>
#include <functional>
#include <string>

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DATA_STRUCTURE_H
#define LLVM_ANALYSIS_DATA_STRUCTURE_H
#include <assert.h>
#include "llvm/Pass.h"
#include "Support/HashExtras.h"
#include "Support/hash_set"

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DSGRAPH_H
#define LLVM_ANALYSIS_DSGRAPH_H
#include <assert.h>
#include "llvm/Analysis/DSNode.h"
//===----------------------------------------------------------------------===//

View File

@ -9,6 +9,8 @@
#ifndef LLVM_ANALYSIS_DSGRAPHTRAITS_H
#define LLVM_ANALYSIS_DSGRAPHTRAITS_H
#include <assert.h>
#include "llvm/Analysis/DSGraph.h"
#include "Support/GraphTraits.h"
#include "Support/iterator"

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DSNODE_H
#define LLVM_ANALYSIS_DSNODE_H
#include <assert.h>
#include "llvm/Analysis/DSSupport.h"
template<typename BaseType>
class DSNodeIterator; // Data structure graph traversal iterator

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DSSUPPORT_H
#define LLVM_ANALYSIS_DSSUPPORT_H
#include <assert.h>
#include <vector>
#include <functional>
#include <string>

View File

@ -7,6 +7,8 @@
#ifndef LLVM_ANALYSIS_DATA_STRUCTURE_H
#define LLVM_ANALYSIS_DATA_STRUCTURE_H
#include <assert.h>
#include "llvm/Pass.h"
#include "Support/HashExtras.h"
#include "Support/hash_set"

View File

@ -23,6 +23,8 @@
#include <vector>
#include <utility>
#include <assert.h>
class Instruction;
class Function;
class Dependence;

View File

@ -20,6 +20,7 @@
#include "llvm/Pass.h"
#include <set>
#include <assert.h>
class Instruction;
template <typename GraphType> struct GraphTraits;

View File

@ -39,6 +39,8 @@
#ifndef LLVM_ANALYSIS_IPMODREF_H
#define LLVM_ANALYSIS_IPMODREF_H
#include <assert.h>
#include "llvm/Pass.h"
#include "Support/BitSetVector.h"
#include "Support/hash_map"

View File

@ -19,6 +19,7 @@
#include "llvm/Function.h"
#include "Support/Tree.h"
#include <map>
#include <assert.h>
template<class Payload> class InstTreeNode;
template<class Payload> class InstForest;

View File

@ -33,6 +33,7 @@
#include <stack>
#include <set>
#include <algorithm>
#include <assert.h>
// getNodeHeader - Given a source graph node and the source graph, return the
// BasicBlock that is the header node. This is the opposite of

View File

@ -20,6 +20,7 @@
#include "Support/NonCopyable.h"
#include "Support/hash_map"
#include <assert.h>
class Instruction;
class Function;

View File

@ -40,6 +40,7 @@
#include "Support/NonCopyable.h"
#include <iterator>
#include <assert.h>
class Instruction;
class Function;

View File

@ -21,6 +21,7 @@
#include "llvm/Instruction.h"
#include "Support/HashExtras.h"
#include <assert.h>
class Constant;
class BasicBlock;

View File

@ -8,6 +8,7 @@
#define LLVM_CODEGEN_INSTR_SELECTION_H
#include "llvm/Instruction.h"
#include <assert.h>
class Function;
class InstrForest;
class MachineInstr;

View File

@ -24,6 +24,7 @@
#include "llvm/CodeGen/MachineFunctionPass.h"
#include <map>
#include <assert.h>
class MRegisterInfo;

View File

@ -20,6 +20,8 @@
#include "Support/Annotation.h"
#include <vector>
#include <assert.h>
class MachineInstr;
class Instruction;
class Value;

View File

@ -35,6 +35,7 @@ class TargetData;
class TargetRegisterClass;
class MachineFunction;
#include <vector>
#include <assert.h>
class MachineFrameInfo {

View File

@ -13,6 +13,8 @@
#include "Support/Annotation.h"
#include "Support/iterator"
#include <set>
#include <assert.h>
class Value;
class Function;
class MachineBasicBlock;

View File

@ -10,6 +10,8 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetRegInfo.h"
#include <assert.h>
class Value;
class TmpInstruction;
class CallInst;

View File

@ -12,6 +12,8 @@
#include "llvm/Target/MRegisterInfo.h"
#include <assert.h>
class TargetRegisterClass;
class SSARegMap {

View File

@ -7,6 +7,7 @@
#ifndef LLVM_CONSTANT_H
#define LLVM_CONSTANT_H
#include <assert.h>
#include "llvm/User.h"
class Constant : public User {

View File

@ -33,6 +33,8 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
#include <assert.h>
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;

View File

@ -8,6 +8,8 @@
#ifndef LLVM_CONSTANTS_H
#define LLVM_CONSTANTS_H
#include <assert.h>
#include "llvm/Constant.h"
#include "Support/DataTypes.h"

View File

@ -11,6 +11,8 @@
#ifndef LLVM_DERIVED_TYPES_H
#define LLVM_DERIVED_TYPES_H
#include <assert.h>
#include "llvm/Type.h"
class DerivedType : public Type {

View File

@ -13,6 +13,8 @@
#ifndef LLVM_GLOBAL_VARIABLE_H
#define LLVM_GLOBAL_VARIABLE_H
#include <assert.h>
#include "llvm/GlobalValue.h"
class Module;
class Constant;

View File

@ -8,6 +8,8 @@
#ifndef LLVM_INSTRUCTION_H
#define LLVM_INSTRUCTION_H
#include <assert.h>
#include "llvm/User.h"
template<typename SC> struct ilist_traits;
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,

View File

@ -22,6 +22,8 @@
#ifndef LLVM_PASS_H
#define LLVM_PASS_H
#include <assert.h>
#include <vector>
#include <map>
#include <iosfwd>

View File

@ -14,7 +14,7 @@
// No need to include Pass.h, we are being included by it!
#include <assert.h>
//===----------------------------------------------------------------------===//
// AnalysisUsage - Represent the analysis usage information of a pass. This

View File

@ -14,6 +14,8 @@
#ifndef LLVM_PASS_SUPPORT_H
#define LLVM_PASS_SUPPORT_H
#include <assert.h>
// No need to include Pass.h, we are being included by it!
class TargetMachine;

View File

@ -16,6 +16,7 @@
#define SUPPORT_ANNOTATION_H
#include <string>
#include <assert.h>
class AnnotationID;
class Annotation;
class Annotable;

View File

@ -13,6 +13,8 @@
#include "llvm/InstrTypes.h"
#include "Support/iterator"
#include <assert.h>
//===--------------------------------------------------------------------===//
// BasicBlock pred_iterator definition
//===--------------------------------------------------------------------===//

View File

@ -19,6 +19,8 @@
#include <cstdarg>
#include "boost/type_traits/object_traits.hpp"
#include <assert.h>
/// cl Namespace - This namespace contains all of the command line option
/// processing machinery. It is intentionally a short name to make qualified
/// usage concise.

View File

@ -44,6 +44,8 @@
#define LLVM_SUPPORT_INSTVISITOR_H
#include "llvm/Instruction.h"
#include <assert.h>
class Module;
// We operate on opaque instruction classes, so forward declare all instruction

View File

@ -20,6 +20,7 @@
#include "llvm/Pass.h"
#include <algorithm>
#include <iostream>
#include <assert.h>
//===----------------------------------------------------------------------===//
// PassNameParser class - Make use of the pass registration mechanism to

View File

@ -29,6 +29,8 @@
#include <vector>
#include <iosfwd>
#include <assert.h>
class TimerGroup;
class Timer {

View File

@ -16,6 +16,8 @@
#ifndef LLVM_SYMBOL_TABLE_H
#define LLVM_SYMBOL_TABLE_H
#include <assert.h>
#include "llvm/Value.h"
#include <map>

View File

@ -8,6 +8,8 @@
#define LLVM_TARGET_TARGETCACHEINFO_H
#include "Support/DataTypes.h"
#include <assert.h>
class TargetMachine;
struct TargetCacheInfo {

View File

@ -9,6 +9,7 @@
#include "Support/DataTypes.h"
#include <vector>
#include <assert.h>
class MachineInstr;
class TargetMachine;

View File

@ -10,6 +10,7 @@
#include "Support/hash_map"
#include <string>
#include <assert.h>
class TargetMachine;
class IGNode;

View File

@ -10,6 +10,7 @@
#include "llvm/Target/TargetInstrInfo.h"
#include "Support/hash_map"
#include <string>
#include <assert.h>
typedef long long cycles_t;
static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2));

View File

@ -12,6 +12,8 @@
#ifndef LLVM_USER_H
#define LLVM_USER_H
#include <assert.h>
#include "llvm/Value.h"
class User : public Value {

View File

@ -8,6 +8,8 @@
#ifndef LLVM_IOTHER_H
#define LLVM_IOTHER_H
#include <assert.h>
#include "llvm/InstrTypes.h"
//===----------------------------------------------------------------------===//

View File

@ -7,6 +7,8 @@
#ifndef LLVM_IPHINODE_H
#define LLVM_IPHINODE_H
#include <assert.h>
#include "llvm/Instruction.h"
class BasicBlock;

View File

@ -9,6 +9,8 @@
#ifndef LLVM_ITERMINATORS_H
#define LLVM_ITERMINATORS_H
#include <assert.h>
#include "llvm/InstrTypes.h"
//===---------------------------------------------------------------------------

View File

@ -26,6 +26,7 @@
#define IG_NODE_H
#include "llvm/CodeGen/LiveRange.h"
#include <assert.h>
class RegClass;
//----------------------------------------------------------------------------

View File

@ -14,6 +14,8 @@
#include "llvm/CodeGen/ValueSet.h"
#include "llvm/Value.h"
#include <assert.h>
class RegClass;
class IGNode;
class Type;

View File

@ -20,6 +20,8 @@
#include "Support/Annotation.h"
#include <vector>
#include <assert.h>
class MachineInstr;
class Instruction;
class Value;

View File

@ -10,6 +10,8 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetRegInfo.h"
#include <assert.h>
class Value;
class TmpInstruction;
class CallInst;

View File

@ -26,6 +26,7 @@
#define IG_NODE_H
#include "llvm/CodeGen/LiveRange.h"
#include <assert.h>
class RegClass;
//----------------------------------------------------------------------------

View File

@ -14,6 +14,8 @@
#include "llvm/CodeGen/ValueSet.h"
#include "llvm/Value.h"
#include <assert.h>
class RegClass;
class IGNode;
class Type;

View File

@ -33,6 +33,8 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
#include <assert.h>
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;

View File

@ -33,6 +33,8 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
#include <assert.h>
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;