Home
last modified time | relevance | path

Searched refs:llvm_attr (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_llvm_util.c195 LLVMAttribute llvm_attr = ac_attr_to_llvm_attr(attr); in ac_add_function_attr() local
197 LLVMAddFunctionAttr(function, llvm_attr); in ac_add_function_attr()
199 LLVMAddAttribute(LLVMGetParam(function, attr_idx - 1), llvm_attr); in ac_add_function_attr()
205 LLVMAttributeRef llvm_attr = LLVMCreateEnumAttribute(ctx, kind_id, 0); in ac_add_function_attr()
208 LLVMAddAttributeAtIndex(function, attr_idx, llvm_attr); in ac_add_function_attr()
210 LLVMAddCallSiteAttribute(function, attr_idx, llvm_attr); in ac_add_function_attr()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.c170 LLVMAttribute llvm_attr = lp_attr_to_llvm_attr(attr); in lp_add_function_attr() local
173 LLVMAddFunctionAttr(function_or_call, llvm_attr); in lp_add_function_attr()
175 LLVMAddAttribute(LLVMGetParam(function_or_call, attr_idx - 1), llvm_attr); in lp_add_function_attr()
178 LLVMAddInstrAttribute(function_or_call, attr_idx, llvm_attr); in lp_add_function_attr()
195 LLVMAttributeRef llvm_attr = LLVMCreateEnumAttribute(ctx, kind_id, 0); in lp_add_function_attr()
198 LLVMAddAttributeAtIndex(function_or_call, attr_idx, llvm_attr); in lp_add_function_attr()
200 LLVMAddCallSiteAttribute(function_or_call, attr_idx, llvm_attr); in lp_add_function_attr()