reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Overridden By

lib/Target/AArch64/AArch64ISelLowering.cpp
 9094 bool AArch64TargetLowering::isLegalAddImmediate(int64_t Immed) const {
lib/Target/ARM/ARMISelLowering.cpp
15112 bool ARMTargetLowering::isLegalAddImmediate(int64_t Imm) const {
lib/Target/PowerPC/PPCISelLowering.cpp
14906 bool PPCTargetLowering::isLegalAddImmediate(int64_t Imm) const {
lib/Target/RISCV/RISCVISelLowering.cpp
  282 bool RISCVTargetLowering::isLegalAddImmediate(int64_t Imm) const {
lib/Target/SystemZ/SystemZISelLowering.cpp
  793 bool SystemZTargetLowering::isLegalAddImmediate(int64_t Imm) const {
lib/Target/X86/X86ISelLowering.cpp
29038 bool X86TargetLowering::isLegalAddImmediate(int64_t Imm) const {

References

include/llvm/CodeGen/BasicTTIImpl.h
  230     return getTLI()->isLegalAddImmediate(imm);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4585             !TLI.isLegalAddImmediate(ADDC.getSExtValue())) {
 4590             if (TLI.isLegalAddImmediate(ADDC.getSExtValue())) {
14338     if (!TLI.isLegalAddImmediate(getOffsetFromBase()))
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  528         if (Offset >= 0 && TL->isLegalAddImmediate(Offset)) {
  713     if (!TL->isLegalAddImmediate(Offset))