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

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerInfo.h30 LegalizerInfo *LInfo, bool OptEnabled, bool OptSize,
34 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) {
29 CombinerInfo(bool AllowIllegalOps, bool ShouldLegalizeIllegal, LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, bool MinSize) argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PreLegalizerCombiner.cpp46 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, argument
49 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize),
H A DAArch64TargetTransformInfo.h136 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DAArch64TargetTransformInfo.cpp630 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
633 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
H A DAArch64ISelLowering.cpp13356 bool OptSize = local
13358 return OptSize && !VT.isVector();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h85 bool shouldMaximizeVectorBandwidth(bool OptSize) const {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h74 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DPPCTargetTransformInfo.cpp592 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
595 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp79 bool OptSize; member in class:__anon4580::MachineCombiner
519 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI);
658 OptSize = MF.getFunction().hasOptSize();
H A DCodeGenPrepare.cpp305 /// True if the function has the OptSize attribute.
306 bool OptSize; member in class:__anon4526::CodeGenPrepare
443 OptSize = F.hasOptSize();
453 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI &&
1945 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(BB, PSI, BFI.get());
2884 bool OptSize; member in class:__anon4530::AddressingModeMatcher
2895 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI)
2900 OptSize(OptSize), PSI(PSI), BFI(BFI) {
2919 bool OptSize, ProfileSummaryInf
2889 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
2913 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
4532 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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp975 bool OptSize = shouldLowerMemFuncForSize(MF); local
981 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize);
1089 bool OptSize = shouldLowerMemFuncForSize(MF); local
1100 unsigned Limit = TLI.getMaxStoresPerMemcpy(OptSize);
1197 bool OptSize = shouldLowerMemFuncForSize(MF); local
1204 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h708 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
833 bool shouldMaximizeVectorBandwidth(bool OptSize) const;
1265 enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const = 0;
1290 virtual bool shouldMaximizeVectorBandwidth(bool OptSize) const = 0;
1604 MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
1606 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp);
1664 bool shouldMaximizeVectorBandwidth(bool OptSize) const override {
1665 return Impl.shouldMaximizeVectorBandwidth(OptSize);
H A DTargetTransformInfoImpl.h328 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, argument
391 bool shouldMaximizeVectorBandwidth(bool OptSize) const { return false; }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h203 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
H A DX86TargetTransformInfo.cpp3516 X86TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
3518 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize);
H A DX86ISelLowering.cpp[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1399 /// performance threshold for such a replacement. If OptSize is true,
1400 /// return the limit for functions that have OptSize attribute.
1401 unsigned getMaxStoresPerMemset(bool OptSize) const {
1402 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset;
1409 /// performance threshold for such a replacement. If OptSize is true,
1410 /// return the limit for functions that have OptSize attribute.
1411 unsigned getMaxStoresPerMemcpy(bool OptSize) const {
1412 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy;
1428 /// performance threshold for such a replacement. If OptSize is true,
1429 /// return the limit for functions that have OptSize attribut
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp409 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { argument
410 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp);
501 bool TargetTransformInfo::shouldMaximizeVectorBandwidth(bool OptSize) const {
502 return TTIImpl->shouldMaximizeVectorBandwidth(OptSize);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp4578 /// that can be demoted to \p OptSize bits without loss of information. The
4581 unsigned OptSize,
4588 if (OrigVT.getSizeInBits() <= OptSize) {
4594 if (OrigVT.getSizeInBits() <= OptSize) {
4604 /// be demoted to \p OptSize bits without loss of information. If the operands
4608 unsigned OptSize,
4613 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign))
4626 return Val.isIntN(OptSize);
4628 return Val.isSignedIntN(OptSize);
4632 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSig
4580 IsMulWideOperandDemotable(SDValue Op, unsigned OptSize, OperandSignedness &S) argument
4607 AreMulWideOperandsDemotable(SDValue LHS, SDValue RHS, unsigned OptSize, bool &IsSigned) argument
4651 unsigned OptSize = MulType.getSizeInBits() >> 1; local
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3141 OptSize = getOptimizationLevelSize(Args); local
3143 Opts.OptimizeSize = OptSize != 0;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp5890 bool OptSize = shouldLowerMemFuncForSize(MF, DAG);
5900 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize);
6073 bool OptSize = shouldLowerMemFuncForSize(MF, DAG);
6080 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize);
6179 bool OptSize = shouldLowerMemFuncForSize(MF, DAG);
6186 MemOps, TLI.getMaxStoresPerMemset(OptSize), Size,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7515 bool OptSize =
7518 // 1) OptSize takes precedence over all other options, i.e. if this is set,
7520 if (OptSize && Hints.getForce() != LoopVectorizeHints::FK_Enabled)

Completed in 682 milliseconds