/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Function.h | 176 bool hasFnAttr(Attributes N) const { 220 return hasFnAttr(Attribute::ReadNone); 229 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly); 238 return hasFnAttr(Attribute::NoReturn); 247 return hasFnAttr(Attribute::NoUnwind); 257 return hasFnAttr(Attribute::UWTable);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | Inliner.cpp | 89 if (Callee->hasFnAttr(Attribute::StackProtectReq)) in InlineCallIfPossible() 91 else if (Callee->hasFnAttr(Attribute::StackProtect) && in InlineCallIfPossible() 92 !Caller->hasFnAttr(Attribute::StackProtectReq)) in InlineCallIfPossible() 203 Caller->hasFnAttr(Attribute::OptimizeForSize) && in getInlineThreshold() 210 Callee->hasFnAttr(Attribute::InlineHint)) in getInlineThreshold()
|
D | InlineAlways.cpp | 84 if (!I->isDeclaration() && !I->hasFnAttr(Attribute::AlwaysInline)) in doInitialization()
|
D | InlineSimple.cpp | 85 if (!I->isDeclaration() && I->hasFnAttr(Attribute::NoInline)) in doInitialization()
|
/external/llvm/include/llvm/IR/ |
D | CallSite.h | 337 bool hasFnAttr(Attribute::AttrKind Kind) const { in hasFnAttr() function 338 CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind)); in hasFnAttr() 342 bool hasFnAttr(StringRef Kind) const { in hasFnAttr() function 343 CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind)); in hasFnAttr()
|
D | Instructions.h | 1650 bool hasFnAttr(Attribute::AttrKind Kind) const { 1657 bool hasFnAttr(StringRef Kind) const { 1717 bool isNoInline() const { return hasFnAttr(Attribute::NoInline); } 1724 return hasFnAttr(Attribute::ReturnsTwice); 1732 return hasFnAttr(Attribute::ReadNone); 1740 return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly); 1748 return doesNotAccessMemory() || hasFnAttr(Attribute::WriteOnly); 1757 return hasFnAttr(Attribute::ArgMemOnly); 1764 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); } 1770 bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); } [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | StackProtector.cpp | 107 if (F->hasFnAttr(Attribute::StackProtectReq)) in RequiresStackProtector() 110 if (!F->hasFnAttr(Attribute::StackProtect)) in RequiresStackProtector()
|
D | PrologEpilogInserter.cpp | 99 if (!F->hasFnAttr(Attribute::Naked)) in runOnMachineFunction() 114 if (!F->hasFnAttr(Attribute::Naked)) in runOnMachineFunction() 221 if (Fn.getFunction()->hasFnAttr(Attribute::Naked)) in calculateCalleeSavedRegisters()
|
D | MachineFunction.cpp | 64 if (Fn->hasFnAttr(Attribute::StackAlignment)) in MachineFunction() 70 if (!Fn->hasFnAttr(Attribute::OptimizeForSize)) in MachineFunction()
|
D | CodePlacementOpt.cpp | 379 if (F->hasFnAttr(Attribute::OptimizeForSize)) in AlignLoops()
|
D | TailDuplication.cpp | 543 MF.getFunction()->hasFnAttr(Attribute::OptimizeForSize)) in shouldTailDuplicate()
|
/external/llvm/lib/Transforms/IPO/ |
D | InlineAlways.cpp | 99 CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee)) in getInlineCost()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 144 Header->getParent()->hasFnAttr(Attribute::OptimizeForSize)) in runOnLoop()
|
D | LoopUnswitch.cpp | 434 if (OptimizeForSize || F->hasFnAttr(Attribute::OptimizeForSize)) in UnswitchIfProfitable()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InlineCost.cpp | 488 Callee->hasFnAttr(Attribute::NoInline) || NeverInline.count(Callee) || in getInlineCost() 507 if (!Callee->isDeclaration() && Callee->hasFnAttr(Attribute::AlwaysInline)) in getInlineCost()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Sink.cpp | 82 if (CS.hasFnAttr(Attribute::Convergent)) in isSafeToMove()
|
D | LoopUnswitch.cpp | 538 if (CS.hasFnAttr(Attribute::Convergent)) in processCurrentLoop()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 546 EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold)); in TEST() 576 EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold)); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCFrameLowering.cpp | 188 bool DisableRedZone = MF.getFunction()->hasFnAttr(Attribute::NoRedZone); in determineFrameLayout() 244 if (MF.getFunction()->hasFnAttr(Attribute::Naked)) in needsFP()
|
D | PPCRegisterInfo.cpp | 575 if (!MF.getFunction()->hasFnAttr(Attribute::Naked)) in eliminateFrameIndex()
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 883 if (CS.hasFnAttr(Attribute::ReturnsTwice) && in visitCallSite() 1480 if (CS.hasFnAttr(Attribute::AlwaysInline)) { in getInlineCost()
|
D | BranchProbabilityInfo.cpp | 276 if (CI->hasFnAttr(Attribute::Cold)) { in calcColdCallHeuristics()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1350 return CI->hasFnAttr(Attribute::NoUnwind) && in isTrigLibCall() 1351 CI->hasFnAttr(Attribute::ReadNone); in isTrigLibCall() 1556 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 464 F->hasFnAttr(Attribute::StackAlignment)); in needsStackRealignment()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 1157 if (CS && CS.hasFnAttr(Attribute::ReturnsTwice)) in callsFunctionThatReturnsTwice()
|