Searched refs:function_or_call (Results 1 – 2 of 2) sorted by relevance
165 lp_add_function_attr(LLVMValueRef function_or_call, in lp_add_function_attr() argument171 if (LLVMIsAFunction(function_or_call)) { in lp_add_function_attr()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()183 if (LLVMIsAFunction(function_or_call)) { in lp_add_function_attr()184 module = LLVMGetGlobalParent(function_or_call); in lp_add_function_attr()186 LLVMBasicBlockRef bb = LLVMGetInstructionParent(function_or_call); in lp_add_function_attr()197 if (LLVMIsAFunction(function_or_call)) in lp_add_function_attr()198 LLVMAddAttributeAtIndex(function_or_call, attr_idx, llvm_attr); in lp_add_function_attr()[all …]
82 lp_add_function_attr(LLVMValueRef function_or_call,