Home
last modified time | relevance | path

Searched refs:OptSize (Results 1 – 25 of 26) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerInfo.h30 const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, in CombinerInfo() argument
34 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64O0PreLegalizerCombiner.cpp59 AArch64O0PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64O0PreLegalizerCombinerInfo() argument
63 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64O0PreLegalizerCombinerInfo()
H A DAArch64PreLegalizerCombiner.cpp247 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument
250 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
H A DAArch64PostLegalizerCombiner.cpp287 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PostLegalizerCombinerInfo() argument
291 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PostLegalizerCombinerInfo()
H A DAArch64PostLegalizerLowering.cpp988 AArch64PostLegalizerLoweringInfo(bool OptSize, bool MinSize) in AArch64PostLegalizerLoweringInfo() argument
990 /*LegalizerInfo*/ nullptr, /*OptEnabled = */ true, OptSize, in AArch64PostLegalizerLoweringInfo()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankCombiner.cpp169 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPURegBankCombinerInfo() argument
173 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPURegBankCombinerInfo()
H A DAMDGPUPreLegalizerCombiner.cpp183 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPreLegalizerCombinerInfo() argument
186 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AMDGPUPreLegalizerCombinerInfo()
H A DAMDGPUPostLegalizerCombiner.cpp286 AMDGPUPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPostLegalizerCombinerInfo() argument
290 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPUPostLegalizerCombinerInfo()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineCombiner.cpp81 bool OptSize; member in __anona44bb4d90111::MachineCombiner
558 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions()
721 OptSize = MF.getFunction().hasOptSize(); in runOnMachineFunction()
H A DCodeGenPrepare.cpp325 bool OptSize; member in __anoncc06d3f90111::CodeGenPrepare
476 OptSize = F.hasOptSize(); in runOnFunction()
2157 !OptSize && !llvm::shouldOptimizeForSize(BB, PSI, BFI.get())) in optimizeCallInst()
3137 bool OptSize; member in __anoncc06d3f90c11::AddressingModeMatcher
3150 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument
3155 LargeOffsetGEP(LargeOffsetGEP), OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher()
3175 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument
3180 InsertedInsts, PromotedInsts, TPT, LargeOffsetGEP, OptSize, PSI, in Match()
4913 bool OptForSize = OptSize || in FindAllMemoryUses()
5055 LargeOffsetGEP, OptSize, PSI, BFI); in isProfitableToFoldIntoAddressingMode()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h88 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DPPCTargetTransformInfo.cpp825 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
828 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1565 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
1566 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
1575 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
1576 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
1594 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument
1595 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp()
1604 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
1605 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h241 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DX86TargetTransformInfo.cpp4662 X86TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
4664 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h187 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DAArch64TargetTransformInfo.cpp1158 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
1166 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
H A DAArch64ISelLowering.cpp17162 bool OptSize = Attr.hasFnAttribute(Attribute::MinSize); in isIntDivCheap() local
17163 return OptSize && !VT.isVector(); in isIntDivCheap()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp4553 unsigned OptSize, in IsMulWideOperandDemotable() argument
4560 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4566 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4580 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4585 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4598 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4600 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4604 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4623 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4653 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h777 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
1546 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0;
1959 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
1961 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
H A DTargetTransformInfoImpl.h321 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1232 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemset() local
1238 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in optimizeMemset()
1346 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemcpy() local
1357 unsigned Limit = TLI.getMaxStoresPerMemcpy(OptSize); in optimizeMemcpy()
1452 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemmove() local
1459 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in optimizeMemmove()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp495 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
496 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6347 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local
6359 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
6535 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local
6543 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
6641 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local
6648 MemOps, TLI.getMaxStoresPerMemset(OptSize), in getMemsetStores()
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp3921 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local
3923 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()

12