30
30
#include " llvm/IR/CallingConv.h"
31
31
#include " llvm/IR/InlineAsm.h"
32
32
#include " llvm/Support/CallSite.h"
33
- #include " llvm/Support/DebugLoc.h"
34
33
#include " llvm/Target/TargetCallingConv.h"
35
34
#include " llvm/Target/TargetMachine.h"
36
35
#include < climits>
@@ -1717,11 +1716,11 @@ class TargetLowering : public TargetLoweringBase {
1717
1716
1718
1717
void softenSetCCOperands (SelectionDAG &DAG, EVT VT,
1719
1718
SDValue &NewLHS, SDValue &NewRHS,
1720
- ISD::CondCode &CCCode, DebugLoc DL) const ;
1719
+ ISD::CondCode &CCCode, SDLoc DL) const ;
1721
1720
1722
1721
SDValue makeLibCall (SelectionDAG &DAG, RTLIB::Libcall LC, EVT RetVT,
1723
1722
const SDValue *Ops, unsigned NumOps,
1724
- bool isSigned, DebugLoc dl) const ;
1723
+ bool isSigned, SDLoc dl) const ;
1725
1724
1726
1725
// ===--------------------------------------------------------------------===//
1727
1726
// TargetLowering Optimization Methods
@@ -1761,7 +1760,7 @@ class TargetLowering : public TargetLoweringBase {
1761
1760
// / cast, but it could be generalized for targets with other types of
1762
1761
// / implicit widening casts.
1763
1762
bool ShrinkDemandedOp (SDValue Op, unsigned BitWidth, const APInt &Demanded,
1764
- DebugLoc dl);
1763
+ SDLoc dl);
1765
1764
};
1766
1765
1767
1766
// / SimplifyDemandedBits - Look at Op. At this point, we know that only the
@@ -1823,7 +1822,7 @@ class TargetLowering : public TargetLoweringBase {
1823
1822
// / and cc. If it is unable to simplify it, return a null SDValue.
1824
1823
SDValue SimplifySetCC (EVT VT, SDValue N0, SDValue N1,
1825
1824
ISD::CondCode Cond, bool foldBooleans,
1826
- DAGCombinerInfo &DCI, DebugLoc dl) const ;
1825
+ DAGCombinerInfo &DCI, SDLoc dl) const ;
1827
1826
1828
1827
// / isGAPlusOffset - Returns true (and the GlobalValue and the offset) if the
1829
1828
// / node is a GlobalAddress + offset.
@@ -1884,7 +1883,7 @@ class TargetLowering : public TargetLoweringBase {
1884
1883
LowerFormalArguments (SDValue /* Chain*/ , CallingConv::ID /* CallConv*/ ,
1885
1884
bool /* isVarArg*/ ,
1886
1885
const SmallVectorImpl<ISD::InputArg> &/* Ins*/ ,
1887
- DebugLoc /* dl*/ , SelectionDAG &/* DAG*/ ,
1886
+ SDLoc /* dl*/ , SelectionDAG &/* DAG*/ ,
1888
1887
SmallVectorImpl<SDValue> &/* InVals*/ ) const {
1889
1888
llvm_unreachable (" Not Implemented" );
1890
1889
}
@@ -1930,7 +1929,7 @@ class TargetLowering : public TargetLoweringBase {
1930
1929
SDValue Callee;
1931
1930
ArgListTy &Args;
1932
1931
SelectionDAG &DAG;
1933
- DebugLoc DL;
1932
+ SDLoc DL;
1934
1933
ImmutableCallSite *CS;
1935
1934
SmallVector<ISD::OutputArg, 32 > Outs;
1936
1935
SmallVector<SDValue, 32 > OutVals;
@@ -1941,7 +1940,7 @@ class TargetLowering : public TargetLoweringBase {
1941
1940
// / ImmutableCallSite \p cs.
1942
1941
CallLoweringInfo (SDValue chain, Type *retTy,
1943
1942
FunctionType *FTy, bool isTailCall, SDValue callee,
1944
- ArgListTy &args, SelectionDAG &dag, DebugLoc dl,
1943
+ ArgListTy &args, SelectionDAG &dag, SDLoc dl,
1945
1944
ImmutableCallSite &cs)
1946
1945
: Chain(chain), RetTy(retTy), RetSExt(cs.paramHasAttr(0 , Attribute::SExt)),
1947
1946
RetZExt (cs.paramHasAttr(0 , Attribute::ZExt)), IsVarArg(FTy->isVarArg ()),
@@ -1958,7 +1957,7 @@ class TargetLowering : public TargetLoweringBase {
1958
1957
bool isVarArg, bool isInReg, unsigned numFixedArgs,
1959
1958
CallingConv::ID callConv, bool isTailCall,
1960
1959
bool doesNotReturn, bool isReturnValueUsed, SDValue callee,
1961
- ArgListTy &args, SelectionDAG &dag, DebugLoc dl)
1960
+ ArgListTy &args, SelectionDAG &dag, SDLoc dl)
1962
1961
: Chain(chain), RetTy(retTy), RetSExt(retSExt), RetZExt(retZExt),
1963
1962
IsVarArg(isVarArg), IsInReg(isInReg), DoesNotReturn(doesNotReturn),
1964
1963
IsReturnValueUsed(isReturnValueUsed), IsTailCall(isTailCall),
@@ -2011,7 +2010,7 @@ class TargetLowering : public TargetLoweringBase {
2011
2010
bool /* isVarArg*/ ,
2012
2011
const SmallVectorImpl<ISD::OutputArg> &/* Outs*/ ,
2013
2012
const SmallVectorImpl<SDValue> &/* OutVals*/ ,
2014
- DebugLoc /* dl*/ , SelectionDAG &/* DAG*/ ) const {
2013
+ SDLoc /* dl*/ , SelectionDAG &/* DAG*/ ) const {
2015
2014
llvm_unreachable (" Not Implemented" );
2016
2015
}
2017
2016
@@ -2235,7 +2234,7 @@ class TargetLowering : public TargetLoweringBase {
2235
2234
// ===--------------------------------------------------------------------===//
2236
2235
// Div utility functions
2237
2236
//
2238
- SDValue BuildExactSDIV (SDValue Op1, SDValue Op2, DebugLoc dl,
2237
+ SDValue BuildExactSDIV (SDValue Op1, SDValue Op2, SDLoc dl,
2239
2238
SelectionDAG &DAG) const ;
2240
2239
SDValue BuildSDIV (SDNode *N, SelectionDAG &DAG, bool IsAfterLegalization,
2241
2240
std::vector<SDNode*> *Created) const ;
0 commit comments