diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-22 21:14:27 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-22 21:14:27 +0000 |
commit | 00d448a341175556ebd86af68219f5b90b7145a3 (patch) | |
tree | a279501b5db646175c4e7bb773f54d9f68f4ce35 /include | |
parent | 8044e9b3af6e62afe89cd60bf76de22ae7138306 (diff) | |
download | external_llvm-00d448a341175556ebd86af68219f5b90b7145a3.zip external_llvm-00d448a341175556ebd86af68219f5b90b7145a3.tar.gz external_llvm-00d448a341175556ebd86af68219f5b90b7145a3.tar.bz2 |
Refactor a bunch of code out of AsmPrinter::EmitGlobalConstant into separate
functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 3b79b11..ac88d8c 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -25,6 +25,9 @@ namespace llvm { class GCStrategy; class Constant; class ConstantArray; + class ConstantInt; + class ConstantStruct; + class ConstantVector; class GCMetadataPrinter; class GlobalVariable; class GlobalAlias; @@ -369,6 +372,11 @@ namespace llvm { const GlobalValue *findGlobalValue(const Constant* CV); void EmitLLVMUsedList(Constant *List); void EmitXXStructorList(Constant *List); + void EmitGlobalConstantStruct(const ConstantStruct* CVS); + void EmitGlobalConstantArray(const ConstantArray* CVA); + void EmitGlobalConstantVector(const ConstantVector* CP); + void EmitGlobalConstantFP(const ConstantFP* CFP); + void EmitGlobalConstantLargeInt(const ConstantInt* CI); GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy *C); }; } |