Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1310 static bool isPreferredADD(int64_t ImmOff) { in isPreferredADD() argument
1312 if ((ImmOff & 0xfffffffffffff000LL) == 0x0LL) in isPreferredADD()
1315 if ((ImmOff & 0xffffffffff000fffLL) == 0x0LL) in isPreferredADD()
1317 return (ImmOff & 0xffffffffff00ffffLL) != 0x0LL && in isPreferredADD()
1318 (ImmOff & 0xffffffffffff0fffLL) != 0x0LL; in isPreferredADD()
1353 int64_t ImmOff = (int64_t)RHS->getAsZExtVal(); in SelectAddrModeXRO() local
1357 if (isValidAsScaledImmediate(ImmOff, 0x1000, Size) || in SelectAddrModeXRO()
1358 isPreferredADD(ImmOff) || isPreferredADD(-ImmOff)) in SelectAddrModeXRO()
7294 int64_t ImmOff = C->getSExtValue(); in SelectSVERegRegAddrMode() local
7299 if (ImmOff % Size) in SelectSVERegRegAddrMode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp7284 int64_t ImmOff = ValAndVReg->Value.getSExtValue(); in selectAddrModeXRO() local
7288 if (ImmOff % SizeInBytes == 0 && ImmOff >= 0 && in selectAddrModeXRO()
7289 ImmOff < (0x1000 << Scale)) in selectAddrModeXRO()
7293 auto isPreferredADD = [](int64_t ImmOff) { in selectAddrModeXRO() argument
7295 if ((ImmOff & 0xfffffffffffff000LL) == 0x0LL) in selectAddrModeXRO()
7299 if ((ImmOff & 0xffffffffff000fffLL) != 0x0LL) in selectAddrModeXRO()
7305 return (ImmOff & 0xffffffffff00ffffLL) != 0x0LL && in selectAddrModeXRO()
7306 (ImmOff & 0xffffffffffff0fffLL) != 0x0LL; in selectAddrModeXRO()
7310 if (isPreferredADD(ImmOff) || isPreferredADD(-ImmOff)) in selectAddrModeXRO()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp2131 int64_t ImmOff = 0; in SelectSMRDBaseOffset() local
2133 ImmOff = C->getSExtValue(); in SelectSMRDBaseOffset()
2136 ImmOff); in SelectSMRDBaseOffset()