Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DCombinerInfo.h30 LegalizerInfo *LInfo, bool OptEnabled, bool OptSize, in CombinerInfo() argument
34 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PreLegalizerCombiner.cpp46 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument
49 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
DAArch64TargetTransformInfo.h136 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
DAArch64TargetTransformInfo.cpp630 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
633 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/external/llvm/lib/CodeGen/
DMachineCombiner.cpp50 bool OptSize; member in __anon8cffef5f0111::MachineCombiner
341 if (OptSize && (NewSize < OldSize)) in doSubstitute()
462 OptSize = MF.getFunction()->optForSize(); in runOnMachineFunction()
DCodeGenPrepare.cpp153 bool OptSize; member in __anon6e3ad5bf0111::CodeGenPrepare
231 OptSize = F.optForSize(); in runOnFunction()
235 if (!OptSize && TLI && TLI->isSlowDivBypassed()) { in runOnFunction()
1803 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst()
3502 const bool OptSize = I->getFunction()->optForSize(); in FindAllMemoryUses() local
3523 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()
4593 if (DisableSelectToBranch || OptSize || !TLI || VectorCond || in optimizeSelectInst()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
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, in enableMemCmpExpansion() argument
1606 return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
1664 bool shouldMaximizeVectorBandwidth(bool OptSize) const override { in shouldMaximizeVectorBandwidth() argument
1665 return Impl.shouldMaximizeVectorBandwidth(OptSize); in shouldMaximizeVectorBandwidth()
DTargetTransformInfoImpl.h328 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() argument
391 bool shouldMaximizeVectorBandwidth(bool OptSize) const { return false; } in shouldMaximizeVectorBandwidth() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCombiner.cpp79 bool OptSize; member in __anon70a803810111::MachineCombiner
519 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions()
658 OptSize = MF.getFunction().hasOptSize(); in runOnMachineFunction()
DCodeGenPrepare.cpp306 bool OptSize; member in __anonf13feda10111::CodeGenPrepare
443 OptSize = F.hasOptSize(); in runOnFunction()
453 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI && in runOnFunction()
1945 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(BB, PSI, BFI.get()); in optimizeCallInst()
2884 bool OptSize; member in __anonf13feda10711::AddressingModeMatcher
2895 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) in AddressingModeMatcher() argument
2900 OptSize(OptSize), PSI(PSI), BFI(BFI) { in AddressingModeMatcher()
2919 bool OptSize, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in Match() argument
2925 OptSize, PSI, BFI) in Match()
4536 const TargetRegisterInfo &TRI, bool OptSize, ProfileSummaryInfo *PSI, in FindAllMemoryUses() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp975 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemset() local
981 unsigned Limit = TLI.getMaxStoresPerMemset(OptSize); in optimizeMemset()
1089 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemcpy() local
1100 unsigned Limit = TLI.getMaxStoresPerMemcpy(OptSize); in optimizeMemcpy()
1197 bool OptSize = shouldLowerMemFuncForSize(MF); in optimizeMemmove() local
1204 unsigned Limit = TLI.getMaxStoresPerMemmove(OptSize); in optimizeMemmove()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.h85 bool shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h73 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
DPPCTargetTransformInfo.cpp572 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
575 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/external/llvm/include/llvm/Target/
DTargetLowering.h921 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
922 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
931 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
932 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
941 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
942 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1401 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
1402 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
1411 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
1412 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
1430 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument
1431 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp()
1440 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
1441 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h203 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
DX86TargetTransformInfo.cpp3516 X86TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
3518 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp409 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument
410 return TTIImpl->enableMemCmpExpansion(OptSize, IsZeroCmp); in enableMemCmpExpansion()
501 bool TargetTransformInfo::shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth()
502 return TTIImpl->shouldMaximizeVectorBandwidth(OptSize); in shouldMaximizeVectorBandwidth()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4581 unsigned OptSize, in IsMulWideOperandDemotable() argument
4588 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4594 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4608 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4613 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4626 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4628 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4632 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4651 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4681 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4111 unsigned OptSize, in IsMulWideOperandDemotable() argument
4118 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4124 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4138 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4144 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4157 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4159 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4163 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4182 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4212 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4312 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemcpyLoadsAndStores() local
4322 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
4428 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemmoveLoadsAndStores() local
4435 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
4524 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemsetStores() local
4530 if (!FindOptimalMemOpLowering(MemOps, TLI.getMaxStoresPerMemset(OptSize), in getMemsetStores()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp2111 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local
2113 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5893 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemcpyLoadsAndStores() local
5903 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
6076 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemmoveLoadsAndStores() local
6083 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
6182 bool OptSize = shouldLowerMemFuncForSize(MF, DAG); in getMemsetStores() local
6189 MemOps, TLI.getMaxStoresPerMemset(OptSize), Size, in getMemsetStores()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp7515 bool OptSize = in getScalarEpilogueLowering() local
7520 if (OptSize && Hints.getForce() != LoopVectorizeHints::FK_Enabled) in getScalarEpilogueLowering()

12