| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerInfo.h | 30 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 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 | 247 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument 250 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
|
| H A D | AArch64PostLegalizerCombiner.cpp | 281 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PostLegalizerCombinerInfo() argument 285 /*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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegBankCombiner.cpp | 169 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPURegBankCombinerInfo() argument 173 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPURegBankCombinerInfo()
|
| H A D | AMDGPUPreLegalizerCombiner.cpp | 183 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPreLegalizerCombinerInfo() argument 186 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AMDGPUPreLegalizerCombinerInfo()
|
| H A D | AMDGPUPostLegalizerCombiner.cpp | 286 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 D | MachineCombiner.cpp | 81 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 D | CodeGenPrepare.cpp | 325 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 D | PPCTargetTransformInfo.h | 88 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| H A D | PPCTargetTransformInfo.cpp | 828 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 D | TargetLowering.h | 1588 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 D | AArch64TargetTransformInfo.h | 200 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| H A D | AArch64TargetTransformInfo.cpp | 1487 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 1495 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| H A D | AArch64ISelLowering.cpp | 17732 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 D | X86TargetTransformInfo.h | 242 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| H A D | X86TargetTransformInfo.cpp | 4873 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 D | TargetTransformInfo.h | 777 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 D | TargetTransformInfoImpl.h | 321 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 4639 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 D | TargetTransformInfo.cpp | 491 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 D | CombinerHelper.cpp | 1223 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 D | SelectionDAG.cpp | 6414 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 D | CompilerInvocation.cpp | 3917 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local 3919 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
|