Searched refs:OptimizeForSize (Results 1 – 21 of 21) sorted by relevance
51 MF.getFunction()->hasFnAttribute(Attribute::OptimizeForSize) || in runOnMachineFunction()
171 Pass *createLoopUnswitchPass(bool OptimizeForSize = false);
182 bool OptimizeForSize; member in __anon1bf9f3440111::LoopUnswitch200 LoopPass(ID), OptimizeForSize(Os), redoLoop(false), in LoopUnswitch()518 if (OptimizeForSize || in processCurrentLoop()519 loopHeader->getParent()->hasFnAttribute(Attribute::OptimizeForSize)) in processCurrentLoop()
215 Attribute::OptimizeForSize)) { in selectThresholds()
109 def OptimizeForSize : EnumAttr<"optsize">;
415 return hasFnAttribute(Attribute::OptimizeForSize) || optForMinSize();
286 Caller->hasFnAttribute(Attribute::OptimizeForSize); in getInlineThreshold()
1874 .Case("optsize", Attribute::OptimizeForSize) in parseAttrKind()
245 if (hasAttribute(Attribute::OptimizeForSize)) in getAsString()422 case Attribute::OptimizeForSize: return 1 << 13; in getAttrMask()
1231 I->getKindAsEnum() == Attribute::OptimizeForSize || in VerifyAttributeTypes()1452 Attribute::OptimizeForSize), in VerifyFunctionAttrs()
86 if (!Fn->hasFnAttribute(Attribute::OptimizeForSize)) in MachineFunction()
565 MF.getFunction()->hasFnAttribute(Attribute::OptimizeForSize)) in shouldTailDuplicate()
1312 if (F.getFunction()->hasFnAttribute(Attribute::OptimizeForSize)) in buildCFGChains()
1414 Attribute::OptimizeForSize); in isOptSize()
840 B.addAttribute(llvm::Attribute::OptimizeForSize); in SetLLVMFunctionAttributesForDefinition()857 F->removeFnAttr(llvm::Attribute::OptimizeForSize); in SetLLVMFunctionAttributesForDefinition()
1498 FuncAttrs.addAttribute(llvm::Attribute::OptimizeForSize); in ConstructAttributeList()
512 HANDLE_ATTR(OptimizeForSize); in printAttributes()
225 case Attribute::OptimizeForSize: in getAttrKindEncoding()
3699 if (MF->getFunction()->hasFnAttribute(Attribute::OptimizeForSize)) in getOperandLatency()
1281 return Attribute::OptimizeForSize; in getAttrFromCode()
1017 case lltok::kw_optsize: B.addAttribute(Attribute::OptimizeForSize); break; in ParseFnAttributeValuePairs()