[master] Deleted unused functions that throws errors in the latest LLVM