CallingConvEmitter.cpp (208954) | CallingConvEmitter.cpp (212904) |
---|---|
1//===- CallingConvEmitter.cpp - Generate calling conventions --------------===// 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//===----------------------------------------------------------------------===// --- 155 unchanged lines hidden (view full) --- 164 else 165 O << "\n" << IndentStr << " State.getTarget().getTargetData()" 166 "->getTypeAllocSize(LocVT.getTypeForEVT(State.getContext())), "; 167 if (Align) 168 O << Align; 169 else 170 O << "\n" << IndentStr << " State.getTarget().getTargetData()" 171 "->getABITypeAlignment(LocVT.getTypeForEVT(State.getContext()))"; | 1//===- CallingConvEmitter.cpp - Generate calling conventions --------------===// 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//===----------------------------------------------------------------------===// --- 155 unchanged lines hidden (view full) --- 164 else 165 O << "\n" << IndentStr << " State.getTarget().getTargetData()" 166 "->getTypeAllocSize(LocVT.getTypeForEVT(State.getContext())), "; 167 if (Align) 168 O << Align; 169 else 170 O << "\n" << IndentStr << " State.getTarget().getTargetData()" 171 "->getABITypeAlignment(LocVT.getTypeForEVT(State.getContext()))"; |
172 if (Action->isSubClassOf("CCAssignToStackWithShadow")) 173 O << ", " << getQualifiedName(Action->getValueAsDef("ShadowReg")); |
|
172 O << ");\n" << IndentStr 173 << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" 174 << Counter << ", LocVT, LocInfo));\n"; 175 O << IndentStr << "return false;\n"; 176 } else if (Action->isSubClassOf("CCPromoteToType")) { 177 Record *DestTy = Action->getValueAsDef("DestTy"); 178 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; 179 O << IndentStr << "if (ArgFlags.isSExt())\n" --- 31 unchanged lines hidden --- | 174 O << ");\n" << IndentStr 175 << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" 176 << Counter << ", LocVT, LocInfo));\n"; 177 O << IndentStr << "return false;\n"; 178 } else if (Action->isSubClassOf("CCPromoteToType")) { 179 Record *DestTy = Action->getValueAsDef("DestTy"); 180 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; 181 O << IndentStr << "if (ArgFlags.isSExt())\n" --- 31 unchanged lines hidden --- |