Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.cpp281 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PostLegalizerCombinerInfo() argument
285 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PostLegalizerCombinerInfo()
H A DAArch64PostLegalizerLowering.cpp992 AArch64PostLegalizerLoweringInfo(bool OptSize, bool MinSize) in AArch64PostLegalizerLoweringInfo() argument
994 /*LegalizerInfo*/ nullptr, /*OptEnabled = */ true, OptSize, in AArch64PostLegalizerLoweringInfo()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp81 bool OptSize; member in __anon1bb2734c0111::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 __anon5386100c0111::CodeGenPrepare
476 OptSize = F.hasOptSize(); in runOnFunction()
2161 !OptSize && !llvm::shouldOptimizeForSize(BB, PSI, BFI.get())) in optimizeCallInst()
3141 bool OptSize; member in __anon5386100c0c11::AddressingModeMatcher
3154 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument
3159 LargeOffsetGEP(LargeOffsetGEP), OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher()
3179 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument
3184 InsertedInsts, PromotedInsts, TPT, LargeOffsetGEP, OptSize, PSI, in Match()
4917 bool OptForSize = OptSize || in FindAllMemoryUses()
5059 LargeOffsetGEP, OptSize, PSI, BFI); in isProfitableToFoldIntoAddressingMode()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h88 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DPPCTargetTransformInfo.cpp828 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
831 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1588 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
1589 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
1598 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
1599 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
1617 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument
1618 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp()
1627 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
1628 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h200 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DAArch64TargetTransformInfo.cpp1487 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
1495 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
H A DAArch64ISelLowering.cpp17732 bool OptSize = Attr.hasFnAttribute(Attribute::MinSize); in isIntDivCheap() local
17733 return OptSize && !VT.isVector(); in isIntDivCheap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h242 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DX86TargetTransformInfo.cpp4873 X86TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
4875 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h777 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
1535 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0;
1948 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
1950 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
H A DTargetTransformInfoImpl.h321 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp4639 unsigned OptSize, in IsMulWideOperandDemotable() argument
4646 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4652 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4666 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4671 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4684 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4686 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4690 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4709 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4739 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp491 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
492 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1223 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemset() local
1229 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in optimizeMemset()
1482 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemmove() local
1489 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in optimizeMemmove()
1622 bool OptSize = shouldLowerMemFuncForSize(MF); in tryCombineMemCpyFamily() local
1623 uint64_t Limit = TLI.getMaxStoresPerMemcpy(OptSize); in tryCombineMemCpyFamily()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6414 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local
6426 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
6607 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local
6615 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
6718 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local
6725 MemOps, TLI.getMaxStoresPerMemset(OptSize), in getMemsetStores()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3917 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local
3919 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()

12