summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-04-21 18:05:20 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-04-21 18:05:20 +0000
commit94a720c73e11f8b2f532d3dfb4e145c6b35a2ea2 (patch)
treeff9373ff6171cb7d433d6ceb77d10fca5a36d4fc /include
parentd81a0dee5b7df712c584e2a3e556ff2f0677e9df (diff)
downloadllvm-94a720c73e11f8b2f532d3dfb4e145c6b35a2ea2.tar.gz
llvm-94a720c73e11f8b2f532d3dfb4e145c6b35a2ea2.tar.bz2
llvm-94a720c73e11f8b2f532d3dfb4e145c6b35a2ea2.tar.xz
Remove unused, undefined ArgFlagsTy::getArgFlagsString; add a comment about 'returned'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetCallingConv.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetCallingConv.h b/include/llvm/Target/TargetCallingConv.h
index 56ebfa4104..1fd0bd98b6 100644
--- a/include/llvm/Target/TargetCallingConv.h
+++ b/include/llvm/Target/TargetCallingConv.h
@@ -36,7 +36,7 @@ namespace ISD {
static const uint64_t ByValOffs = 4;
static const uint64_t Nest = 1ULL<<5; ///< Nested fn static chain
static const uint64_t NestOffs = 5;
- static const uint64_t Returned = 1ULL<<6;
+ static const uint64_t Returned = 1ULL<<6; ///< Always returned
static const uint64_t ReturnedOffs = 6;
static const uint64_t ByValAlign = 0xFULL<<7; ///< Struct alignment
static const uint64_t ByValAlignOffs = 7;
@@ -44,7 +44,7 @@ namespace ISD {
static const uint64_t SplitOffs = 11;
static const uint64_t OrigAlign = 0x1FULL<<27;
static const uint64_t OrigAlignOffs = 27;
- static const uint64_t ByValSize = 0xffffffffULL << 32; ///< Struct size
+ static const uint64_t ByValSize = 0xffffffffULL<<32; ///< Struct size
static const uint64_t ByValSizeOffs = 32;
static const uint64_t One = 1ULL; ///< 1 of this type, for shifts
@@ -102,9 +102,6 @@ namespace ISD {
Flags = (Flags & ~ByValSize) | (uint64_t(S) << ByValSizeOffs);
}
- /// getArgFlagsString - Returns the flags as a string, eg: "zext align:4".
- std::string getArgFlagsString();
-
/// getRawBits - Represent the flags as a bunch of bits.
uint64_t getRawBits() const { return Flags; }
};