Home
last modified time | relevance | path

Searched refs:ImmOff (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp809 static bool isPreferredADD(int64_t ImmOff) { in isPreferredADD() argument
811 if ((ImmOff & 0xfffffffffffff000LL) == 0x0LL) in isPreferredADD()
814 if ((ImmOff & 0xffffffffff000fffLL) == 0x0LL) in isPreferredADD()
816 return (ImmOff & 0xffffffffff00ffffLL) != 0x0LL && in isPreferredADD()
817 (ImmOff & 0xffffffffffff0fffLL) != 0x0LL; in isPreferredADD()
851 int64_t ImmOff = (int64_t)cast<ConstantSDNode>(RHS)->getZExtValue(); in SelectAddrModeXRO() local
856 if ((ImmOff % Size == 0 && ImmOff >= 0 && ImmOff < (0x1000 << Scale)) || in SelectAddrModeXRO()
857 isPreferredADD(ImmOff) || isPreferredADD(-ImmOff)) in SelectAddrModeXRO()