Reformat 3 files in llvm/include/llvm/CodeGen/.

llvm-svn: 249287
This commit is contained in:
NAKAMURA Takumi 2015-10-05 04:44:18 +00:00
parent f68eb2d1bc
commit 131cd5a35d
3 changed files with 139 additions and 150 deletions

View File

@ -26,11 +26,10 @@ namespace llvm {
class IntrinsicLowering {
const DataLayout &DL;
bool Warned;
public:
explicit IntrinsicLowering(const DataLayout &DL) :
DL(DL), Warned(false) {}
explicit IntrinsicLowering(const DataLayout &DL) : DL(DL), Warned(false) {}
/// AddPrototypes - This method, if called, causes all of the prototypes
/// that might be needed by an intrinsic lowering implementation to be

View File

@ -71,14 +71,12 @@ namespace llvm {
return I->second;
}
bool hasInterval(int Slot) const {
return S2IMap.count(Slot);
}
bool hasInterval(int Slot) const { return S2IMap.count(Slot); }
const TargetRegisterClass *getIntervalRegClass(int Slot) const {
assert(Slot >= 0 && "Spill slot indice must be >= 0");
std::map<int, const TargetRegisterClass*>::const_iterator
I = S2RCMap.find(Slot);
std::map<int, const TargetRegisterClass *>::const_iterator I =
S2RCMap.find(Slot);
assert(I != S2RCMap.end() &&
"Register class info does not exist for stack slot");
return I->second;

View File

@ -58,15 +58,9 @@ namespace llvm {
}
/// Accessor methods to return the set of stubs in sorted order.
SymbolListTy GetFnStubList() {
return getSortedStubs(FnStubs);
}
SymbolListTy GetGVStubList() {
return getSortedStubs(GVStubs);
}
SymbolListTy GetHiddenGVStubList() {
return getSortedStubs(HiddenGVStubs);
}
SymbolListTy GetFnStubList() { return getSortedStubs(FnStubs); }
SymbolListTy GetGVStubList() { return getSortedStubs(GVStubs); }
SymbolListTy GetHiddenGVStubList() { return getSortedStubs(HiddenGVStubs); }
};
/// MachineModuleInfoELF - This is a MachineModuleInfoImpl implementation
@ -87,9 +81,7 @@ namespace llvm {
/// Accessor methods to return the set of stubs in sorted order.
SymbolListTy GetGVStubList() {
return getSortedStubs(GVStubs);
}
SymbolListTy GetGVStubList() { return getSortedStubs(GVStubs); }
};
} // end namespace llvm