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

References

gen/lib/IR/AttributesCompatFunc.inc
  160     auto A = Fn.getFnAttribute(Kind);
include/llvm/Analysis/TargetTransformInfoImpl.h
  536     return (Caller->getFnAttribute("target-cpu") ==
  537             Callee->getFnAttribute("target-cpu")) &&
  538            (Caller->getFnAttribute("target-features") ==
  539             Callee->getFnAttribute("target-features"));
  544     return (Caller->getFnAttribute("target-cpu") ==
  545             Callee->getFnAttribute("target-cpu")) &&
  546            (Caller->getFnAttribute("target-features") ==
  547             Callee->getFnAttribute("target-features"));
include/llvm/CodeGen/TargetLowering.h
 1014     if (Fn->getFnAttribute("no-jump-tables").getValueAsString() == "true")
include/llvm/ProfileData/SampleProf.h
  502     auto Attr = F.getFnAttribute(AttrName).getValueAsString();
lib/Analysis/IVDescriptors.cpp
  619       F.getFnAttribute("no-nans-fp-math").getValueAsString() == "true";
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 3182   auto Attr = F.getFnAttribute("function-instrument");
lib/CodeGen/FEntryInserter.cpp
   38       MF.getFunction().getFnAttribute("fentry-call").getValueAsString();
lib/CodeGen/MachineOutliner.cpp
 1123     F->addFnAttr(ParentFn.getFnAttribute("target-features"));
lib/CodeGen/PatchableFunction.cpp
   61   Attribute PatchAttr = MF.getFunction().getFnAttribute("patchable-function");
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
12794   Attribute StrictOverflow = F.getFnAttribute("strict-float-cast-overflow");
20442         Attribute Denorms = F.getFnAttribute("denormal-fp-math");
lib/CodeGen/StackProtector.cpp
   89   Attribute Attr = Fn.getFnAttribute("stack-protector-buffer-size");
lib/CodeGen/TargetLoweringBase.cpp
 1825   return F.getFnAttribute("reciprocal-estimates").getValueAsString();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  579     SectionName = F->getFnAttribute("implicit-section-name").getValueAsString();
lib/CodeGen/TargetOptionsImpl.cpp
   35     if (F.getFnAttribute("no-frame-pointer-elim").getValueAsString() == "true")
   45   StringRef FP = F.getFnAttribute("frame-pointer").getValueAsString();
lib/CodeGen/XRayInstrumentation.cpp
  146   auto InstrAttr = F.getFnAttribute("function-instrument");
  150   Attribute Attr = F.getFnAttribute("xray-instruction-threshold");
lib/IR/Attributes.cpp
 1781     Caller.addFnAttr(Callee.getFnAttribute("probe-stack"));
 1792     Callee.getFnAttribute("stack-probe-size")
 1797       Caller.getFnAttribute("stack-probe-size")
 1801         Caller.addFnAttr(Callee.getFnAttribute("stack-probe-size"));
 1804       Caller.addFnAttr(Callee.getFnAttribute("stack-probe-size"));
 1823       Caller.getFnAttribute("min-legal-vector-width")
 1827       Callee.getFnAttribute("min-legal-vector-width")
 1831         Caller.addFnAttr(Callee.getFnAttribute("min-legal-vector-width"));
 1845     Caller.addFnAttr(Callee.getFnAttribute("null-pointer-is-valid"));
lib/IR/Function.cpp
 1599   return getFnAttribute("null-pointer-is-valid")
lib/Target/AArch64/AArch64FrameLowering.cpp
  328   StringRef Scope = F.getFnAttribute("sign-return-address").getValueAsString();
  436     F.getFnAttribute("stack-probe-size")
  822       F.getFnAttribute("sign-return-address-key").getValueAsString();
