| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerInfo.h | 29 const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, in CombinerInfo() argument 33 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFTargetTransformInfo.h | 75 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument 79 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsPostLegalizerCombiner.cpp | 47 MipsPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in MipsPostLegalizerCombinerInfo() argument 50 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in MipsPostLegalizerCombinerInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64O0PreLegalizerCombiner.cpp | 59 AArch64O0PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64O0PreLegalizerCombinerInfo() argument 63 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64O0PreLegalizerCombinerInfo()
|
| H A D | AArch64PreLegalizerCombiner.cpp | 364 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument 367 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
|
| H A D | AArch64PostLegalizerCombiner.cpp | 348 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PostLegalizerCombinerInfo() argument 352 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PostLegalizerCombinerInfo()
|
| H A D | AArch64PostLegalizerLowering.cpp | 992 AArch64PostLegalizerLoweringInfo(bool OptSize, bool MinSize) in AArch64PostLegalizerLoweringInfo() argument 994 /*LegalizerInfo*/ nullptr, /*OptEnabled = */ true, OptSize, in AArch64PostLegalizerLoweringInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPreLegalizerCombiner.cpp | 185 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPreLegalizerCombinerInfo() argument 188 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AMDGPUPreLegalizerCombinerInfo()
|
| H A D | AMDGPURegBankCombiner.cpp | 385 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPURegBankCombinerInfo() argument 389 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPURegBankCombinerInfo()
|
| H A D | AMDGPUPostLegalizerCombiner.cpp | 334 AMDGPUPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPostLegalizerCombinerInfo() argument 338 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPUPostLegalizerCombinerInfo()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineCombiner.cpp | 80 bool OptSize; member in __anonec91dd480111::MachineCombiner 598 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() 761 OptSize = MF.getFunction().hasOptSize(); in runOnMachineFunction()
|
| H A D | CodeGenPrepare.cpp | 333 bool OptSize; member in __anon78e22a880111::CodeGenPrepare 490 OptSize = F.hasOptSize(); in runOnFunction() 2180 !OptSize && !llvm::shouldOptimizeForSize(BB, PSI, BFI.get())) in optimizeCallInst() 3160 bool OptSize; member in __anon78e22a880c11::AddressingModeMatcher 3173 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument 3178 LargeOffsetGEP(LargeOffsetGEP), OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher() 3198 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument 3203 InsertedInsts, PromotedInsts, TPT, LargeOffsetGEP, OptSize, PSI, in Match() 4930 bool OptForSize = OptSize || in FindAllMemoryUses() 5064 LargeOffsetGEP, OptSize, PSI, BFI); in isProfitableToFoldIntoAddressingMode() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 89 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| H A D | PPCTargetTransformInfo.cpp | 834 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 837 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1642 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument 1643 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset() 1652 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument 1653 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy() 1671 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument 1672 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp() 1681 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument 1682 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 206 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| H A D | AArch64TargetTransformInfo.cpp | 2182 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 2190 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 252 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 819 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, 1643 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0; 2109 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument 2111 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
|
| H A D | TargetTransformInfoImpl.h | 349 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 4719 unsigned OptSize, in IsMulWideOperandDemotable() argument 4726 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable() 4732 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable() 4746 unsigned OptSize, in AreMulWideOperandsDemotable() argument 4751 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable() 4764 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable() 4766 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable() 4770 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable() 4789 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local 4819 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 537 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 538 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 7459 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemset() local 7465 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in lowerMemset() 7721 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemmove() local 7728 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in lowerMemmove() 7864 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemCpyFamily() local 7865 uint64_t Limit = TLI.getMaxStoresPerMemcpy(OptSize); in lowerMemCpyFamily()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 6769 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local 6781 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores() 6969 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local 6977 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores() 7081 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local 7087 unsigned Limit = AlwaysInline ? ~0 : TLI.getMaxStoresPerMemset(OptSize); in getMemsetStores()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 3950 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local 3952 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
|