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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp138 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI); local
139 if (OptForSize)
H A DX86FixupBWInsts.cpp140 /// Local member for function's OptForSize attribute.
141 bool OptForSize = false; member in class:__anon4428::FixupBWInstPass
383 if (ML->begin() == ML->end() && !OptForSize)
440 OptForSize = MF.getFunction().hasOptSize() ||
H A DX86OptimizeLEAs.cpp716 bool OptForSize = MF.getFunction().hasOptSize() || local
718 if (OptForSize)
H A DX86ISelLowering.cpp8804 bool OptForSize = DAG.shouldOptForSize();
8812 if (ConstSplatVal && (Subtarget.hasAVX2() || OptForSize)) {
8821 (OptForSize && (ScalarSize == 64 || Subtarget.hasAVX2()))) {
11803 bool OptForSize = DAG.shouldOptForSize();
11804 if (!OptForSize) {
19130 bool OptForSize = DAG.shouldOptForSize();
19131 bool ExpandFunnel = !OptForSize && Subtarget.isSHLDSlow();
21988 bool OptForSize = DAG.shouldOptForSize();
21989 if ((!isUInt<32>(AndRHSVal) || (OptForSize && !isUInt<8>(AndRHSVal))) &&
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp91 bool doSubstitute(unsigned NewSize, unsigned OldSize, bool OptForSize);
424 bool OptForSize) {
425 if (OptForSize && (NewSize < OldSize))
523 bool OptForSize = OptSize || llvm::shouldOptimizeForSize(MBB, PSI, MBFI);
602 doSubstitute(NewInstCount, OldInstCount, OptForSize)) {
H A DExpandMemCmp.cpp731 bool OptForSize = CI->getFunction()->hasOptSize() || local
733 auto Options = TTI->enableMemCmpExpansion(OptForSize,
740 if (OptForSize &&
744 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences())
H A DBranchFolding.cpp649 bool OptForSize = local
653 return EffectiveTailLen >= 2 && OptForSize &&
1511 bool OptForSize = local
1514 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) {
H A DTailDuplicator.cpp567 bool OptForSize = MF->getFunction().hasOptSize() || local
573 if (OptForSize)
H A DTargetLoweringBase.cpp1501 const bool OptForSize = local
1504 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize);
1509 return (OptForSize || Range <= MaxJumpTableSize) &&
1865 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const {
1866 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity;
H A DMachineBlockPlacement.cpp2098 bool OptForSize = F->getFunction().hasOptSize() || local
2100 if (OptForSize)
3308 bool OptForSize = MF.getFunction().hasOptSize() || local
3310 if (OptForSize)
H A DCodeGenPrepare.cpp4698 bool OptForSize = OptSize || local
4700 if (!OptForSize)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp98 bool OptForSize);
474 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); local
481 if (!OptForSize && ST->isTinyCore())
513 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize);
516 combine(I1, *I2, MI, DoInsertAtI1, OptForSize);
579 bool DoInsertAtI1, bool OptForSize) {
616 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() &&
577 combine(MachineInstr &I1, MachineInstr &I2, MachineBasicBlock::iterator &MI, bool DoInsertAtI1, bool OptForSize) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp226 bool OptForSize = L->getHeader()->getParent()->hasOptSize() || local
229 if (OptForSize) {
1081 bool OptForSize = L->getHeader()->getParent()->hasOptSize();
1092 // Exit early if unrolling is disabled. For OptForSize, we pick the loop size
1095 !OptForSize)
1113 if (OptForSize)
H A DLoopLoadElimination.cpp551 bool OptForSize = F->hasOptSize() ||
554 if (OptForSize) {
H A DConstantHoisting.cpp563 bool OptForSize = Entry->getParent()->hasOptSize() || local
566 if (!OptForSize || std::distance(S,E) > 100) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1658 unsigned getMinimumJumpTableDensity(bool OptForSize) const;
3596 bool LegalOps, bool OptForSize,
3603 bool LegalOps, bool OptForSize,
3607 getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
3619 bool OptForSize, unsigned Depth = 0) const {
3621 return getNegatedExpression(Op, DAG, LegalOps, OptForSize, Cost, Depth);
3602 getCheaperNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, unsigned Depth = 0) const argument
3618 getNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, unsigned Depth = 0) const argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5701 bool LegalOps, bool OptForSize,
5743 OptForSize);
5772 OptForSize);
5803 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth);
5807 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth);
5852 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth);
5856 getNegatedExpression(Y, DAG, LegalOps, OptForSize, CostY, Depth);
5890 getNegatedExpression(Z, DAG, LegalOps, OptForSize, CostZ, Depth);
5898 getNegatedExpression(X, DAG, LegalOps, OptForSize, CostX, Depth);
5902 getNegatedExpression(Y, DAG, LegalOps, OptForSize, Cost
5700 getNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, NegatibleCost &Cost, unsigned Depth) const argument
[all...]
H A DSelectionDAGBuilder.cpp5240 bool OptForSize = DAG.shouldOptForSize();
5241 if (!OptForSize ||
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h702 bool OptForSize, NegatibleCost &Cost,
H A DPPCISelLowering.cpp16498 bool LegalOps, bool OptForSize,
16522 getNegatedExpression(N2, DAG, LegalOps, OptForSize, N2Cost, Depth + 1);
16534 SDValue NegN0 = getNegatedExpression(N0, DAG, LegalOps, OptForSize,
16538 SDValue NegN1 = getNegatedExpression(N1, DAG, LegalOps, OptForSize,
16559 return TargetLowering::getNegatedExpression(Op, DAG, LegalOps, OptForSize,
16497 getNegatedExpression(SDValue Op, SelectionDAG &DAG, bool LegalOps, bool OptForSize, NegatibleCost &Cost, unsigned Depth) const argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2745 bool OptForSize = CI->getFunction()->hasOptSize() ||
2748 if (OptForSize)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp6429 bool OptForSize) const {
6456 unsigned Limit = (OptForSize ? 1 : (Subtarget->hasFuseLiterals() ? 5 : 2));

Completed in 935 milliseconds