Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineCombiner.cpp50 bool OptSize; member in __anon7bdc62a30111::MachineCombiner
341 if (OptSize && (NewSize < OldSize)) in doSubstitute()
462 OptSize = MF.getFunction()->optForSize(); in runOnMachineFunction()
DCodeGenPrepare.cpp153 bool OptSize; member in __anon65f3f0830111::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/include/llvm/Target/
DTargetLowering.h604 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
605 return OptSize ? maxStoresPerMemsetOptSize : maxStoresPerMemset; in getMaxStoresPerMemset()
613 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
614 return OptSize ? maxStoresPerMemcpyOptSize : maxStoresPerMemcpy; in getMaxStoresPerMemcpy()
622 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
623 return OptSize ? maxStoresPerMemmoveOptSize : maxStoresPerMemmove; in getMaxStoresPerMemmove()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineCombiner.cpp74 bool OptSize; member in __anon38c09afb0111::MachineCombiner
411 if (OptSize && (NewSize < OldSize)) in doSubstitute()
642 OptSize = MF.getFunction().optForSize(); in runOnMachineFunction()
DCodeGenPrepare.cpp299 bool OptSize; member in __anond0867ddb0111::CodeGenPrepare
398 OptSize = F.optForSize(); in runOnFunction()
411 if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI && in runOnFunction()
1669 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst()
4129 const bool OptSize = I->getFunction()->optForSize(); in FindAllMemoryUses() local
4171 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()
5611 if (DisableSelectToBranch || OptSize || !TLI || VectorCond || in optimizeSelectInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.h86 bool shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1241 unsigned getMaxStoresPerMemset(bool OptSize) const { in getMaxStoresPerMemset() argument
1242 return OptSize ? MaxStoresPerMemsetOptSize : MaxStoresPerMemset; in getMaxStoresPerMemset()
1251 unsigned getMaxStoresPerMemcpy(bool OptSize) const { in getMaxStoresPerMemcpy() argument
1252 return OptSize ? MaxStoresPerMemcpyOptSize : MaxStoresPerMemcpy; in getMaxStoresPerMemcpy()
1270 unsigned getMaxExpandSizeMemcmp(bool OptSize) const { in getMaxExpandSizeMemcmp() argument
1271 return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp; in getMaxExpandSizeMemcmp()
1292 unsigned getMaxStoresPerMemmove(bool OptSize) const { in getMaxStoresPerMemmove() argument
1293 return OptSize ? MaxStoresPerMemmoveOptSize : MaxStoresPerMemmove; in getMaxStoresPerMemmove()
/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-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h691 bool shouldMaximizeVectorBandwidth(bool OptSize) const;
1091 virtual bool shouldMaximizeVectorBandwidth(bool OptSize) const = 0;
1389 bool shouldMaximizeVectorBandwidth(bool OptSize) const override { in shouldMaximizeVectorBandwidth() argument
1390 return Impl.shouldMaximizeVectorBandwidth(OptSize); in shouldMaximizeVectorBandwidth()
DTargetTransformInfoImpl.h355 bool shouldMaximizeVectorBandwidth(bool OptSize) const { return false; } in shouldMaximizeVectorBandwidth() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4257 unsigned OptSize, in IsMulWideOperandDemotable() argument
4264 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4270 if (OrigVT.getSizeInBits() <= OptSize) { in IsMulWideOperandDemotable()
4284 unsigned OptSize, in AreMulWideOperandsDemotable() argument
4289 if (!IsMulWideOperandDemotable(LHS, OptSize, LHSSign)) in AreMulWideOperandsDemotable()
4302 return Val.isIntN(OptSize); in AreMulWideOperandsDemotable()
4304 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
4308 if (!IsMulWideOperandDemotable(RHS, OptSize, RHSSign)) in AreMulWideOperandsDemotable()
4327 unsigned OptSize = MulType.getSizeInBits() >> 1; in TryMULWIDECombine() local
4357 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp343 bool TargetTransformInfo::shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth()
344 return TTIImpl->shouldMaximizeVectorBandwidth(OptSize); in shouldMaximizeVectorBandwidth()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3434 bool OptSize = MF.getFunction()->hasFnAttr(Attribute::OptimizeForSize); in getMemcpyLoadsAndStores() local
3444 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
3527 bool OptSize = MF.getFunction()->hasFnAttr(Attribute::OptimizeForSize); in getMemmoveLoadsAndStores() local
3534 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
3605 bool OptSize = MF.getFunction()->hasFnAttr(Attribute::OptimizeForSize); in getMemsetStores() local
3611 if (!FindOptimalMemOpLowering(MemOps, TLI.getMaxStoresPerMemset(OptSize), in getMemsetStores()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5309 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemcpyLoadsAndStores() local
5319 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize); in getMemcpyLoadsAndStores()
5493 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemmoveLoadsAndStores() local
5500 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize); in getMemmoveLoadsAndStores()
5596 bool OptSize = shouldLowerMemFuncForSize(MF); in getMemsetStores() local
5602 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/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10375 bool OptSize = in isIntDivCheap() local
10377 return OptSize && !VT.isVector(); in isIntDivCheap()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp11555 bool OptSize = in isIntDivCheap() local
11557 return OptSize && !VT.isVector(); in isIntDivCheap()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp31874 bool OptSize = Attr.hasAttribute(AttributeSet::FunctionIndex, in isIntDivCheap() local
31876 return OptSize && !VT.isVector(); in isIntDivCheap()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp40753 bool OptSize = in isIntDivCheap() local
40755 return OptSize && !VT.isVector(); in isIntDivCheap()