reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/IPO/LowerTypeTests.cpp
 1047   assert(F->getType()->getAddressSpace() == 0);
 1049   GlobalValue::VisibilityTypes Visibility = F->getVisibility();
 1050   std::string Name = F->getName();
 1052   if (F->isDeclarationForLinker() && isJumpTableCanonical) {
 1055     if (F->isDSOLocal()) {
 1056       Function *RealF = Function::Create(F->getFunctionType(),
 1058                                          F->getAddressSpace(),
 1061       replaceDirectCalls(F, RealF);
 1070     FDecl = Function::Create(F->getFunctionType(), GlobalValue::ExternalLinkage,
 1071                              F->getAddressSpace(), Name + ".cfi_jt", &M);
 1074     F->setName(Name + ".cfi");
 1075     F->setLinkage(GlobalValue::ExternalLinkage);
 1076     FDecl = Function::Create(F->getFunctionType(), GlobalValue::ExternalLinkage,
 1077                              F->getAddressSpace(), Name, &M);
 1084     for (auto &U : F->uses()) {
 1087             F->getFunctionType(), GlobalValue::ExternalLinkage,
 1088             F->getAddressSpace(), "", &M);
 1096   if (F->hasExternalWeakLinkage())
 1097     replaceWeakDeclarationWithJumpTablePtr(F, FDecl, isJumpTableCanonical);
 1099     replaceCfiUses(F, FDecl, isJumpTableCanonical);
 1103   F->setVisibility(Visibility);