| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVSubtarget.h | 369 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument 370 return OptSize ? TuneInfo->MaxStoresPerMemsetOptSize in getMaxStoresPerMemset() 378 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument 379 return OptSize ? TuneInfo->MaxStoresPerMemcpyOptSize in getMaxStoresPerMemcpy() 383 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument 384 return OptSize ? TuneInfo->MaxStoresPerMemmoveOptSize in getMaxStoresPerMemmove() 388 unsigned getMaxLoadsPerMemcmp(bool OptSize) const { in getMaxLoadsPerMemcmp() argument 389 return OptSize ? TuneInfo->MaxLoadsPerMemcmpOptSize in getMaxLoadsPerMemcmp()
|
| H A D | RISCVTargetTransformInfo.h | 474 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const override;
|
| H A D | RISCVTargetTransformInfo.cpp | 2928 RISCVTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 2939 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerInfo.h | 26 const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, in CombinerInfo() 30 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFTargetTransformInfo.h | 76 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const override { in enableMemCmpExpansion() argument 79 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | PGOOptions.h | 31 enum class ColdFuncOpt { Default, OptSize, MinSize, OptNone }; enumerator
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOForceFunctionAttrs.cpp | 48 case PGOOptions::ColdFuncOpt::OptSize: in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupInstTuning.cpp | 84 bool OptSize = MF.getFunction().hasOptSize(); in processInstruction() local 269 if (!OptSize && !NewOpcPreferable(MovOpc)) in processInstruction()
|
| H A D | X86FixupVectorConstants.cpp | 350 bool OptSize = MF.getFunction().hasOptSize(); in processInstruction() local 409 if (Fixup.Op && (OptSize || NewOpcPreferable(Fixup, RegBitWidth))) { in processInstruction()
|
| H A D | X86TargetTransformInfo.h | 304 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 90 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const override;
|
| H A D | PPCTargetTransformInfo.cpp | 440 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 443 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1905 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument 1906 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset() 1915 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument 1916 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy() 1934 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument 1935 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp() 1944 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument 1945 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 361 bool OptSize; member in __anon1d600f580111::CodeGenPrepare 582 OptSize = F.hasOptSize(); in _run() 608 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI->isSlowDivBypassed()) { in _run() 3821 bool OptSize = false; member in __anon1d600f580f11::AddressingModeMatcher 3834 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument 3839 LargeOffsetGEP(LargeOffsetGEP), OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher() 3859 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument 3865 LargeOffsetGEP, OptSize, PSI, BFI) in Match() 5556 const TargetRegisterInfo &TRI, bool OptSize, ProfileSummaryInfo *PSI, in FindAllMemoryUses() argument 5618 if (FindAllMemoryUses(UserI, MemoryUses, ConsideredInsts, TLI, TRI, OptSize, in FindAllMemoryUses() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 252 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const override;
|
| H A D | AArch64InstrInfo.cpp | 3267 const bool OptSize = MemI.getMF()->getFunction().hasOptSize(); in canFoldIntoAddrMode() local 3300 if (!OptSize) { in canFoldIntoAddrMode() 3317 if (!OptSize && avoidSlowSTRQ(MemI)) in canFoldIntoAddrMode() 3329 if (!OptSize && avoidSlowSTRQ(MemI)) in canFoldIntoAddrMode()
|
| /freebsd/contrib/llvm-project/llvm/tools/opt/ |
| H A D | NewPMDriver.cpp | 218 clEnumValN(PGOOptions::ColdFuncOpt::OptSize, "optsize",
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 5359 unsigned OptSize, in IsMulWideOperandDemotable() argument 5366 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable() 5372 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable() 5386 unsigned OptSize, in AreMulWideOperandsDemotable() argument 5391 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable() 5404 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable() 5406 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable() 5410 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable() 5429 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local 5459 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 663 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 664 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1023 LLVM_ABI MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
| H A D | TargetTransformInfoImpl.h | 481 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 114 clEnumValN(PGOOptions::ColdFuncOpt::OptSize, "optsize",
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 9737 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemset() local 9743 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in lowerMemset() 9997 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemmove() local 10004 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in lowerMemmove() 10134 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemCpyFamily() local 10135 uint64_t Limit = TLI.getMaxStoresPerMemcpy(OptSize); in lowerMemCpyFamily()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 8400 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local 8412 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores() 8601 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local 8609 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores() 8723 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local 8728 unsigned Limit = AlwaysInline ? ~0 : TLI.getMaxStoresPerMemset(OptSize); in getMemsetStores()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 4489 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local 4491 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
|