/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 | 72 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument 76 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | PGOOptions.h | 30 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/CodeGen/ |
H A D | MachineCombiner.cpp | 81 bool OptSize = false; member in __anon20cc5c180111::MachineCombiner 574 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() 736 OptSize = MF.getFunction().hasOptSize(); in runOnMachineFunction()
|
H A D | CodeGenPrepare.cpp | 360 bool OptSize; member in __anon1d600f580111::CodeGenPrepare 579 OptSize = F.hasOptSize(); in _run() 605 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI->isSlowDivBypassed()) { in _run() 2446 if (CI->hasFnAttr(Attribute::Cold) && !OptSize && in optimizeCallInst() 3484 bool OptSize = false; member in __anon1d600f580d11::AddressingModeMatcher 3497 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument 3502 LargeOffsetGEP(LargeOffsetGEP), OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher() 3522 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument 3528 LargeOffsetGEP, OptSize, PSI, BFI) in Match() 5211 const TargetRegisterInfo &TRI, bool OptSize, ProfileSummaryInfo *PSI, in FindAllMemoryUses() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.h | 89 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
H A D | PPCTargetTransformInfo.cpp | 437 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 440 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1848 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument 1849 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset() 1858 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument 1859 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy() 1877 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument 1878 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp() 1887 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument 1888 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 291 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
H A D | X86TargetTransformInfo.cpp | 6213 X86TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 6215 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.h | 217 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
H A D | AArch64InstrInfo.cpp | 2985 const bool OptSize = MemI.getMF()->getFunction().hasOptSize(); in canFoldIntoAddrMode() local 3018 if (!OptSize) { in canFoldIntoAddrMode() 3035 if (!OptSize && avoidSlowSTRQ(MemI)) in canFoldIntoAddrMode() 3047 if (!OptSize && avoidSlowSTRQ(MemI)) in canFoldIntoAddrMode()
|
H A D | AArch64TargetTransformInfo.cpp | 3320 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 3328 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
H A D | AArch64ISelLowering.cpp | 26916 bool OptSize = Attr.hasFnAttr(Attribute::MinSize); in isIntDivCheap() local 26917 return OptSize && !VT.isVector(); in isIntDivCheap()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 961 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, 1953 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0; 2509 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument 2511 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
|
H A D | TargetTransformInfoImpl.h | 394 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
|
/freebsd/contrib/llvm-project/llvm/tools/opt/ |
H A D | NewPMDriver.cpp | 211 clEnumValN(PGOOptions::ColdFuncOpt::OptSize, "optsize",
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 625 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 626 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 5624 unsigned OptSize, in IsMulWideOperandDemotable() argument 5631 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable() 5637 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable() 5651 unsigned OptSize, in AreMulWideOperandsDemotable() argument 5656 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable() 5669 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable() 5671 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable() 5675 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable() 5694 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local 5724 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 115 clEnumValN(PGOOptions::ColdFuncOpt::OptSize, "optsize",
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 8775 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemset() local 8781 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in lowerMemset() 9035 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemmove() local 9042 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in lowerMemmove() 9176 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemCpyFamily() local 9177 uint64_t Limit = TLI.getMaxStoresPerMemcpy(OptSize); in lowerMemCpyFamily()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 7825 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local 7837 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores() 8026 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local 8034 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores() 8147 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local 8152 unsigned Limit = AlwaysInline ? ~0 : TLI.getMaxStoresPerMemset(OptSize); in getMemsetStores()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 4226 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local 4228 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 21583 bool OptSize = Attr.hasFnAttr(Attribute::MinSize); 21584 return OptSize && !VT.isVector(); in preferScalarizeSplat() 21580 bool OptSize = Attr.hasFnAttr(Attribute::MinSize); isIntDivCheap() local
|