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

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerInfo.h30 const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize,
34 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) {
29 CombinerInfo(bool AllowIllegalOps, bool ShouldLegalizeIllegal, const LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, bool MinSize) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPreLegalizerCombiner.cpp47 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument
50 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize),
H A DAMDGPURegBankCombiner.cpp49 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument
53 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize),
H A DAMDGPUPostLegalizerCombiner.cpp244 AMDGPUPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument
248 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp80 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize,
83 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize),
H A DAArch64PostLegalizerCombiner.cpp409 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument
413 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h88 bool shouldMaximizeVectorBandwidth(bool OptSize) const {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h80 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DPPCTargetTransformInfo.cpp611 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
614 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp79 bool OptSize; member in class:__anon3504::MachineCombiner
523 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI);
662 OptSize = MF.getFunction().hasOptSize();
H A DCodeGenPrepare.cpp323 /// True if the function has the OptSize attribute.
324 bool OptSize; member in class:__anon3445::CodeGenPrepare
467 OptSize = F.hasOptSize();
480 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI->isSlowDivBypassed()) {
2001 !OptSize && !llvm::shouldOptimizeForSize(BB, PSI, BFI.get()))
2988 bool OptSize; member in class:__anon3449::AddressingModeMatcher
2999 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI)
3004 OptSize(OptSize), PSI(PSI), BFI(BFI) {
3023 bool OptSize, ProfileSummaryInf
2993 AddressingModeMatcher( SmallVectorImpl<Instruction *> &AMI, const TargetLowering &TLI, const TargetRegisterInfo &TRI, Type *AT, unsigned AS, Instruction *MI, ExtAddrMode &AM, const SetOfInstrs &InsertedInsts, InstrToOrigTy &PromotedInsts, TypePromotionTransaction &TPT, std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP, bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) argument
3017 Match(Value *V, Type *AccessTy, unsigned AS, Instruction *MemoryInst, SmallVectorImpl<Instruction *> &AddrModeInsts, const TargetLowering &TLI, const TargetRegisterInfo &TRI, const SetOfInstrs &InsertedInsts, InstrToOrigTy &PromotedInsts, TypePromotionTransaction &TPT, std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP, bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) argument
4643 FindAllMemoryUses( Instruction *I, SmallVectorImpl<std::pair<Instruction *, unsigned>> &MemoryUses, SmallPtrSetImpl<Instruction *> &ConsideredInsts, const TargetLowering &TLI, const TargetRegisterInfo &TRI, bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI, int SeenInsts = 0) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h734 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
890 bool shouldMaximizeVectorBandwidth(bool OptSize) const;
1350 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0;
1378 virtual bool shouldMaximizeVectorBandwidth(bool OptSize) const = 0;
1694 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
1696 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp);
1756 bool shouldMaximizeVectorBandwidth(bool OptSize) const override {
1757 return Impl.shouldMaximizeVectorBandwidth(OptSize);
H A DTargetTransformInfoImpl.h259 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, argument
328 bool shouldMaximizeVectorBandwidth(bool OptSize) const { return false; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h143 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DAArch64TargetTransformInfo.cpp681 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
689 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
H A DAArch64ISelLowering.cpp14891 bool OptSize = Attr.hasFnAttribute(Attribute::MinSize); local
14892 return OptSize && !VT.isVector();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h215 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DX86TargetTransformInfo.cpp4208 X86TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const {
4210 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp989 bool OptSize = shouldLowerMemFuncForSize(MF); local
995 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize);
1103 bool OptSize = shouldLowerMemFuncForSize(MF); local
1114 unsigned Limit = TLI.getMaxStoresPerMemcpy(OptSize);
1209 bool OptSize = shouldLowerMemFuncForSize(MF); local
1216 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1522 /// performance threshold for such a replacement. If OptSize is true,
1523 /// return the limit for functions that have OptSize attribute.
1524 unsigned getMaxStoresPerMemset(bool OptSize) const {
1525 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset;
1532 /// performance threshold for such a replacement. If OptSize is true,
1533 /// return the limit for functions that have OptSize attribute.
1534 unsigned getMaxStoresPerMemcpy(bool OptSize) const {
1535 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy;
1551 /// performance threshold for such a replacement. If OptSize is true,
1552 /// return the limit for functions that have OptSize attribut
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp491 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
492 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp);
589 bool TargetTransformInfo::shouldMaximizeVectorBandwidth(bool OptSize) const {
590 return TTIImpl->shouldMaximizeVectorBandwidth(OptSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp4557 /// that can be demoted to \p OptSize bits without loss of information. The
4560 unsigned OptSize,
4567 if (OrigVT.getSizeInBits() <= OptSize) {
4573 if (OrigVT.getSizeInBits() <= OptSize) {
4583 /// be demoted to \p OptSize bits without loss of information. If the operands
4587 unsigned OptSize,
4592 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign))
4605 return Val.isIntN(OptSize);
4607 return Val.isSignedIntN(OptSize);
4611 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSig
4559 IsMulWideOperandDemotable(SDValue Op, unsigned OptSize, OperandSignedness &S) argument
4586 AreMulWideOperandsDemotable(SDValue LHS, SDValue RHS, unsigned OptSize, bool &IsSigned) argument
4630 unsigned OptSize = MulType.getSizeInBits() >> 1; local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3216 OptSize = getOptimizationLevelSize(Args); local
3218 Opts.OptimizeSize = OptSize != 0;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6033 bool OptSize = shouldLowerMemFuncForSize(MF, DAG);
6044 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize);
6218 bool OptSize = shouldLowerMemFuncForSize(MF, DAG);
6226 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize);
6322 bool OptSize = shouldLowerMemFuncForSize(MF, DAG);
6329 MemOps, TLI.getMaxStoresPerMemset(OptSize),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7620 bool OptSize =
7623 // 1) OptSize takes precedence over all other options, i.e. if this is set,
7625 if (OptSize)

Completed in 295 milliseconds

12