Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerInfo.h29 const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, in CombinerInfo() argument
33 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFTargetTransformInfo.h72 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
76 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsPostLegalizerCombiner.cpp47 MipsPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in MipsPostLegalizerCombinerInfo() argument
50 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in MipsPostLegalizerCombinerInfo()
/openbsd-src/gnu/llvm/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.cpp364 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument
367 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
H A DAArch64PostLegalizerCombiner.cpp348 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PostLegalizerCombinerInfo() argument
352 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PostLegalizerCombinerInfo()
H A DAArch64PostLegalizerLowering.cpp1064 AArch64PostLegalizerLoweringInfo(bool OptSize, bool MinSize) in AArch64PostLegalizerLoweringInfo() argument
1066 /*LegalizerInfo*/ nullptr, /*OptEnabled = */ true, OptSize, in AArch64PostLegalizerLoweringInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPreLegalizerCombiner.cpp185 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPreLegalizerCombinerInfo() argument
188 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AMDGPUPreLegalizerCombinerInfo()
H A DAMDGPURegBankCombiner.cpp385 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPURegBankCombinerInfo() argument
389 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPURegBankCombinerInfo()
H A DAMDGPUPostLegalizerCombiner.cpp339 bool OptSize, bool MinSize, in AMDGPUPostLegalizerCombinerInfo() argument
343 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPUPostLegalizerCombinerInfo()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineCombiner.cpp81 bool OptSize; member in __anonf5865b4f0111::MachineCombiner
583 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions()
745 OptSize = MF.getFunction().hasOptSize(); in runOnMachineFunction()
H A DCodeGenPrepare.cpp349 bool OptSize; member in __anon88ab83af0111::CodeGenPrepare
514 OptSize = F.hasOptSize(); in runOnFunction()
540 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI->isSlowDivBypassed()) { in runOnFunction()
2276 if (CI->hasFnAttr(Attribute::Cold) && !OptSize && in optimizeCallInst()
3261 bool OptSize; member in __anon88ab83af0c11::AddressingModeMatcher
3274 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument
3279 LargeOffsetGEP(LargeOffsetGEP), OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher()
3299 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument
3305 LargeOffsetGEP, OptSize, PSI, BFI) in Match()
4976 const TargetRegisterInfo &TRI, bool OptSize, ProfileSummaryInfo *PSI, in FindAllMemoryUses() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h91 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DPPCTargetTransformInfo.cpp439 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
442 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1674 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
1675 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
1684 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
1685 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
1703 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument
1704 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp()
1713 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
1714 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h264 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h204 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DAArch64TargetTransformInfo.cpp2486 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
2494 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp4893 unsigned OptSize, in IsMulWideOperandDemotable() argument
4900 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4906 if (OrigVT.getFixedSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4920 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4925 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4938 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4940 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4944 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4963 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4993 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h807 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
1694 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0;
2185 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
2187 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
H A DTargetTransformInfoImpl.h360 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp547 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
548 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7725 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemset() local
7731 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in lowerMemset()
7987 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemmove() local
7994 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in lowerMemmove()
8130 bool OptSize = shouldLowerMemFuncForSize(MF); in lowerMemCpyFamily() local
8131 uint64_t Limit = TLI.getMaxStoresPerMemcpy(OptSize); in lowerMemCpyFamily()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6998 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local
7010 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
7199 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local
7207 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
7320 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local
7326 unsigned Limit = AlwaysInline ? ~0 : TLI.getMaxStoresPerMemset(OptSize); in getMemsetStores()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DCompilerInvocation.cpp3962 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local
3964 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()

12