Lines Matching defs:arg
1475 mantissa, ctx->i1true, /* result can be undef when arg is 0 */
1845 LLVMValueRef ac_build_imsb(struct ac_llvm_context *ctx, LLVMValueRef arg, LLVMTypeRef dst_type)
1848 ac_build_intrinsic(ctx, "llvm.amdgcn.sffbh.i32", dst_type, &arg, 1, AC_FUNC_ATTR_READNONE);
1856 LLVMBuildOr(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, ctx->i32_0, ""),
1857 LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, all_ones, ""), "");
1862 LLVMValueRef ac_build_umsb(struct ac_llvm_context *ctx, LLVMValueRef arg, LLVMTypeRef dst_type)
1870 bitsize = ac_get_elem_bits(ctx, LLVMTypeOf(arg));
1902 arg,
1919 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, zero, ""),
4519 unreachable("unknown arg type");