/external/llvm-project/llvm/include/llvm/IR/ |
D | Function.h | 274 return hasFnAttribute("coroutine.presplit"); in isPresplitCoroutine() 345 bool hasFnAttribute(Attribute::AttrKind Kind) const { in hasFnAttribute() function 346 return AttributeSets.hasFnAttribute(Kind); in hasFnAttribute() 350 bool hasFnAttribute(StringRef Kind) const { in hasFnAttribute() function 351 return AttributeSets.hasFnAttribute(Kind); in hasFnAttribute() 366 if (!hasFnAttribute(Attribute::StackAlignment)) in getFnStackAlignment() 376 if (!hasFnAttribute(Attribute::StackAlignment)) in getFnStackAlign() 526 return hasFnAttribute(Attribute::ReadNone); in doesNotAccessMemory() 534 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory() 542 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 222 bool hasFnAttribute(Attribute::AttrKind Kind) const { in hasFnAttribute() function 223 return AttributeSets.hasFnAttribute(Kind); in hasFnAttribute() 225 bool hasFnAttribute(StringRef Kind) const { in hasFnAttribute() function 226 return AttributeSets.hasFnAttribute(Kind); in hasFnAttribute() 239 if (!hasFnAttribute(Attribute::StackAlignment)) in getFnStackAlignment() 310 return hasFnAttribute(Attribute::ReadNone); in doesNotAccessMemory() 318 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory() 326 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory() 335 return hasFnAttribute(Attribute::ArgMemOnly); in onlyAccessesArgMemory() 342 return hasFnAttribute(Attribute::InaccessibleMemOnly); in onlyAccessesInaccessibleMemory() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 199 bool hasFnAttribute(Attribute::AttrKind Kind) const { 200 return AttributeSets.hasFnAttribute(Kind); 202 bool hasFnAttribute(StringRef Kind) const { 216 if (!hasFnAttribute(Attribute::StackAlignment)) 287 return hasFnAttribute(Attribute::ReadNone); 295 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); 303 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); 312 return hasFnAttribute(Attribute::ArgMemOnly); 319 return hasFnAttribute(Attribute::InaccessibleMemOnly); 328 return hasFnAttribute(Attribute::InaccessibleMemOrArgMemOnly); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Function.h | 323 bool hasFnAttribute(Attribute::AttrKind Kind) const { in hasFnAttribute() function 324 return AttributeSets.hasFnAttribute(Kind); in hasFnAttribute() 328 bool hasFnAttribute(StringRef Kind) const { in hasFnAttribute() function 329 return AttributeSets.hasFnAttribute(Kind); in hasFnAttribute() 344 if (!hasFnAttribute(Attribute::StackAlignment)) in getFnStackAlignment() 485 return hasFnAttribute(Attribute::ReadNone); in doesNotAccessMemory() 493 return doesNotAccessMemory() || hasFnAttribute(Attribute::ReadOnly); in onlyReadsMemory() 501 return doesNotAccessMemory() || hasFnAttribute(Attribute::WriteOnly); in doesNotReadMemory() 510 return hasFnAttribute(Attribute::ArgMemOnly); in onlyAccessesArgMemory() 517 return hasFnAttribute(Attribute::InaccessibleMemOnly); in onlyAccessesInaccessibleMemory() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 35 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip() 36 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip() 101 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves() 111 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves() 112 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves() 113 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves() 139 !F.hasFnAttribute(Attribute::NoRecurse)) in isSafeForNoCSROpt()
|
D | PatchableFunction.cpp | 58 if (MF.getFunction().hasFnAttribute("patchable-function-entry")) { in runOnMachineFunction() 72 if (!MF.getFunction().hasFnAttribute("patchable-function")) in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 35 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip() 36 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip() 103 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves() 113 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves() 114 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves() 115 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves() 141 !F.hasFnAttribute(Attribute::NoRecurse)) in isSafeForNoCSROpt()
|
D | PatchableFunction.cpp | 58 if (MF.getFunction().hasFnAttribute("patchable-function-entry")) { in runOnMachineFunction() 67 if (!MF.getFunction().hasFnAttribute("patchable-function")) in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIMachineFunctionInfo.cpp | 82 if (F.hasFnAttribute("amdgpu-implicitarg-ptr")) in SIMachineFunctionInfo() 85 if (F.hasFnAttribute("amdgpu-implicitarg-ptr")) { in SIMachineFunctionInfo() 92 if (F.hasFnAttribute("amdgpu-work-group-id-x")) in SIMachineFunctionInfo() 95 if (F.hasFnAttribute("amdgpu-work-group-id-y")) in SIMachineFunctionInfo() 98 if (F.hasFnAttribute("amdgpu-work-group-id-z")) in SIMachineFunctionInfo() 101 if (F.hasFnAttribute("amdgpu-work-item-id-x")) in SIMachineFunctionInfo() 104 if (F.hasFnAttribute("amdgpu-work-item-id-y")) in SIMachineFunctionInfo() 107 if (F.hasFnAttribute("amdgpu-work-item-id-z")) in SIMachineFunctionInfo() 132 if (F.hasFnAttribute("amdgpu-dispatch-ptr")) in SIMachineFunctionInfo() 135 if (F.hasFnAttribute("amdgpu-queue-ptr")) in SIMachineFunctionInfo() [all …]
|
D | AMDGPUAnnotateKernelFeatures.cpp | 190 if (Callee.hasFnAttribute(Name)) { in handleAttr() 236 if (!Caller.hasFnAttribute("uniform-work-group-size")) in propagateUniformWorkGroupAttribute() 242 if (Caller.hasFnAttribute("uniform-work-group-size")) { in propagateUniformWorkGroupAttribute() 247 if (!Callee.hasFnAttribute("uniform-work-group-size")) { in propagateUniformWorkGroupAttribute()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIMachineFunctionInfo.cpp | 61 const bool HasCalls = F.hasFnAttribute("amdgpu-calls"); in SIMachineFunctionInfo() 91 if (F.hasFnAttribute("amdgpu-implicitarg-ptr")) in SIMachineFunctionInfo() 94 if (F.hasFnAttribute("amdgpu-implicitarg-ptr")) { in SIMachineFunctionInfo() 110 if (F.hasFnAttribute("amdgpu-work-group-id-x")) in SIMachineFunctionInfo() 113 if (F.hasFnAttribute("amdgpu-work-group-id-y")) in SIMachineFunctionInfo() 116 if (F.hasFnAttribute("amdgpu-work-group-id-z")) in SIMachineFunctionInfo() 119 if (F.hasFnAttribute("amdgpu-work-item-id-x")) in SIMachineFunctionInfo() 122 if (F.hasFnAttribute("amdgpu-work-item-id-y")) in SIMachineFunctionInfo() 125 if (F.hasFnAttribute("amdgpu-work-item-id-z")) in SIMachineFunctionInfo() 129 bool HasStackObjects = F.hasFnAttribute("amdgpu-stack-objects"); in SIMachineFunctionInfo() [all …]
|
D | AMDGPUAnnotateKernelFeatures.cpp | 203 if (Callee.hasFnAttribute(Name)) { in handleAttr() 249 if (!Caller.hasFnAttribute("uniform-work-group-size")) in propagateUniformWorkGroupAttribute() 255 if (Caller.hasFnAttribute("uniform-work-group-size")) { in propagateUniformWorkGroupAttribute() 260 if (!Callee.hasFnAttribute("uniform-work-group-size")) { in propagateUniformWorkGroupAttribute()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64MachineFunctionInfo.cpp | 41 if (!F.hasFnAttribute("sign-return-address")) { in GetSignReturnAddress() 67 if (!F.hasFnAttribute("sign-return-address-key")) { in ShouldSignWithBKey() 83 if (MF.getFunction().hasFnAttribute(Attribute::NoRedZone)) in AArch64FunctionInfo() 90 if (!F.hasFnAttribute("branch-target-enforcement")) { in AArch64FunctionInfo()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIMachineFunctionInfo.cpp | 98 if (F->hasFnAttribute("amdgpu-work-group-id-y") || ST.debuggerEmitPrologue()) 101 if (F->hasFnAttribute("amdgpu-work-group-id-z") || ST.debuggerEmitPrologue()) 104 if (F->hasFnAttribute("amdgpu-work-item-id-y") || ST.debuggerEmitPrologue()) 107 if (F->hasFnAttribute("amdgpu-work-item-id-z") || ST.debuggerEmitPrologue()) 125 if (F->hasFnAttribute("amdgpu-dispatch-ptr")) 128 if (F->hasFnAttribute("amdgpu-queue-ptr"))
|
D | AMDGPUAlwaysInlinePass.cpp | 42 !F.hasFnAttribute(Attribute::NoInline)) in runOnModule() 54 if (F.hasLocalLinkage() && !F.hasFnAttribute(Attribute::NoInline)) { in runOnModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | SyntheticCountsPropagation.cpp | 79 if (F.hasFnAttribute(Attribute::AlwaysInline) || in initializeCounts() 80 F.hasFnAttribute(Attribute::InlineHint)) { in initializeCounts() 88 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts() 89 F.hasFnAttribute(Attribute::NoInline)) { in initializeCounts()
|
D | HotColdSplitting.cpp | 150 if (!F.hasFnAttribute(Attribute::Cold)) { in markFunctionCold() 154 if (!F.hasFnAttribute(Attribute::MinSize)) { in markFunctionCold() 189 if (F.hasFnAttribute(Attribute::Cold)) in isFunctionCold() 204 if (F.hasFnAttribute(Attribute::AlwaysInline)) in shouldOutlineFrom() 207 if (F.hasFnAttribute(Attribute::NoInline)) in shouldOutlineFrom() 212 if (F.hasFnAttribute(Attribute::NoReturn)) in shouldOutlineFrom() 215 if (F.hasFnAttribute(Attribute::SanitizeAddress) || in shouldOutlineFrom() 216 F.hasFnAttribute(Attribute::SanitizeHWAddress) || in shouldOutlineFrom() 217 F.hasFnAttribute(Attribute::SanitizeThread) || in shouldOutlineFrom() 218 F.hasFnAttribute(Attribute::SanitizeMemory)) in shouldOutlineFrom()
|
D | PruneEH.cpp | 103 F->hasFnAttribute(Attribute::Naked) && in runImpl() 104 F->hasFnAttribute(Attribute::NoInline); in runImpl() 155 if (!SCCMightUnwind && !F->hasFnAttribute(Attribute::NoUnwind)) { in runImpl() 160 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | SyntheticCountsPropagation.cpp | 78 if (F.hasFnAttribute(Attribute::AlwaysInline) || in initializeCounts() 79 F.hasFnAttribute(Attribute::InlineHint)) { in initializeCounts() 87 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts() 88 F.hasFnAttribute(Attribute::NoInline)) { in initializeCounts()
|
D | HotColdSplitting.cpp | 161 if (!F.hasFnAttribute(Attribute::Cold)) { in markFunctionCold() 165 if (!F.hasFnAttribute(Attribute::MinSize)) { in markFunctionCold() 200 if (F.hasFnAttribute(Attribute::Cold)) in isFunctionCold() 215 if (F.hasFnAttribute(Attribute::AlwaysInline)) in shouldOutlineFrom() 218 if (F.hasFnAttribute(Attribute::NoInline)) in shouldOutlineFrom() 223 if (F.hasFnAttribute(Attribute::NoReturn)) in shouldOutlineFrom() 226 if (F.hasFnAttribute(Attribute::SanitizeAddress) || in shouldOutlineFrom() 227 F.hasFnAttribute(Attribute::SanitizeHWAddress) || in shouldOutlineFrom() 228 F.hasFnAttribute(Attribute::SanitizeThread) || in shouldOutlineFrom() 229 F.hasFnAttribute(Attribute::SanitizeMemory)) in shouldOutlineFrom()
|
D | PruneEH.cpp | 97 F->hasFnAttribute(Attribute::Naked) && in runImpl() 98 F->hasFnAttribute(Attribute::NoInline); in runImpl() 145 if (!SCCMightUnwind && !F->hasFnAttribute(Attribute::NoUnwind)) { in runImpl() 150 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMMachineFunctionInfo.cpp | 19 IsCmseNSEntry(MF.getFunction().hasFnAttribute("cmse_nonsecure_entry")), in ARMFunctionInfo() 20 IsCmseNSCall(MF.getFunction().hasFnAttribute("cmse_nonsecure_call")) {} in ARMFunctionInfo()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 107 F->hasFnAttribute(Attribute::Naked) && in runImpl() 108 F->hasFnAttribute(Attribute::NoInline); in runImpl() 159 if (!SCCMightUnwind && !F->hasFnAttribute(Attribute::NoUnwind)) { in runImpl() 164 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl()
|
/external/llvm-project/llvm/lib/Target/AVR/ |
D | AVRMachineFunctionInfo.h | 58 …this->IsInterruptHandler = CallConv == CallingConv::AVR_INTR || MF.getFunction().hasFnAttribute("i… in AVRMachineFunctionInfo() 59 …this->IsSignalHandler = CallConv == CallingConv::AVR_SIGNAL || MF.getFunction().hasFnAttribute("si… in AVRMachineFunctionInfo()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelDAGToDAG.cpp | 51 MF.getFunction()->hasFnAttribute(Attribute::OptimizeForSize) || in runOnMachineFunction() 52 MF.getFunction()->hasFnAttribute(Attribute::MinSize); in runOnMachineFunction()
|