reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AArch64/AArch64GenDAGISel.inc
114579   case 19: return ( !MF->getFunction().hasFnAttribute("branch-target-enforcement") );
114580   case 20: return ( MF->getFunction().hasFnAttribute("branch-target-enforcement") );
gen/lib/Target/AArch64/AArch64GenGlobalISel.inc
  116   if ( MF->getFunction().hasFnAttribute("branch-target-enforcement") )
  118   if ( !MF->getFunction().hasFnAttribute("branch-target-enforcement") )
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 3183   bool LogArgs = F.hasFnAttribute("xray-log-args");
lib/CodeGen/AsmPrinter/WinException.cpp
   55     if (F.hasFnAttribute("safeseh"))
lib/CodeGen/MachineFunction.cpp
  166                       !F.hasFnAttribute("no-realign-stack");
  275   return getFunction().hasFnAttribute("split-stack");
lib/CodeGen/MachineOutliner.cpp
 1122   if (ParentFn.hasFnAttribute("target-features"))
lib/CodeGen/PatchableFunction.cpp
   57   if (!MF.getFunction().hasFnAttribute("patchable-function"))
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  578   if (F && F->hasFnAttribute("implicit-section-name")) {
lib/CodeGen/TargetOptionsImpl.cpp
   33   if (!F.hasFnAttribute("frame-pointer")) {
   39     if (F.hasFnAttribute("no-frame-pointer-elim-non-leaf"))
lib/CodeGen/TargetRegisterInfo.cpp
  443   return !MF.getFunction().hasFnAttribute("no-realign-stack");
  454   if (F.hasFnAttribute("stackrealign") || requiresRealignment) {
lib/IR/Attributes.cpp
 1779   if (!Caller.hasFnAttribute("probe-stack") &&
 1780       Callee.hasFnAttribute("probe-stack")) {
 1790   if (Callee.hasFnAttribute("stack-probe-size")) {
 1795     if (Caller.hasFnAttribute("stack-probe-size")) {
 1820   if (Caller.hasFnAttribute("min-legal-vector-width")) {
 1821     if (Callee.hasFnAttribute("min-legal-vector-width")) {
lib/Target/AArch64/AArch64BranchTargets.cpp
   61   if (!F.hasFnAttribute("branch-target-enforcement"))
lib/Target/AArch64/AArch64CallLowering.cpp
  772   if (CallerF.hasFnAttribute("branch-target-enforcement"))
  792   if (F.hasFnAttribute("branch-target-enforcement")) {
lib/Target/AArch64/AArch64FrameLowering.cpp
  325   if (!F.hasFnAttribute("sign-return-address"))
  435   if (F.hasFnAttribute("stack-probe-size"))
  440          !F.hasFnAttribute("no-stack-arg-probe");
  818   if (!F.hasFnAttribute("sign-return-address-key"))
lib/Target/AArch64/AArch64ISelLowering.cpp
 8325   if (DAG.getMachineFunction().getFunction().hasFnAttribute(
lib/Target/AArch64/AArch64InstrInfo.cpp
 5113     return C.getMF()->getFunction().hasFnAttribute("branch-target-enforcement");
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  190   if (Callee.hasFnAttribute(Name)) {
  236     if (!Caller.hasFnAttribute("uniform-work-group-size"))
  242   if (Caller.hasFnAttribute("uniform-work-group-size")) {
  247       if (!Callee.hasFnAttribute("uniform-work-group-size")) {
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  295   if (Func.hasFnAttribute("runtime-handle")) {
  431     if (Func.hasFnAttribute("calls-enqueue-kernel")) {
  705   if (Func.hasFnAttribute("runtime-handle")) {
  864     if (Func.hasFnAttribute("calls-enqueue-kernel")) {
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  110     if (F.hasFnAttribute("enqueued-block")) {
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  264   if (F.hasFnAttribute("amdgpu-wave-limiter") &&
  265       F.hasFnAttribute("amdgpu-memory-bound"))
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  403   if (F.hasFnAttribute("amdgpu-flat-work-group-size")) {
  648   if (F.hasFnAttribute("amdgpu-num-sgpr")) {
  697   if (F.hasFnAttribute("amdgpu-num-vgpr")) {
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
   83     if (F.hasFnAttribute("amdgpu-implicitarg-ptr"))
   86     if (F.hasFnAttribute("amdgpu-implicitarg-ptr")) {
   93   if (F.hasFnAttribute("amdgpu-work-group-id-x"))
   96   if (F.hasFnAttribute("amdgpu-work-group-id-y"))
   99   if (F.hasFnAttribute("amdgpu-work-group-id-z"))
  102   if (F.hasFnAttribute("amdgpu-work-item-id-x"))
  105   if (F.hasFnAttribute("amdgpu-work-item-id-y"))
  108   if (F.hasFnAttribute("amdgpu-work-item-id-z"))
  133     if (F.hasFnAttribute("amdgpu-dispatch-ptr"))
  136     if (F.hasFnAttribute("amdgpu-queue-ptr"))
  139     if (F.hasFnAttribute("amdgpu-dispatch-id"))
  145   if (F.hasFnAttribute("amdgpu-kernarg-segment-ptr"))
  162     if (hasNonSpillStackObjects() || F.hasFnAttribute("amdgpu-flat-scratch"))
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  313   bool WQMOutputs = MF.getFunction().hasFnAttribute("amdgpu-ps-wqm-outputs");
lib/Target/ARM/ARMBaseRegisterInfo.cpp
   80   } else if (F.hasFnAttribute("interrupt")) {
lib/Target/ARM/ARMFrameLowering.cpp
  219   if (F.hasFnAttribute("stack-probe-size"))
  224          !F.hasFnAttribute("no-stack-arg-probe");
lib/Target/ARM/ARMISelLowering.cpp
 2577   if (CallerF.hasFnAttribute("interrupt"))
 2858   if (DAG.getMachineFunction().getFunction().hasFnAttribute("interrupt") &&
16069   if (DAG.getMachineFunction().getFunction().hasFnAttribute(
lib/Target/MSP430/MSP430AsmPrinter.cpp
  178   if (MF.getFunction().hasFnAttribute("interrupt")) {
lib/Target/Mips/Mips16HardFloat.cpp
  489   if (F.hasFnAttribute("use-soft-float")) {
  517     if (F->hasFnAttribute("nomips16") &&
  518         F->hasFnAttribute("use-soft-float")) {
  522     if (F->isDeclaration() || F->hasFnAttribute("mips16_fp_stub") ||
  523         F->hasFnAttribute("nomips16")) continue;
lib/Target/Mips/MipsCCState.cpp
   78       if (F && F->hasFnAttribute("__Mips16RetHelper")) {
lib/Target/Mips/MipsISelLowering.cpp
 2954       if (F && F->hasFnAttribute("__Mips16RetHelper")) {
 3252         if (F->hasFnAttribute("long-call"))
 3254         else if (F->hasFnAttribute("short-call"))
 3485   if (Func.hasFnAttribute("interrupt") && !Func.arg_empty())
 3744   if (DAG.getMachineFunction().getFunction().hasFnAttribute("interrupt"))
lib/Target/Mips/MipsRegisterInfo.cpp
   96   if (F.hasFnAttribute("interrupt")) {
  230     if (MF.getFunction().hasFnAttribute("saveS2") || MipsFI->hasSaveS2())
lib/Target/Mips/MipsSEFrameLowering.cpp
  442   if (MF.getFunction().hasFnAttribute("interrupt"))
  734   if (MF.getFunction().hasFnAttribute("interrupt"))
  817     if (IsLOHI && Func.hasFnAttribute("interrupt")) {
lib/Target/Mips/MipsSEInstrInfo.cpp
  302   if (Func.hasFnAttribute("interrupt")) {
  333   bool ReqIndirectLoad = Func.hasFnAttribute("interrupt") &&
lib/Target/Mips/MipsTargetMachine.cpp
  182       F.hasFnAttribute("use-soft-float") &&
lib/Target/NVPTX/NVPTXISelLowering.cpp
  126     if (F.hasFnAttribute("nvptx-f32ftz"))
 4328   if (F.hasFnAttribute("unsafe-fp-math")) {
lib/Target/RISCV/RISCVFrameLowering.cpp
  387   if (MF.getFunction().hasFnAttribute("interrupt") && MFI.hasCalls()) {
lib/Target/RISCV/RISCVISelLowering.cpp
 1881   if (Func.hasFnAttribute("interrupt")) {
 2030   if (Caller.hasFnAttribute("interrupt"))
 2453   if (Func.hasFnAttribute("interrupt")) {
lib/Target/RISCV/RISCVRegisterInfo.cpp
   45   if (MF->getFunction().hasFnAttribute("interrupt")) {
  155   if (MF.getFunction().hasFnAttribute("interrupt")) {
lib/Target/Sparc/SparcTargetMachine.cpp
  124       F.hasFnAttribute("use-soft-float") &&
lib/Target/SystemZ/SystemZFrameLowering.cpp
  392     bool StoreBackchain = MF.getFunction().hasFnAttribute("backchain");
lib/Target/SystemZ/SystemZISelLowering.cpp
 3209   bool RealignOpt = !MF.getFunction().hasFnAttribute("no-realign-stack");
 3210   bool StoreBackchain = MF.getFunction().hasFnAttribute("backchain");
 3872   bool StoreBackchain = MF.getFunction().hasFnAttribute("backchain");
lib/Target/TargetLoweringObjectFile.cpp
  263     if (F->hasFnAttribute("implicit-section-name"))
lib/Target/TargetMachine.cpp
   62   RESET_OPTION(UnsafeFPMath, "unsafe-fp-math");
   63   RESET_OPTION(NoInfsFPMath, "no-infs-fp-math");
   64   RESET_OPTION(NoNaNsFPMath, "no-nans-fp-math");
   65   RESET_OPTION(NoSignedZerosFPMath, "no-signed-zeros-fp-math");
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   68     if (!F.isDeclaration() || !F.hasFnAttribute("no-prototype"))
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  119           F.hasFnAttribute("wasm-import-module")) {
  126           F.hasFnAttribute("wasm-import-name")) {
lib/Target/X86/X86FastISel.cpp
 3201       (CalledFn && CalledFn->hasFnAttribute("no_caller_saved_registers")))
lib/Target/X86/X86FrameLowering.cpp
  851   if (MF.getFunction().hasFnAttribute("stackrealign")) {
lib/Target/X86/X86ISelDAGToDAG.cpp
  185       IndirectTlsSegRefs = MF.getFunction().hasFnAttribute(
lib/Target/X86/X86ISelLowering.cpp
 2477       MF.getFunction().hasFnAttribute("no_caller_saved_registers");
 3528       F.hasFnAttribute("no_caller_saved_registers")) {
 3625                  (Fn && Fn->hasFnAttribute("no_caller_saved_registers"));
46222   if (MF.getFunction().hasFnAttribute("probe-stack"))
46228       MF.getFunction().hasFnAttribute("no-stack-arg-probe"))
46244   if (Fn.hasFnAttribute("stack-probe-size"))
lib/Target/X86/X86RegisterInfo.cpp
  294   if (MF->getFunction().hasFnAttribute("no_caller_saved_registers"))
lib/Target/X86/X86TargetMachine.cpp
  277   if (F.hasFnAttribute("prefer-vector-width")) {
  289   if (F.hasFnAttribute("min-legal-vector-width")) {
lib/Target/X86/X86WinAllocaExpander.cpp
  285   if (MF.getFunction().hasFnAttribute("stack-probe-size")) {
  291   NoStackArgProbe = MF.getFunction().hasFnAttribute("no-stack-arg-probe");
lib/Transforms/Coroutines/CoroElide.cpp
  299     if (F.hasFnAttribute(CORO_PRESPLIT_ATTR))
lib/Transforms/Coroutines/CoroSplit.cpp
 1547         if (F->hasFnAttribute(CORO_PRESPLIT_ATTR))
lib/Transforms/IPO/LowerTypeTests.cpp
  240   return F->hasFnAttribute("cfi-canonical-jump-table");
lib/Transforms/IPO/SampleProfile.cpp
  908            !F.hasFnAttribute("profile-sample-accurate"))) &&
 1780   if (ProfileSampleAccurate || F.hasFnAttribute("profile-sample-accurate")) {
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4416   if (Callee->hasFnAttribute("thunk"))
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  495   if (F.hasFnAttribute("sanitize_thread_no_checking_at_run_time")) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1407     assert(F && F->hasFnAttribute(DeoptLowering));
lib/Transforms/Utils/Local.cpp
 2521     if (F->hasFnAttribute("gc-leaf-function"))
tools/polly/lib/Analysis/ScopDetection.cpp
 1686   return !F.hasFnAttribute(PollySkipFnAttr);
tools/polly/lib/CodeGen/CodegenCleanup.cpp
  118     if (!F.hasFnAttribute("polly-optimized")) {