Searched refs:ParamAttr (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Attributes.td | 20 def ParamAttr : AttrProperty; 57 def Alignment : IntAttr<"align", [ParamAttr, RetAttr]>; 61 def AllocAlign: EnumAttr<"allocalign", [ParamAttr]>; 67 def AllocatedPointer : EnumAttr<"allocptr", [ParamAttr]>; 81 def ByVal : TypeAttr<"byval", [ParamAttr]>; 84 def ByRef : TypeAttr<"byref", [ParamAttr]>; 87 def NoUndef : EnumAttr<"noundef", [ParamAttr, RetAttr]>; 99 def Dereferenceable : IntAttr<"dereferenceable", [ParamAttr, RetAttr]>; 103 [ParamAttr, RetAttr]>; 109 def ElementType : TypeAttr<"elementtype", [ParamAttr]>; [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 10601 for (const auto &ParamAttr : ParamAttrs) { in mangleVectorParameters() local 10602 switch (ParamAttr.Kind) { in mangleVectorParameters() 10622 if (ParamAttr.HasVarStride) in mangleVectorParameters() 10623 Out << "s" << ParamAttr.StrideOrArg; in mangleVectorParameters() 10624 else if (ParamAttr.Kind == Linear || ParamAttr.Kind == LinearRef || in mangleVectorParameters() 10625 ParamAttr.Kind == LinearUVal || ParamAttr.Kind == LinearVal) { in mangleVectorParameters() 10628 if (ParamAttr.StrideOrArg < 0) in mangleVectorParameters() 10629 Out << 'n' << -ParamAttr.StrideOrArg; in mangleVectorParameters() 10630 else if (ParamAttr.StrideOrArg != 1) in mangleVectorParameters() 10631 Out << ParamAttr.StrideOrArg; in mangleVectorParameters() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 727 ParamAttr = (1 << 1), enumerator 746 return hasAttributeProperty(Kind, AttributeProperty::ParamAttr); in canUseAsParamAttr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 829 if (const auto *ParamAttr = dyn_cast<HLSLParamModifierAttr>(TmplAttr)) { in InstantiateAttrs() local 830 instantiateDependentHLSLParamModifierAttr(*this, TemplateArgs, ParamAttr, in InstantiateAttrs()
|