git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198624
91177308-0d34-0410-b5e6-
96231b3b80d8
return new XCoreFTAOElim();
}
return new XCoreFTAOElim();
}
-static inline bool isImmU6(unsigned val) {
- return val < (1 << 6);
-}
-
-static inline bool isImmU16(unsigned val) {
- return val < (1 << 16);
-}
-
bool XCoreFTAOElim::runOnMachineFunction(MachineFunction &MF) {
const XCoreInstrInfo &TII =
*static_cast<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());
bool XCoreFTAOElim::runOnMachineFunction(MachineFunction &MF) {
const XCoreInstrInfo &TII =
*static_cast<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());