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; 82 def Alignment : IntAttr<"align", IntersectCustom, [ParamAttr, RetAttr]>; 86 def AllocAlign: EnumAttr<"allocalign", IntersectAnd, [ParamAttr]>; 92 def AllocatedPointer : EnumAttr<"allocptr", IntersectAnd, [ParamAttr]>; 106 def ByVal : TypeAttr<"byval", IntersectPreserve, [ParamAttr]>; 109 def ByRef : TypeAttr<"byref", IntersectPreserve, [ParamAttr]>; 112 def NoUndef : EnumAttr<"noundef", IntersectAnd, [ParamAttr, RetAttr]>; 125 def Dereferenceable : IntAttr<"dereferenceable", IntersectMin, [ParamAttr, RetAttr]>; 129 [ParamAttr, RetAttr]>; 135 def ElementType : TypeAttr<"elementtype", IntersectPreserve, [ParamAttr]>; [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 10669 for (const auto &ParamAttr : ParamAttrs) { in mangleVectorParameters() local 10670 switch (ParamAttr.Kind) { in mangleVectorParameters() 10690 if (ParamAttr.HasVarStride) in mangleVectorParameters() 10691 Out << "s" << ParamAttr.StrideOrArg; in mangleVectorParameters() 10692 else if (ParamAttr.Kind == Linear || ParamAttr.Kind == LinearRef || in mangleVectorParameters() 10693 ParamAttr.Kind == LinearUVal || ParamAttr.Kind == LinearVal) { in mangleVectorParameters() 10696 if (ParamAttr.StrideOrArg < 0) in mangleVectorParameters() 10697 Out << 'n' << -ParamAttr.StrideOrArg; in mangleVectorParameters() 10698 else if (ParamAttr.StrideOrArg != 1) in mangleVectorParameters() 10699 Out << ParamAttr.StrideOrArg; in mangleVectorParameters() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 762 ParamAttr = (1 << 1), enumerator 790 return hasAttributeProperty(Kind, AttributeProperty::ParamAttr); in canUseAsParamAttr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 885 if (const auto *ParamAttr = dyn_cast<HLSLParamModifierAttr>(TmplAttr)) { in InstantiateAttrs() local 886 instantiateDependentHLSLParamModifierAttr(*this, TemplateArgs, ParamAttr, in InstantiateAttrs()
|