|
bool | llvm::inferLibFuncAttributes (Function &F, const TargetLibraryInfo &TLI) |
| Analyze the name and prototype of the given function and set any applicable attributes. More...
|
|
bool | llvm::inferLibFuncAttributes (Module *M, StringRef Name, const TargetLibraryInfo &TLI) |
|
bool | llvm::hasUnaryFloatFn (const TargetLibraryInfo *TLI, Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) |
| Check whether the overloaded unary floating point function corresponding to Ty is available. More...
|
|
StringRef | llvm::getUnaryFloatFn (const TargetLibraryInfo *TLI, Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) |
| Get the name of the overloaded unary floating point function corresponding to Ty. More...
|
|
Value * | llvm::castToCStr (Value *V, IRBuilder<> &B) |
| Return V if it is an i8*, otherwise cast it to i8*. More...
|
|
Value * | llvm::emitStrLen (Value *Ptr, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the strlen function to the builder, for the specified pointer. More...
|
|
Value * | llvm::emitStrNLen (Value *Ptr, Value *MaxLen, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the strnlen function to the builder, for the specified pointer. More...
|
|
Value * | llvm::emitStrChr (Value *Ptr, char C, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the strchr function to the builder, for the specified pointer and character. More...
|
|
Value * | llvm::emitStrNCmp (Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the strncmp function to the builder. More...
|
|
Value * | llvm::emitStrCpy (Value *Dst, Value *Src, IRBuilder<> &B, const TargetLibraryInfo *TLI, StringRef Name="strcpy") |
| Emit a call to the strcpy function to the builder, for the specified pointer arguments. More...
|
|
Value * | llvm::emitStrNCpy (Value *Dst, Value *Src, Value *Len, IRBuilder<> &B, const TargetLibraryInfo *TLI, StringRef Name="strncpy") |
| Emit a call to the strncpy function to the builder, for the specified pointer arguments and length. More...
|
|
Value * | llvm::emitMemCpyChk (Value *Dst, Value *Src, Value *Len, Value *ObjSize, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the __memcpy_chk function to the builder. More...
|
|
Value * | llvm::emitMemChr (Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the memchr function. More...
|
|
Value * | llvm::emitMemCmp (Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the memcmp function. More...
|
|
Value * | llvm::emitUnaryFloatFnCall (Value *Op, StringRef Name, IRBuilder<> &B, const AttributeList &Attrs) |
| Emit a call to the unary function named 'Name' (e.g. More...
|
|
Value * | llvm::emitUnaryFloatFnCall (Value *Op, const TargetLibraryInfo *TLI, LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn, IRBuilder<> &B, const AttributeList &Attrs) |
| Emit a call to the unary function DoubleFn, FloatFn or LongDoubleFn, depending of the type of Op. More...
|
|
Value * | llvm::emitBinaryFloatFnCall (Value *Op1, Value *Op2, StringRef Name, IRBuilder<> &B, const AttributeList &Attrs) |
| Emit a call to the binary function named 'Name' (e.g. More...
|
|
Value * | llvm::emitPutChar (Value *Char, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the putchar function. This assumes that Char is an integer. More...
|
|
Value * | llvm::emitPutS (Value *Str, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the puts function. This assumes that Str is some pointer. More...
|
|
Value * | llvm::emitFPutC (Value *Char, Value *File, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the fputc function. More...
|
|
Value * | llvm::emitFPutCUnlocked (Value *Char, Value *File, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the fputc_unlocked function. More...
|
|
Value * | llvm::emitFPutS (Value *Str, Value *File, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the fputs function. More...
|
|
Value * | llvm::emitFPutSUnlocked (Value *Str, Value *File, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the fputs_unlocked function. More...
|
|
Value * | llvm::emitFWrite (Value *Ptr, Value *Size, Value *File, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the fwrite function. More...
|
|
Value * | llvm::emitMalloc (Value *Num, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the malloc function. More...
|
|
Value * | llvm::emitCalloc (Value *Num, Value *Size, const AttributeList &Attrs, IRBuilder<> &B, const TargetLibraryInfo &TLI) |
| Emit a call to the calloc function. More...
|
|
Value * | llvm::emitFWriteUnlocked (Value *Ptr, Value *Size, Value *N, Value *File, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the fwrite_unlocked function. More...
|
|
Value * | llvm::emitFGetCUnlocked (Value *File, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the fgetc_unlocked function. File is a pointer to FILE. More...
|
|
Value * | llvm::emitFGetSUnlocked (Value *Str, Value *Size, Value *File, IRBuilder<> &B, const TargetLibraryInfo *TLI) |
| Emit a call to the fgets_unlocked function. More...
|
|
Value * | llvm::emitFReadUnlocked (Value *Ptr, Value *Size, Value *N, Value *File, IRBuilder<> &B, const DataLayout &DL, const TargetLibraryInfo *TLI) |
| Emit a call to the fread_unlocked function. More...
|
|