summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2009-02-25 03:57:49 +0000
committerScott Michel <scottm@aero.org>2009-02-25 03:57:49 +0000
commit8f1579aedca03f089e239552ba7f1398e657c6f5 (patch)
tree5dcf4dabe4dc78c22934d64da3b407705c684a35 /lib
parentdf38043a46b873acb98e7ce0c700d82c1d888772 (diff)
downloadllvm-8f1579aedca03f089e239552ba7f1398e657c6f5.tar.gz
llvm-8f1579aedca03f089e239552ba7f1398e657c6f5.tar.bz2
llvm-8f1579aedca03f089e239552ba7f1398e657c6f5.tar.xz
Expand tabs to spaces (overlooked in previous commit)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 12534308ad..a5d87776a2 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -894,7 +894,7 @@ SDValue SelectionDAG::getConstant(const ConstantInt &Val, MVT VT, bool isT) {
SmallVector<SDValue, 8> Ops;
Ops.assign(VT.getVectorNumElements(), Result);
Result = getBUILD_VECTOR(VT, DebugLoc::getUnknownLoc(),
- &Ops[0], Ops.size());
+ &Ops[0], Ops.size());
}
return Result;
}
@@ -938,7 +938,7 @@ SDValue SelectionDAG::getConstantFP(const ConstantFP& V, MVT VT, bool isTarget){
SmallVector<SDValue, 8> Ops;
Ops.assign(VT.getVectorNumElements(), Result);
Result = getBUILD_VECTOR(VT, DebugLoc::getUnknownLoc(),
- &Ops[0], Ops.size());
+ &Ops[0], Ops.size());
}
return Result;
}
@@ -4855,15 +4855,15 @@ MemSDNode::MemSDNode(unsigned Opc, DebugLoc dl, SDVTList VTs,
}
BuildVectorSDNode::BuildVectorSDNode(MVT vecVT, DebugLoc dl,
- const SDValue *Elts, unsigned NumElts)
+ const SDValue *Elts, unsigned NumElts)
: SDNode(ISD::BUILD_VECTOR, dl, getSDVTList(vecVT), Elts, NumElts)
{ }
bool BuildVectorSDNode::isConstantSplat(bool &hasUndefSplatBitsFlag,
uint64_t &SplatBits,
uint64_t &SplatUndef,
- unsigned &SplatSize,
- int MinSplatBits) {
+ unsigned &SplatSize,
+ int MinSplatBits) {
unsigned int nOps = getNumOperands();
assert(nOps > 0 && "isConstantSplat has 0-size build vector");
@@ -4890,13 +4890,13 @@ bool BuildVectorSDNode::isConstantSplat(bool &hasUndefSplatBitsFlag,
} else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) {
EltBits = CN->getZExtValue();
if (EltBitSize <= 32)
- EltBits &= (~0U >> (32-EltBitSize));
+ EltBits &= (~0U >> (32-EltBitSize));
} else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) {
const APFloat &apf = CN->getValueAPF();
if (OpVal.getValueType() == MVT::f32)
- EltBits = FloatToBits(apf.convertToFloat());
+ EltBits = FloatToBits(apf.convertToFloat());
else
- EltBits = DoubleToBits(apf.convertToDouble());
+ EltBits = DoubleToBits(apf.convertToDouble());
} else {
// Nonconstant element -> not a splat.
return isSplatVector;
@@ -5646,8 +5646,8 @@ void SDNode::printr(raw_ostream &OS, const SelectionDAG *G) const {
typedef SmallPtrSet<const SDNode *, 128> VisitedSDNodeSet;
static void DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent,
- const SelectionDAG *G, VisitedSDNodeSet &once) {
- if (!once.insert(N)) // If we've been here before, return now.
+ const SelectionDAG *G, VisitedSDNodeSet &once) {
+ if (!once.insert(N)) // If we've been here before, return now.
return;
// Dump the current SDNode, but don't end the line yet.
OS << std::string(indent, ' ');
@@ -5661,10 +5661,10 @@ static void DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent,
// This child has no grandchildren; print it inline right here.
child->printr(OS, G);
once.insert(child);
- } else { // Just the address. FIXME: also print the child's opcode
+ } else { // Just the address. FIXME: also print the child's opcode
OS << (void*)child;
if (unsigned RN = N->getOperand(i).getResNo())
- OS << ":" << RN;
+ OS << ":" << RN;
}
}
OS << "\n";