Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGVTables.cpp430 llvm::GlobalValue *OldThunkFn = Entry; in emitThunk() local
433 assert(OldThunkFn->isDeclaration() && in emitThunk()
437 OldThunkFn->setName(StringRef()); in emitThunk()
441 if (!OldThunkFn->use_empty()) { in emitThunk()
443 llvm::ConstantExpr::getBitCast(Entry, OldThunkFn->getType()); in emitThunk()
444 OldThunkFn->replaceAllUsesWith(NewPtrForOldDecl); in emitThunk()
448 OldThunkFn->eraseFromParent(); in emitThunk()