Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 0 additions & 61 deletions .github/workflows/bazel-checks.yml

This file was deleted.

1 change: 1 addition & 0 deletions llvm/include/llvm/Analysis/TargetLibraryInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ class TargetLibraryInfo {
case LibFunc_fmax: case LibFunc_fmaxf: case LibFunc_fmaxl:
case LibFunc_fmin: case LibFunc_fminf: case LibFunc_fminl:
case LibFunc_ldexp: case LibFunc_ldexpf: case LibFunc_ldexpl:
case LibFunc_llrint: case LibFunc_llrintf: case LibFunc_llrintl:
case LibFunc_log2: case LibFunc_log2f: case LibFunc_log2l:
case LibFunc_memcmp: case LibFunc_bcmp: case LibFunc_strcmp:
case LibFunc_memcpy: case LibFunc_memset: case LibFunc_memmove:
Expand Down
21 changes: 15 additions & 6 deletions llvm/include/llvm/Analysis/TargetLibraryInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,15 @@ def ilogbf : TargetLibCall<"ilogbf", Int, [Flt]>;
/// int ilogbl(long double x);
def ilogbl : TargetLibCall<"ilogbl", Int, [LDbl]>;

/// long long llrint(double x);
def llrint : TargetLibCall<"llrint", LLong, [Dbl]>;

/// long long llrintf( float x);
def llrintf : TargetLibCall<"llrintf", LLong, [Flt]>;

/// long long llrintl(long double x);
def llrintl : TargetLibCall<"llrintl", LLong, [LDbl]>;

/// double logb(double x);
def logb : TargetLibCall<"logb", Dbl, [Dbl]>;

Expand Down Expand Up @@ -1236,22 +1245,22 @@ def nearbyintf : TargetLibCall<"nearbyintf", Flt, [Flt]>;
def nearbyintl : TargetLibCall<"nearbyintl", LDbl, [LDbl]>;

/// double nextafter(double x, double y);
def nextafter : TargetLibCall< "nextafter", Dbl, [Dbl, Dbl]>;
def nextafter : TargetLibCall<"nextafter", Dbl, [Dbl, Dbl]>;

/// float nextafterf(float x, float y);
def nextafterf : TargetLibCall< "nextafterf", Flt, [Flt, Flt]>;
def nextafterf : TargetLibCall<"nextafterf", Flt, [Flt, Flt]>;

/// long double nextafterl(long double x, long double y);
def nextafterl : TargetLibCall< "nextafterl", LDbl, [LDbl, LDbl]>;
def nextafterl : TargetLibCall<"nextafterl", LDbl, [LDbl, LDbl]>;

/// double nexttoward(double x, long double y);
def nexttoward : TargetLibCall< "nexttoward", Dbl, [Dbl, LDbl]>;
def nexttoward : TargetLibCall<"nexttoward", Dbl, [Dbl, LDbl]>;

/// float nexttowardf(float x, long double y);
def nexttowardf : TargetLibCall< "nexttowardf", Flt, [Flt, LDbl]>;
def nexttowardf : TargetLibCall<"nexttowardf", Flt, [Flt, LDbl]>;

/// long double nexttowardl(long double x, long double y);
def nexttowardl : TargetLibCall< "nexttowardl", LDbl, [LDbl, LDbl]>;
def nexttowardl : TargetLibCall<"nexttowardl", LDbl, [LDbl, LDbl]>;

/// uint32_t ntohl(uint32_t netlong);
def ntohl : TargetLibCall<"ntohl", Int32, [Int32]>;
Expand Down
Loading