ΒΆllvm::Value* emitUnaryFloatFnCall(
llvm::Value* Op,
llvm::StringRef Name,
IRBuilder<>& B,
const llvm::AttributeList& Attrs)
llvm::Value* emitUnaryFloatFnCall(
llvm::Value* Op,
llvm::StringRef Name,
IRBuilder<>& B,
const llvm::AttributeList& Attrs)
Description
Emit a call to the unary function named 'Name' (e.g. 'floor'). This function is known to take a single of type matching 'Op' and returns one value with the same type. If 'Op' is a long double, 'l' is added as the suffix of name, if 'Op' is a float, we add a 'f' suffix.
Declared at: llvm/include/llvm/Transforms/Utils/BuildLibCalls.h:154
Parameters
- llvm::Value* Op
- llvm::StringRef Name
- IRBuilder<>& B
- const llvm::AttributeList& Attrs