lib/Target/AArch64/AArch64TargetMachine.cpp
  307   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  308   Attribute FSAttr = F.getFnAttribute("target-features");
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  244     if (Caller.getFnAttribute("uniform-work-group-size")
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  611   Attribute Attr = F.getFnAttribute("unsafe-fp-math");
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  297         Func.getFnAttribute("runtime-handle").getValueAsString().str();
  707         Func.getFnAttribute("runtime-handle").getValueAsString().str(),
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  496   Attribute Attr = F->getFnAttribute("unsafe-fp-math");
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
   79     F->getFnAttribute("uniform-work-group-size").getValueAsString() == "true";
lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
   31   Attribute MemBoundAttr = F.getFnAttribute("amdgpu-memory-bound");
   35   Attribute WaveLimitAttr = F.getFnAttribute("amdgpu-wave-limiter");
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  372   Attribute GPUAttr = F.getFnAttribute("target-cpu");
  378   Attribute FSAttr = F.getFnAttribute("target-features");
lib/Target/AMDGPU/SIISelLowering.cpp
 2663   auto Attr = ParentFn->getFnAttribute("disable-tail-calls");
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  166   Attribute A = F.getFnAttribute("amdgpu-git-ptr-high");
  171   A = F.getFnAttribute("amdgpu-32bit-address-high-bits");
  176   S = F.getFnAttribute("amdgpu-gds-size").getValueAsString();
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  562   Attribute A = F.getFnAttribute(Name);
  580   Attribute A = F.getFnAttribute(Name);
 1307   StringRef IEEEAttr = F.getFnAttribute("amdgpu-ieee").getValueAsString();
 1312     = F.getFnAttribute("amdgpu-dx10-clamp").getValueAsString();
lib/Target/ARM/ARMAsmPrinter.cpp
  584     return F.getFnAttribute(Attr).getValueAsString() != Value;
lib/Target/ARM/ARMBaseRegisterInfo.cpp
   85     } else if (F.getFnAttribute("interrupt").getValueAsString() == "FIQ") {
lib/Target/ARM/ARMFrameLowering.cpp
  220     F.getFnAttribute("stack-probe-size")
lib/Target/ARM/ARMISelLowering.cpp
 2068   auto Attr = MF.getFunction().getFnAttribute("disable-tail-calls");
 2691   StringRef IntKind = F.getFnAttribute("interrupt").getValueAsString();
 2948       CI->getParent()->getParent()->getFnAttribute("disable-tail-calls");
lib/Target/ARM/ARMTargetMachine.cpp
  253   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  254   Attribute FSAttr = F.getFnAttribute("target-features");
  269       F.getFnAttribute("use-soft-float").getValueAsString() == "true";
lib/Target/Hexagon/HexagonISelLowering.cpp
  236       CI->getParent()->getParent()->getFnAttribute("disable-tail-calls");
  348   auto Attr = MF.getFunction().getFnAttribute("disable-tail-calls");
lib/Target/MSP430/MSP430AsmPrinter.cpp
  165   StringRef IVIdx = F->getFnAttribute("interrupt").getValueAsString();
lib/Target/Mips/MipsSEFrameLowering.cpp
  590       MF.getFunction().getFnAttribute("interrupt").getValueAsString();
lib/Target/Mips/MipsTargetMachine.cpp
  159   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  160   Attribute FSAttr = F.getFnAttribute("target-features");
  169       !F.getFnAttribute("mips16").hasAttribute(Attribute::None);
  171       !F.getFnAttribute("nomips16").hasAttribute(Attribute::None);
  174       !F.getFnAttribute("micromips").hasAttribute(Attribute::None);
  176       !F.getFnAttribute("nomicromips").hasAttribute(Attribute::None);
  183       F.getFnAttribute("use-soft-float").getValueAsString() == "true";
lib/Target/NVPTX/NVPTXISelLowering.cpp
  127       return F.getFnAttribute("nvptx-f32ftz").getValueAsString() == "true";
 4329     Attribute Attr = F.getFnAttribute("unsafe-fp-math");
lib/Target/PowerPC/PPCISelLowering.cpp
15416   auto Attr = Caller->getFnAttribute("disable-tail-calls");
lib/Target/PowerPC/PPCTargetMachine.cpp
  313   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  314   Attribute FSAttr = F.getFnAttribute("target-features");
  329       F.getFnAttribute("use-soft-float").getValueAsString() == "true";
lib/Target/RISCV/RISCVISelLowering.cpp
 1887       MF.getFunction().getFnAttribute("interrupt").getValueAsString();
 2022   if (Caller.getFnAttribute("disable-tail-calls").getValueAsString() == "true")
 2460       MF.getFunction().getFnAttribute("interrupt").getValueAsString();
lib/Target/Sparc/SparcTargetMachine.cpp
  110   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  111   Attribute FSAttr = F.getFnAttribute("target-features");
  125       F.getFnAttribute("use-soft-float").getValueAsString() == "true";
lib/Target/SystemZ/SystemZAsmPrinter.cpp
  556   if (MF->getFunction().getFnAttribute("mnop-mcount")
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  350     if (F.getFnAttribute("mnop-mcount").getValueAsString() == "true" &&
  351         F.getFnAttribute("fentry-call").getValueAsString() != "true")
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/WebAssemblyAsmPrinter.cpp
  121             F.getFnAttribute("wasm-import-module").getValueAsString();
  128             F.getFnAttribute("wasm-import-name").getValueAsString();
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  150   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  151   Attribute FSAttr = F.getFnAttribute("target-features");
lib/Target/X86/X86ISelLowering.cpp
 2997       CI->getParent()->getParent()->getFnAttribute("disable-tail-calls");
 3621   auto Attr = MF.getFunction().getFnAttribute("disable-tail-calls");
46223     return MF.getFunction().getFnAttribute("probe-stack").getValueAsString();
46245     Fn.getFnAttribute("stack-probe-size")
lib/Target/X86/X86TargetMachine.cpp
  244   Attribute CPUAttr = F.getFnAttribute("target-cpu");
  245   Attribute FSAttr = F.getFnAttribute("target-features");
  265       F.getFnAttribute("use-soft-float").getValueAsString() == "true";
  278     StringRef Val = F.getFnAttribute("prefer-vector-width").getValueAsString();
  291         F.getFnAttribute("min-legal-vector-width").getValueAsString();
lib/Target/X86/X86WinAllocaExpander.cpp
  287         .getFnAttribute("stack-probe-size")
lib/Transforms/Coroutines/CoroSplit.cpp
 1562       Attribute Attr = F->getFnAttribute(CORO_PRESPLIT_ATTR);
lib/Transforms/IPO/LowerTypeTests.cpp
 1312   Attribute TFAttr = F->getFnAttribute("target-features");
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1097       Attribute FSAttr = CS.getCaller()->getFnAttribute("target-features");
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1707         II->getFunction()->getFnAttribute("nvptx-f32ftz").getValueAsString() ==
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  940   if (F->getFnAttribute("hwasan-abi").getValueAsString() == "interceptor") {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1408     return F->getFnAttribute(DeoptLowering).getValueAsString();
lib/Transforms/Scalar/TailRecursionElimination.cpp
  752   if (F.getFnAttribute("disable-tail-calls").getValueAsString() == "true")
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   72   StringRef EntryFunc = F.getFnAttribute(EntryAttr).getValueAsString();
   73   StringRef ExitFunc = F.getFnAttribute(ExitAttr).getValueAsString();
lib/Transforms/Utils/SimplifyCFG.cpp
 5300       (Fn->getFnAttribute("no-jump-tables").getValueAsString() == "true"))
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  575       F.getFnAttribute("no-nans-fp-math").getValueAsString() == "true";