Home
last modified time | relevance | path

Searched refs:OldThunkFn (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/CodeGen/
DCGVTables.cpp409 llvm::GlobalValue *OldThunkFn = Entry; in emitThunk() local
412 assert(OldThunkFn->isDeclaration() && in emitThunk()
416 OldThunkFn->setName(StringRef()); in emitThunk()
420 if (!OldThunkFn->use_empty()) { in emitThunk()
422 llvm::ConstantExpr::getBitCast(Entry, OldThunkFn->getType()); in emitThunk()
423 OldThunkFn->replaceAllUsesWith(NewPtrForOldDecl); in emitThunk()
427 OldThunkFn->eraseFromParent(); in emitThunk()