Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineCombiner.cpp74 bool OptSize; member in __anonfe75aa9d0111::MachineCombiner
413 if (OptSize && (NewSize < OldSize)) in doSubstitute()
644 OptSize = MF.getFunction().optForSize(); in runOnMachineFunction()
H A DCodeGenPrepare.cpp299 bool OptSize; member in __anon6227213d0111::CodeGenPrepare
416 OptSize = F.optForSize(); in runOnFunction()
429 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI && in runOnFunction()
1695 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst()
4271 const bool OptSize = I->getFunction()->optForSize(); in FindAllMemoryUses() local
4313 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()
5733 if (DisableSelectToBranch || OptSize || !TLI) in optimizeSelectInst()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h86 bool shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth() argument
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1297 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
1298 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
1307 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
1308 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
1326 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument
1327 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp()
1348 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
1349 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h700 bool shouldMaximizeVectorBandwidth(bool OptSize) const;
1119 virtual bool shouldMaximizeVectorBandwidth(bool OptSize) const = 0;
1425 bool shouldMaximizeVectorBandwidth(bool OptSize) const override { in shouldMaximizeVectorBandwidth() argument
1426 return Impl.shouldMaximizeVectorBandwidth(OptSize); in shouldMaximizeVectorBandwidth()
H A DTargetTransformInfoImpl.h360 bool shouldMaximizeVectorBandwidth(bool OptSize) const { return false; } in shouldMaximizeVectorBandwidth() argument
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp4315 unsigned OptSize, in IsMulWideOperandDemotable() argument
4322 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4328 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4342 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4347 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4360 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4362 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4366 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4385 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4415 if (!AreMulWideOperandsDemotable(LHS, RHS, OptSize, Signed)) { in TryMULWIDECombine()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp347 bool TargetTransformInfo::shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth()
348 return TTIImpl->shouldMaximizeVectorBandwidth(OptSize); in shouldMaximizeVectorBandwidth()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp5682 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemcpyLoadsAndStores() local
5692 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
5866 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemmoveLoadsAndStores() local
5873 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
5969 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemsetStores() local
5975 if (!FindOptimalMemOpLowering(MemOps, TLI.getMaxStoresPerMemset(OptSize), in getMemsetStores()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInvocation.cpp2900 OptSize = getOptimizationLevelSize(Args); in ParseLangArgs() local
2902 Opts.OptimizeSize = OptSize != 0; in ParseLangArgs()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11851 bool OptSize = in isIntDivCheap() local
11853 return OptSize && !VT.isVector(); in isIntDivCheap()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp42674 bool OptSize = in isIntDivCheap() local
42676 return OptSize && !VT.isVector(); in isIntDivCheap()