/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CombinerInfo.h | 30 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/ |
D | AArch64PreLegalizerCombiner.cpp | 46 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument 49 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
|
D | AArch64TargetTransformInfo.h | 136 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
D | AArch64TargetTransformInfo.cpp | 630 AArch64TTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 633 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
/external/llvm/lib/CodeGen/ |
D | MachineCombiner.cpp | 50 bool OptSize; member in __anon8cffef5f0111::MachineCombiner 341 if (OptSize && (NewSize < OldSize)) in doSubstitute() 462 OptSize = MF.getFunction()->optForSize(); in runOnMachineFunction()
|
D | CodeGenPrepare.cpp | 153 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/ |
D | TargetTransformInfo.h | 708 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()
|
D | TargetTransformInfoImpl.h | 328 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/ |
D | MachineCombiner.cpp | 79 bool OptSize; member in __anon70a803810111::MachineCombiner 519 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI); in combineInstructions() 658 OptSize = MF.getFunction().hasOptSize(); in runOnMachineFunction()
|
D | CodeGenPrepare.cpp | 306 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/ |
D | CombinerHelper.cpp | 975 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/ |
D | HexagonTargetTransformInfo.h | 85 bool shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.h | 73 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
D | PPCTargetTransformInfo.cpp | 572 PPCTTIImpl::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion() argument 575 Options.MaxNumLoads = TLI->getMaxExpandSizeMemcmp(OptSize); in enableMemCmpExpansion()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 921 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/ |
D | TargetLowering.h | 1401 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/ |
D | X86TargetTransformInfo.h | 203 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
|
D | X86TargetTransformInfo.cpp | 3516 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/ |
D | TargetTransformInfo.cpp | 409 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/ |
D | NVPTXISelLowering.cpp | 4581 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/ |
D | NVPTXISelLowering.cpp | 4111 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/ |
D | SelectionDAG.cpp | 4312 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/ |
D | CompilerInvocation.cpp | 2111 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local 2113 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 5893 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/ |
D | LoopVectorize.cpp | 7515 bool OptSize = in getScalarEpilogueLowering() local 7520 if (OptSize && Hints.getForce() != LoopVectorizeHints::FK_Enabled) in getScalarEpilogueLowering()
|