summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/CallingConvLower.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-04-17 20:35:10 +0000
committerBob Wilson <bob.wilson@apple.com>2009-04-17 20:35:10 +0000
commitdee46d7f6d61ca628725b54c2d24154ebe70ed96 (patch)
treef7bd3608f886f9ce36c6715310e019a499c71856 /include/llvm/CodeGen/CallingConvLower.h
parent276944ef309ce43286120fb580eda78d6762a67e (diff)
downloadllvm-dee46d7f6d61ca628725b54c2d24154ebe70ed96.tar.gz
llvm-dee46d7f6d61ca628725b54c2d24154ebe70ed96.tar.bz2
llvm-dee46d7f6d61ca628725b54c2d24154ebe70ed96.tar.xz
Clean up formatting, remove trailing whitespace, fix comment typos and
punctuation. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h
index 4b7e54cc46..7c83e24728 100644
--- a/include/llvm/CodeGen/CallingConvLower.h
+++ b/include/llvm/CodeGen/CallingConvLower.h
@@ -33,7 +33,7 @@ public:
SExt, // The value is sign extended in the location.
ZExt, // The value is zero extended in the location.
AExt, // The value is extended with undefined upper bits.
- BCvt // The value is bit-converted in the location
+ BCvt // The value is bit-converted in the location.
// TODO: a subset of the value is in the location.
};
private:
@@ -46,9 +46,9 @@ private:
/// isMem - True if this is a memory loc, false if it is a register loc.
bool isMem : 1;
- /// isCustom - True if this arg/retval requires special handling
+ /// isCustom - True if this arg/retval requires special handling.
bool isCustom : 1;
-
+
/// Information about how the value is assigned.
LocInfo HTP : 6;
@@ -72,7 +72,7 @@ public:
Ret.LocVT = LocVT;
return Ret;
}
-
+
static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT,
unsigned RegNo, MVT LocVT,
LocInfo HTP) {
@@ -104,7 +104,7 @@ public:
Ret.isCustom = true;
return Ret;
}
-
+
unsigned getValNo() const { return ValNo; }
MVT getValVT() const { return ValVT; }
@@ -112,7 +112,7 @@ public:
bool isMemLoc() const { return isMem; }
bool needsCustom() const { return isCustom; }
-
+
unsigned getLocReg() const { assert(isRegLoc()); return Loc; }
unsigned getLocMemOffset() const { assert(isMemLoc()); return Loc; }
MVT getLocVT() const { return LocVT; }