ΒΆllvm::Value* emitStrChr(
    llvm::Value* Ptr,
    char C,
    IRBuilder<>& B,
    const llvm::TargetLibraryInfo* TLI)

Description

Emit a call to the strchr function to the builder, for the specified pointer and character. Ptr is required to be some pointer type, and the return value has 'i8*' type.

Declared at: llvm/include/llvm/Transforms/Utils/BuildLibCalls.h:67

Parameters

llvm::Value* Ptr
char C
IRBuilder<>& B
const llvm::TargetLibraryInfo* TLI