Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FixupBWInsts.cpp133 bool OptForSize; member in __anondaff925c0111::FixupBWInstPass
154 OptForSize = MF.getFunction().optForSize(); in runOnMachineFunction()
342 if (ML->begin() == ML->end() && !OptForSize) in tryReplaceInstr()
H A DX86ISelDAGToDAG.cpp163 bool OptForSize; member in __anone91c5f2e0311::X86DAGToDAGISel
173 : SelectionDAGISel(tm, OptLevel), OptForSize(false), in X86DAGToDAGISel()
308 if (!OptForSize) in shouldAvoidImmediateInstFormsForSize()
724 OptForSize = MF->getFunction().optForSize(); in PreprocessISelDAG()
726 assert((!OptForMinSize || OptForSize) && "OptForMinSize implies OptForSize"); in PreprocessISelDAG()
H A DX86InstrSSE.td196 let Predicates = [UseAVX, OptForSize] in
290 let Predicates = [UseAVX, OptForSize] in {
1259 Requires<[UseAVX, OptForSize]>;
1269 Requires<[UseAVX, OptForSize]>;
1281 XS, Requires<[UseSSE2, OptForSize]>,
2969 Requires<[target, OptForSize]>;
3000 let Predicates = [target, OptForSize] in {
3014 let Predicates = [target, OptForSize] in {
3059 let Predicates = [target, OptForSize] in {
5888 let Predicates = [UseAVX, OptForSize] in {
[all …]
H A DX86InstrCompiler.td285 let Predicates = [OptForSize, Not64BitMode],
1574 let AddedComplexity = 1, Predicates=[OptForSize] in {
H A DX86InstrAVX512.td3979 let Predicates = [HasAVX512, OptForSize] in
4370 let Predicates = [HasAVX512, OptForSize] in {
7968 Requires<[HasAVX512, OptForSize]>;
7972 Requires<[HasAVX512, OptForSize]>;
9386 let Predicates = [HasAVX512, OptForSize] in {
9463 let Predicates = [HasAVX512, OptForSize] in {
H A DX86ISelLowering.cpp7584 bool OptForSize = DAG.getMachineFunction().getFunction().optForSize(); in lowerBuildVectorAsBroadcast() local
7592 if (ConstSplatVal && (Subtarget.hasAVX2() || OptForSize)) { in lowerBuildVectorAsBroadcast()
7601 (OptForSize && (ScalarSize == 64 || Subtarget.hasAVX2()))) { in lowerBuildVectorAsBroadcast()
17279 bool OptForSize = DAG.getMachineFunction().getFunction().optForSize(); in LowerFunnelShift() local
17280 if (!OptForSize && Subtarget.isSHLDSlow()) in LowerFunnelShift()
19158 bool OptForSize = DAG.getMachineFunction().getFunction().optForSize(); in LowerAndToBT() local
19159 if ((!isUInt<32>(AndRHSVal) || (OptForSize && !isUInt<8>(AndRHSVal))) && in LowerAndToBT()
36732 bool OptForSize = DAG.getMachineFunction().getFunction().optForSize(); in combineOr() local
36740 if (!OptForSize && Subtarget.isSHLDSlow()) in combineOr()
H A DX86InstrInfo.td931 def OptForSize : Predicate<"MF->getFunction().optForSize()">;
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp99 bool OptForSize);
475 bool OptForSize = F.hasFnAttribute(Attribute::OptimizeForSize); in runOnMachineFunction() local
510 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction()
513 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction()
576 bool DoInsertAtI1, bool OptForSize) { in combine() argument
613 bool IsC64 = OptForSize && LoOperand.isImm() && HiOperand.isImm() && in combine()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h226 VectorizationFactor plan(bool OptForSize, unsigned UserVF);
230 VectorizationFactor planInVPlanNativePath(bool OptForSize, unsigned UserVF);
H A DLoopVectorize.cpp840 Optional<unsigned> computeMaxVF(bool OptForSize);
4640 return computeFeasibleMaxVF(OptForSize, TC); in computeMaxVF()
4689 IsScalarEpilogueAllowed = !OptForSize; in computeMaxVF()
4697 unsigned MaxVF = computeFeasibleMaxVF(OptForSize, TC); in computeMaxVF()
4767 if (TTI.shouldMaximizeVectorBandwidth(OptForSize) || in computeFeasibleMaxVF()
4768 (MaximizeBandwidth && !OptForSize)) { in computeFeasibleMaxVF()
4925 if (OptForSize) in selectInterleaveCount()
7116 bool OptForSize = in processLoopInVPlanNativePath() local
7197 bool OptForSize = in processLoop() local
7250 OptForSize = true; in processLoop()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLowering.h941 const bool OptForSize = SI->getParent()->getParent()->optForSize(); in isSuitableForJumpTable() local
942 const unsigned MinDensity = getMinimumJumpTableDensity(OptForSize); in isSuitableForJumpTable()
944 OptForSize || getMaximumJumpTableSize() == 0 in isSuitableForJumpTable()
1419 unsigned getMinimumJumpTableDensity(bool OptForSize) const;
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1671 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const { in getMinimumJumpTableDensity()
1672 return OptForSize ? OptsizeJumpTableDensity : JumpTableDensity; in getMinimumJumpTableDensity()