forked from OSchip/llvm-project
parent
a94e592e49
commit
5312afe7e1
|
@ -164,7 +164,7 @@ static TargetLoweringObjectFile *createTLOF(const Triple &TT) {
|
|||
return new ARMElfTargetObjectFile();
|
||||
}
|
||||
|
||||
ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
|
||||
ARMTargetLowering::ARMTargetLowering(const TargetMachine &TM)
|
||||
: TargetLowering(TM, createTLOF(Triple(TM.getTargetTriple()))) {
|
||||
Subtarget = &TM.getSubtarget<ARMSubtarget>();
|
||||
RegInfo = TM.getSubtargetImpl()->getRegisterInfo();
|
||||
|
|
|
@ -232,7 +232,7 @@ namespace llvm {
|
|||
|
||||
class ARMTargetLowering : public TargetLowering {
|
||||
public:
|
||||
explicit ARMTargetLowering(TargetMachine &TM);
|
||||
explicit ARMTargetLowering(const TargetMachine &TM);
|
||||
|
||||
unsigned getJumpTableEncoding() const override;
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ ARMSubtarget &ARMSubtarget::initializeSubtargetDependencies(StringRef CPU,
|
|||
}
|
||||
|
||||
ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &CPU,
|
||||
const std::string &FS, TargetMachine &TM,
|
||||
const std::string &FS, const TargetMachine &TM,
|
||||
bool IsLittle)
|
||||
: ARMGenSubtargetInfo(TT, CPU, FS), ARMProcFamily(Others),
|
||||
ARMProcClass(None), stackAlignment(4), CPUString(CPU), IsLittle(IsLittle),
|
||||
|
|
|
@ -236,7 +236,7 @@ protected:
|
|||
/// of the specified triple.
|
||||
///
|
||||
ARMSubtarget(const std::string &TT, const std::string &CPU,
|
||||
const std::string &FS, TargetMachine &TM, bool IsLittle);
|
||||
const std::string &FS, const TargetMachine &TM, bool IsLittle);
|
||||
|
||||
/// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size
|
||||
/// that still makes it profitable to inline the call.
|
||||
|
|
Loading…
Reference in New Issue