Changes in directory llvm/lib/Target/X86:
X86CallingConv.td updated: 1.3 -> 1.4 --- Log message: move target independent calling convention stuff to TargetCallingConv.td --- Diffs of the changes: (+0 -56) X86CallingConv.td | 56 ------------------------------------------------------ 1 files changed, 56 deletions(-) Index: llvm/lib/Target/X86/X86CallingConv.td diff -u llvm/lib/Target/X86/X86CallingConv.td:1.3 llvm/lib/Target/X86/X86CallingConv.td:1.4 --- llvm/lib/Target/X86/X86CallingConv.td:1.3 Mon Feb 26 23:51:05 2007 +++ llvm/lib/Target/X86/X86CallingConv.td Mon Feb 26 23:57:32 2007 @@ -12,62 +12,6 @@ // //===----------------------------------------------------------------------===// -class CCAction; -class CallingConv; - -/// CCPredicateAction - Instances of this class check some predicate, then -/// delegate to another action if the predicate is true. -class CCPredicateAction<CCAction A> : CCAction { - CCAction SubAction = A; -} - -/// CCMatchType - If the current argument is one of the specified types, apply -/// Action A. -class CCMatchType<list<ValueType> VTs, CCAction A> : CCPredicateAction<A> { -} - -/// CCMatchIf - If the predicate matches, apply A. -class CCMatchIf<string predicate, CCAction A> : CCPredicateAction<A> { - string Predicate = predicate; -} - -/// CCMatchIfCC - Match of the current calling convention is 'CC'. -class CCMatchIfCC<string CC, CCAction A> : CCPredicateAction<A> { - string CallingConv = CC; -} - -/// CCAssignToReg - This action matches if there is a register in the specified -/// list that is still available. If so, it assigns the value to the first -/// available register and succeeds. -class CCAssignToReg<list<Register> regList> : CCAction { - list<Register> RegList = regList; -} - -/// CCAssignToStack - This action always matches: it assigns the value to a -/// stack slot of the specified size and alignment on the stack. -class CCAssignToStack<int size, int align> : CCAction { - int Size = size; - int Align = align; -} - - -/// CCPromoteToType - If applied, this promotes the specified current value to -/// the specified type. -class CCPromoteToType<ValueType destTy> : CCAction { - ValueType DestTy = destTy; -} - -/// CCDelegateTo - This action invokes the specified sub-calling-convention. It -/// is successful if the specified CC matches. -class CCDelegateTo<CallingConv cc> : CCAction { - CallingConv CC = cc; -} - - -class CallingConv<list<CCAction> actions> { - list<CCAction> Actions = actions; -} - //===----------------------------------------------------------------------===// // Return Value Calling Conventions //===----------------------------------------------------------------------===// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits