///
/// Based on the blocks used when constructing the code extractor,
/// determine whether it is eligible for extraction.
- bool isEligible() const { return !Blocks.empty(); };
+ bool isEligible() const { return !Blocks.empty(); }
/// \brief Compute the set of input values and output values for the code.
///
explicit HexagonMCInst(): MCInst(),
startPacket(0), endPacket(0) {}
- const MachineInstr* getMI() const { return MachineI; };
+ const MachineInstr* getMI() const { return MachineI; }
- void setMI(const MachineInstr *MI) { MachineI = MI; };
+ void setMI(const MachineInstr *MI) { MachineI = MI; }
- bool isStartPacket() const { return (startPacket); };
- bool isEndPacket() const { return (endPacket); };
+ bool isStartPacket() const { return (startPacket); }
+ bool isEndPacket() const { return (endPacket); }
- void setStartPacket(bool yes) { startPacket = yes; };
- void setEndPacket(bool yes) { endPacket = yes; };
+ void setStartPacket(bool yes) { startPacket = yes; }
+ void setEndPacket(bool yes) { endPacket = yes; }
};
}
class NVPTXTargetObjectFile : public TargetLoweringObjectFile {
public:
- NVPTXTargetObjectFile() {};
+ NVPTXTargetObjectFile() {}
~NVPTXTargetObjectFile() {
delete TextSection;
delete DataSection;
delete DwarfARangesSection;
delete DwarfRangesSection;
delete DwarfMacroInfoSection;
- };
+ }
virtual void Initialize(MCContext &ctx, const TargetMachine &TM) {
TextSection = new NVPTXSection(MCSection::SV_ELF,
SectionKind::getMetadata());
DwarfMacroInfoSection = new NVPTXSection(MCSection::SV_ELF,
SectionKind::getMetadata());
- };
+ }
virtual const MCSection *getSectionForConstant(SectionKind Kind) const {
return ReadOnlySection;
- };
+ }
virtual const MCSection *
getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
Mangler *Mang,
const TargetMachine &TM) const {
return DataSection;
- };
+ }
};