/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | CombinerInfo.h | 30 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 D | AMDGPUPreLegalizerCombiner.cpp | 47 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument 50 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize),
|
H A D | AMDGPURegBankCombiner.cpp | 49 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument 53 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize),
|
H A D | AMDGPUPostLegalizerCombiner.cpp | 244 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 D | AArch64PreLegalizerCombiner.cpp | 80 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, 83 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize),
|
H A D | AArch64PostLegalizerCombiner.cpp | 409 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 D | HexagonTargetTransformInfo.h | 88 bool shouldMaximizeVectorBandwidth(bool OptSize) const {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.h | 80 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
H A D | PPCTargetTransformInfo.cpp | 611 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 D | MachineCombiner.cpp | 79 bool OptSize; member in class:__anon3504::MachineCombiner 523 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); 662 OptSize = MF.getFunction().hasOptSize();
|
H A D | CodeGenPrepare.cpp | 323 /// 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 D | TargetTransformInfo.h | 734 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 D | TargetTransformInfoImpl.h | 259 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 D | AArch64TargetTransformInfo.h | 143 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
H A D | AArch64TargetTransformInfo.cpp | 681 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument 689 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
|
H A D | AArch64ISelLowering.cpp | 14891 bool OptSize = Attr.hasFnAttribute(Attribute::MinSize); local 14892 return OptSize && !VT.isVector();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 215 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
H A D | X86TargetTransformInfo.cpp | 4208 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 D | CombinerHelper.cpp | 989 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 D | TargetLowering.h | 1522 /// 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 D | TargetTransformInfo.cpp | 491 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 D | NVPTXISelLowering.cpp | 4557 /// 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 D | CompilerInvocation.cpp | 3216 OptSize = getOptimizationLevelSize(Args); local 3218 Opts.OptimizeSize = OptSize != 0;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 6033 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 D | LoopVectorize.cpp | 7620 bool OptSize = 7623 // 1) OptSize takes precedence over all other options, i.e. if this is set, 7625 if (OptSize)
|